:root {
    --p-lila: #7F00FF;
    --p-bg: #050505;
    --p-card: rgba(8, 8, 8, 0.85);
    --p-green: #00ff88;
    --gradient-colors: linear-gradient(90deg, #7F00FF, #E100FF, #7F00FF);
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--p-lila) var(--p-bg);
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--p-bg); border-left: 1px solid #1a1a1a; }
::-webkit-scrollbar-thumb { background: var(--p-lila); border: 3px solid var(--p-bg); border-radius: 0px; }
::-webkit-scrollbar-thumb:hover { background: #9d33ff; box-shadow: 0 0 10px var(--p-lila); }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    user-select: none;

-webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.cyber-nexus-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #020005;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.nexus-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: orb-float 20s infinite ease-in-out alternate;
}

.orb-1 { width: 70vw; height: 70vw; background: #7F00FF; top: -20vh; left: -10vw; opacity: 0.2; }
.orb-2 { width: 60vw; height: 60vw; background: #E100FF; bottom: -20vh; right: -10vw; opacity: 0.15; animation-delay: -5s; }

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, -10vh) scale(1.1); }
}

.data-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(90deg, rgba(127, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 100%;
    z-index: 1;
}

.hologram-container {
    position: absolute;
    top: 50%; left: 50%;
    width: 200vw; height: 200vw;
    transform: translate(-50%, -10%) perspective(1000px) rotateX(75deg);
    z-index: 2;
    transform-style: preserve-3d;
}

.holo-radar {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(225, 0, 255, 0) 70%, rgba(127, 0, 255, 0.5) 95%, rgba(225, 0, 255, 0.8) 100%);
    animation: spin-radar 8s linear infinite;
    box-shadow: inset 0 0 100px rgba(127, 0, 255, 0.2);
}

.holo-ring {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.ring-outer { width: 90%; height: 90%; border: 3px dashed rgba(127, 0, 255, 0.3); animation: spin-reverse 40s linear infinite; }
.ring-middle { width: 60%; height: 60%; border: 5px dotted rgba(225, 0, 255, 0.4); animation: spin-normal 25s linear infinite; }
.ring-inner { width: 30%; height: 30%; border: 2px solid rgba(127, 0, 255, 0.8); box-shadow: 0 0 40px rgba(127, 0, 255, 0.6); animation: spin-reverse 15s linear infinite; }

@keyframes spin-radar { 100% { transform: rotate(360deg); } }
@keyframes spin-normal { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

.nexus-vignette { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 30%, #000000 100%); z-index: 3; }
.scanlines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%); background-size: 100% 4px; pointer-events: none; z-index: 2000; }

.pixel-nav {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
    position: relative;
    backdrop-filter: blur(5px);
}

.pixel-nav::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-colors);
    background-size: 200% 100%;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.6);
    animation: nav-border-flow 3s linear infinite;
}

.nav-container {
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 18px;
    padding: 8px 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.nav-logo-icon {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--p-lila));
    image-rendering: pixelated;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-text {
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px var(--p-lila);
}

.logo-sep {
    display: inline-block;
    width: 18px; height: 18px;
    background: var(--gradient-colors);
    background-size: 200% 100%;
    clip-path: polygon(35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0% 65%, 0% 35%, 35% 35%);
    animation: pulse 2s infinite ease-in-out, nav-border-flow 3s linear infinite;
}

.nav-logo:hover .nav-logo-icon { transform: scale(1.1) rotate(-5deg); }
.nav-logo:hover .logo-text { color: var(--p-lila); text-shadow: 3px 3px 0px #fff; }

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.nav-links a, .user-pill, .p-btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid #222;
    color: #666;
    font-size: 10px;
    height: 45px;
    padding: 0 20px;
    transition: 0.2s;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
}

.nav-links a.active { color: #fff; border-color: var(--p-lila); background: #151515; box-shadow: inset 0 0 10px rgba(127, 0, 255, 0.4); }
.nav-links a:hover, #login-btn:hover { border-color: var(--p-lila); color: #fff; background: #1a1a1a; box-shadow: 0 0 15px rgba(127, 0, 255, 0.3); cursor: pointer; }

#login-btn { color: #666; border-color: #222; }

.nav-auth {
    display: flex;
    align-items: center;
    z-index: 2;
}
.user-pill { gap: 12px; background: #111; border-color: var(--p-lila); color: #fff; }
#nav-avatar { width: 24px; height: 24px; border: 1px solid #fff; }

.content-wrapper {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    height: auto;
}

.pixel-card {
    background: var(--p-card);
    border: 4px solid #fff;
    padding: 30px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
    width: 100%;
    backdrop-filter: blur(8px);
}

.neon-purple { border-color: var(--p-lila); box-shadow: 0 0 20px rgba(127,0,255,0.4), 10px 10px 0px rgba(0, 0, 0, 0.8); }

h1 { font-size: 34px; color: var(--p-lila); margin: 0; text-align: center; }
h2 { font-size: 20px; margin: 0 0 10px 0; color: var(--p-lila); }
.p-green { color: var(--p-green); }
.p-lila { color: var(--p-lila); }
.tagline { font-size: 9px; color: #555; text-align: center; margin: 15px 0; letter-spacing: 1px; }

.pixel-divider {
    height: 4px; width: 400px; max-width: 95%; margin: 25px auto;
    background: var(--gradient-colors);
    background-size: 200% 100%;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.6);
    animation: divider-flow 3s ease-in-out infinite;
}

@keyframes divider-flow {
    0% { background-position: 0% 50%; transform: scaleX(1); }
    50% { background-position: 100% 50%; transform: scaleX(1.02); }
    100% { background-position: 0% 50%; transform: scaleX(1); }
}

.hero-text { font-size: 9px; color: #aaa; text-align: center; line-height: 2; }

.giveaway-card {
    text-align: center; border-color: var(--p-green);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('image/giveaway_banner_20psc.png') center/cover;
}

.giveaway-prize { color: var(--p-green); font-size: 16px; margin: 15px 0; }
.progress-bar-container { background: rgba(5, 5, 5, 0.9); border: 2px solid #004422; height: 28px; width: 85%; margin: 15px auto; overflow: hidden; }
.progress-bar-fill { background: linear-gradient(90deg, #008844 0%, #00ff88 100%); width: 0%; height: 100%; animation: green-shimmer 3s infinite linear; background-size: 200% 100%; transition: width 2s cubic-bezier(0.4, 0, 0.2, 1); }

.giveaway-member-count {
    margin-bottom: 14px;
}

.giveaway-join-section {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(0, 255, 136, 0.18);
    align-self: stretch;
}

.giveaway-join-title {
    margin-bottom: 14px;
    font-size: 8px;
    letter-spacing: 2px;
    color: #89ffc7;
}

.giveaway-join-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.giveaway-join-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 68px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.56);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.giveaway-join-item:hover {
    transform: translateX(4px);
    border-color: rgba(0, 255, 136, 0.48);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.12);
}

.giveaway-join-avatar {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #000;
    flex-shrink: 0;
}

.giveaway-join-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.giveaway-join-name {
    font-size: 10px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.55;
}

.giveaway-join-date {
    font-size: 7px;
    letter-spacing: 1.2px;
    color: #9ab0c2;
}

.giveaway-join-empty {
    padding: 16px 18px;
    font-size: 8px;
    color: #7f8ca3;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
}

@keyframes green-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.role-list { list-style: none; padding: 0; margin-top: 15px; }
.role-list li { font-size: 8px; margin-bottom: 18px; border-left: 3px solid var(--p-green); padding-left: 12px; }
.role-list .r-tag { color: var(--p-green); display: block; margin-bottom: 4px; border: none; background: none; padding: 0; }
.feat-list { list-style: square; padding-left: 20px; }
.feat-list li { font-size: 8px; margin-bottom: 15px; color: #ccc; }

#logout-modal > div {
    max-width: 400px;
    width: 90%;
    height: auto;
    min-height: unset;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #ff0055;
    background: #050505;
}

#logout-modal h1 {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.4;
}

#logout-modal p {
    font-size: 10px;
    margin-bottom: 25px;
    color: #bbb;
}

#logout-modal button {
    padding: 12px 25px;
    font-size: 10px;
    cursor: pointer;
    background: #ff0055;
    color: white;
    border: none;
    font-family: 'Press Start 2P', cursive;
}

.booster-section {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 30px;
}

.booster-title {
    font-size: 22px;
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 2px 2px 0px #000;
    letter-spacing: 2px;
}

.marquee-mask-container {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.booster-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
}

.booster-card {
    position: relative;
    width: 120px;
    height: 155px;
    background: #080808;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.booster-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        var(--p-lila) 10%,
        #ff00ff 20%,
        transparent 40%
    );
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

.booster-card::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #0a0a0a;
    background-image: radial-gradient(rgba(127, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 4px 4px;
    z-index: -1;
}

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.booster-avatar {
    width: 65px;
    height: 65px;
    border: 2px solid #fff;
    margin-bottom: 10px;
    image-rendering: pixelated;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.booster-name {
    font-size: 7px;
    color: #fff;
    text-transform: uppercase;
    word-break: break-all;
    z-index: 2;
    letter-spacing: 1px;
}

.booster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.4);
}

.booster-card:hover::before {
    animation-duration: 2s;
}

.booster-card:hover .booster-avatar {
    border-color: var(--p-lila);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(127, 0, 255, 0.5);
}

.booster-card:hover .booster-name {
    color: var(--p-lila);
    text-shadow: 0 0 5px var(--p-lila);
}

#profile-card {

    width: 900px;

max-width: 95%;

margin: 40px auto;

padding: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(127, 0, 255, 0.4);
    border-radius: 8px;
    position: relative;
    overflow: visible !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.avatar-container, .profile-main-info {
    position: relative;
    z-index: 2;
}
#dash-avatar { width: 100%; height: 100%; border: 3px solid #fff; box-shadow: 0 0 15px var(--p-lila); }

.rank-display { font-size: 10px; color: var(--p-green); margin-top: 10px; letter-spacing: 1px; }

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.identity-item {
    border-left: 3px solid var(--p-green);
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 5px;

    height: 52px;
    overflow: hidden;
    position: relative;
}

.identity-label { font-size: 8px; color: #666; line-height: 1; }

.identity-data {
    font-size: 11px;
    color: #fff;
    font-family: 'Press Start 2P';
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.roles-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;

    width: 100%;
    margin-top: 20px;
}
.role-item { position: relative; cursor: help; }

.role-item .r-tag {
    display: inline-block;
    padding: 10px 16px;

border: 2px solid var(--role-color, var(--p-lila));
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 10px;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-align: center;
    min-width: 130px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.role-item:hover .r-tag {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    filter: brightness(1.3);

box-shadow: 0 5px 15px var(--role-color, var(--p-lila));
}

.role-item[data-role-id="123456789012345678"] .r-tag {
    animation: role-pulse 2s infinite alternate;
}

@keyframes role-pulse {
    from { box-shadow: 0 0 5px var(--role-color); }
    to { box-shadow: 0 0 20px var(--role-color); }
}

.role-tooltip {
    visibility: hidden; opacity: 0; width: 280px; position: absolute; bottom: 150%; left: 50%;
    transform: translateX(-50%) translateY(10px); background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--p-lila); padding: 20px; z-index: 10000; backdrop-filter: blur(10px);
    transition: 0.3s; box-shadow: 0 10px 30px #000;
}
.role-item:hover .role-tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.tooltip-header { font-size: 9px; border-bottom: 2px solid rgba(127, 0, 255, 0.3); margin-bottom: 12px; padding-bottom: 8px; text-align: center; }
.tooltip-row { display: flex; justify-content: space-between; margin: 8px 0; font-size: 8px; }

.tooltip-footer {
    margin-top: 15px;
    font-size: 6px;
    color: #444;
    text-align: center;
    letter-spacing: 1px;
}

.home-tab-shell {
    position: relative;
    width: 100%;
}

.home-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 6px 0 28px;
}

.home-showcase::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 10px;
    height: 240px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.2) 0%, rgba(0, 204, 255, 0.14) 36%, rgba(255, 0, 255, 0.08) 68%, transparent 100%);
    filter: blur(44px);
    pointer-events: none;
    opacity: 0.92;
}

.home-showcase > * {
    position: relative;
    z-index: 1;
}

.home-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.home-highlight-card {
    width: 100%;
    padding: 24px 26px 26px;
}

.home-highlight-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
    gap: 24px;
    align-items: stretch;
}

.home-highlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.home-highlight-copy .giveaway-prize {
    margin-top: 18px;
    margin-bottom: 18px;
}

.home-panel,
.home-section-shell {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    background: rgba(8, 10, 18, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}

.home-panel::before,
.home-section-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.home-main-card {
    border-color: rgba(127, 0, 255, 0.85);
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.14) 0%, rgba(0, 204, 255, 0.07) 42%, rgba(0, 0, 0, 0.92) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(127, 0, 255, 0.18);
}

.home-side-card {
    border-color: rgba(0, 255, 136, 0.72);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 255, 136, 0.14);
}

.home-panel.giveaway-card {
    background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.82)), url('image/giveaway_banner_20psc.png') center/cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-panel.giveaway-card > * {
    position: relative;
    z-index: 1;
}

.home-role-card {
    border-color: rgba(0, 204, 255, 0.72);
}

.home-feature-card {
    border-color: rgba(255, 92, 171, 0.72);
}

.home-kicker,
.home-side-kicker,
.home-hall-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: fit-content;
    padding: 8px 14px;
    margin: 0 auto 18px;
    font-size: 8px;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #dce6f7;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    text-align: center;
}

.home-kicker {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.45);
    background: rgba(0, 243, 255, 0.08);
}

.home-side-kicker {
    color: #89ffc7;
    border-color: rgba(0, 255, 136, 0.45);
    background: rgba(0, 255, 136, 0.08);
}

.home-hall-kicker {
    color: #ffd86b;
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}

.home-main-card h1 {
    text-shadow: 0 0 15px rgba(127, 0, 255, 0.35), 0 0 24px rgba(0, 204, 255, 0.15);
}

.home-main-card .tagline {
    color: #9aa6bb;
}

.home-main-card .hero-text {
    max-width: 760px;
    margin: 0 auto;
    color: #c0cad7;
}

.home-status-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 6px;
    position: relative;
    z-index: 1;
}

.home-status-chip {
    padding: 8px 12px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #dfe9ff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

.home-main-card .p-btn-cta {
    margin-top: 26px;
}

.home-section-shell {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(8, 8, 12, 0.96) 100%);
}

.home-section-shell .quest-section-header {
    margin-bottom: 18px;
}

.home-info-grid {
    margin-bottom: 0;
}

.home-hall-shell {
    padding: 20px 18px 26px;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96) 0%, rgba(4, 4, 8, 0.98) 100%);
}

.home-showcase > .home-section-shell:last-child,
.quests-showcase > .quests-section-shell:last-child,
.inventory-showcase > .inventory-section-shell:last-child,
.dashboard-showcase > .dashboard-profile-shell:last-child,
.leaderboard-showcase > .leaderboard-section-shell:last-child,
.stats-showcase > .stats-section-shell:last-child,
.giveaways-showcase > .giveaways-section-shell:last-child {
    padding-bottom: 34px;
}

.home-hall-shell::after,
.quests-showcase > .quests-section-shell:last-child::after,
.inventory-showcase > .inventory-section-shell:last-child::after,
.dashboard-showcase > .dashboard-profile-shell:last-child::after,
.leaderboard-showcase > .leaderboard-section-shell:last-child::after,
.stats-showcase > .stats-section-shell:last-child::after,
.giveaways-showcase > .giveaways-section-shell:last-child::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 6px;
    background: linear-gradient(90deg, #5f3200 0%, #c7791d 50%, #5f3200 100%);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.38);
}

.home-booster-panel {
    margin: 0;
    padding-bottom: 0;
}

.home-hall-note {
    margin: 12px auto 0;
    max-width: 720px;
    font-size: 8px;
    line-height: 1.9;
    color: #b4bfcd;
    letter-spacing: 1px;
}

.home-hall-shell .marquee-mask-container {
    padding-bottom: 16px;
}

@media (max-width: 1080px) {
    .home-hero-panel,
    .home-highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-showcase {
        gap: 18px;
    }

    .home-panel,
    .home-section-shell {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .home-section-shell,
    .home-hall-shell {
        padding: 16px 14px 22px;
    }

    .home-status-chip {
        width: calc(50% - 10px);
        text-align: center;
    }

    .home-highlight-card {
        padding: 18px 16px 20px;
    }

    .giveaway-join-item {
        min-height: 60px;
        padding: 12px 13px;
        gap: 12px;
    }

    .giveaway-join-avatar {
        width: 40px;
        height: 40px;
    }

    .giveaway-join-name {
        font-size: 9px;
    }

    .home-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .home-status-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .home-status-chip {
        width: 100%;
    }
}

.pixel-footer { width: 100%; padding: 30px 20px; margin-top: auto; text-align: center; font-size: 8px; color: #666; }
.p-btn-cta { display: block; margin: 30px auto; font-size: 10px; background: var(--p-lila); color: #fff; border: none; padding: 12px 24px; cursor: pointer; box-shadow: -4px 0 0 #000, 4px 0 0 #000, 0 -4px 0 #000, 0 4px 0 #000; }
.p-btn-cta:hover { background: #fff; color: #000; }

.blink { animation: blink-animation 1.5s steps(2, start) infinite; }
@keyframes blink-animation { 50% { opacity: 0.7; } }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.neon-flicker { animation: neon-flicker 3s infinite alternate; }
@keyframes neon-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { text-shadow: 0 0 18px #ff00ff; color: #ffb3ff; } 20%, 24%, 55% { text-shadow: none; color: #440044; } }

@media (max-width: 768px) {
    .nav-links { display: none; }

    .identity-grid { grid-template-columns: 1fr; }
}

.level-xp-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px dashed rgba(127, 0, 255, 0.4);
    padding: 10px;
    border-radius: 4px;
}

.level-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--p-lila);
    color: #fff;
    padding: 8px 12px;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.8);
    min-width: 50px;
}

.level-badge span:first-child { font-size: 7px; letter-spacing: 1px; margin-bottom: 2px; }
.level-badge span:last-child { font-size: 16px; font-weight: bold; }

.xp-bar-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.xp-info {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #aaa;
}

.xp-info span:last-child {
    color: var(--p-green);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.xp-bar-bg {
    width: 100%;
    height: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.xp-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7F00FF, #E100FF);
    box-shadow: 0 0 10px rgba(127, 0, 255, 0.8);
    transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.profile-main-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xp-bar-bg {
    width: 100%;
    height: 20px;
    background: #0a0a0a;
    border: 2px solid #333;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #7F00FF, #E100FF);
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.8), inset 0 0 5px rgba(255, 255, 255, 0.2);
    transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.level-badge {
    min-width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--p-lila);
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.6);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content {
    width: 900px;
    max-width: 95%;
    height: 85vh;
    background: rgba(0, 0, 0, 0.16)!important;
    backdrop-filter: blur(10px);
    border: 3px solid var(--p-lila) !important;
    box-shadow: 0 0 50px rgba(127, 0, 255, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.roles-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.tooltip-footer {
    margin-top: 15px;
    font-size: 6px;
    color: #444;
    text-align: center;
    letter-spacing: 1px;
    border-top: 1px solid #222;
    padding-top: 8px;
}

.modal-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.05) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.8;
}

.modal-content {
    position: relative;
    overflow: hidden;
}

.user-pill-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.user-pill-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid var(--p-lila);
    color: #fff;
    height: 45px;
    padding: 0 15px 0 5px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 10px rgba(127, 0, 255, 0.2);
}

.user-pill-trigger:hover, .user-pill-wrapper.active .user-pill-trigger {
    background: #151515;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.5), inset 0 0 15px rgba(127, 0, 255, 0.5);
    transform: translateY(-2px);
    border-color: #fff;
}

#nav-avatar {
    width: 33px;
    height: 33px;
    border: 2px solid var(--p-lila);
    box-shadow: 0 0 5px var(--p-lila);
}

.user-pill-trigger:hover #nav-avatar, .user-pill-wrapper.active #nav-avatar {
    border-color: #fff;
}

.dropdown-arrow {
    font-size: 8px;
    color: var(--p-lila);
    margin-left: 5px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cyber-dropdown {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    width: max-content;
    min-width: 220px;
    background: rgba(5, 5, 5, 0.95);
    border: 2px solid var(--p-lila);
    border-top: 4px solid var(--p-lila);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(127, 0, 255, 0.15);
    backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    z-index: 2000;
    padding: 10px 0;
}

.cyber-dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    right: 25px;
    border-width: 0 12px 12px 12px;
    border-style: solid;
    border-color: transparent transparent var(--p-lila) transparent;
}

.cyber-dropdown.show {
    display: flex;

    animation: dropdownSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dropdownSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.cyber-dropdown .drop-btn {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: #aaa;
    font-family: 'Press Start 2P', cursive;
    font-size: 9px;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cyber-dropdown .drop-btn::before {
    content: '>';
    position: absolute;
    left: -15px;
    color: var(--p-green);
    opacity: 0;
    transition: all 0.2s ease;
}

.cyber-dropdown .logout-text::before { color: #ff0055; }

.cyber-dropdown .drop-btn:hover {
    background: linear-gradient(90deg, rgba(127, 0, 255, 0.2) 0%, transparent 100%);
    color: #fff;
    border-left: 3px solid var(--p-green);
    padding-left: 35px;
}

.cyber-dropdown .drop-btn:hover::before {
    left: 15px;
    opacity: 1;
    animation: blink 1s infinite;
}

.cyber-dropdown .logout-text:hover {
    background: linear-gradient(90deg, rgba(255, 0, 85, 0.2) 0%, transparent 100%);
    border-left: 3px solid #ff0055;
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.8);
}

.spati-coin-display,
.spati-coin-word {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
    cursor: help;
}

.spati-coin-display {
    gap: 10px;
}

.spati-coin-word {
    line-height: 1;
}

.spati-coin-amount {
    display: inline-block;
}

.spati-coin-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 190, 60, 0.4));
    transform: translateY(-1px);
}

.spati-coin-icon-sm {
    width: 20px;
    height: 20px;
}

.spati-coin-icon-md {
    width: 26px;
    height: 26px;
}

.spati-coin-icon-lg {
    width: 36px;
    height: 36px;
}

.spati-coin-icon-word {
    width: 34px;
    height: 34px;
}

.spati-coin-display-compact,
.store-price .spati-coin-display,
.quest-reward-display {
    gap: 6px;
}

.spati-coin-display-highlight {
    gap: 9px;
}

.spati-coin-display-hero,
.spati-coin-display-total {
    gap: 12px;
}

.spati-coin-word-label .spati-coin-icon {
    width: 18px;
    height: 18px;
    transform: translateY(0);
}

.dropdown-coin-info .coin-value .spati-coin-display {
    justify-content: flex-end;
}

.dropdown-coin-info .coin-value .spati-coin-icon {
    width: 20px;
    height: 20px;
}

.inventory-total-display .spati-coin-display,
.store-spotlight-price .spati-coin-display,
.identity-data .spati-coin-display,
.quest-reward-display {
    color: inherit;
}

.store-main-subtitle .spati-coin-word,
.quests-marquee .spati-coin-word {
    margin: 0 4px;
}

.store-spotlight-price .spati-coin-icon,
.inventory-total-display .spati-coin-icon {
    filter: drop-shadow(0 0 14px rgba(255, 197, 79, 0.5));
}

.quest-reward-display .spati-coin-icon {
    transform: translateY(-2px);
}

.spati-coin-display:hover .spati-coin-icon,
.spati-coin-word:hover .spati-coin-icon,
.spati-coin-display:focus-visible .spati-coin-icon,
.spati-coin-word:focus-visible .spati-coin-icon {
    filter: drop-shadow(0 0 16px rgba(255, 201, 88, 0.7));
    transform: translateY(-1px) scale(1.04);
}

.spati-coin-display:focus-visible,
.spati-coin-word:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.65);
    outline-offset: 4px;
}

.coin-tooltip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: min(240px, calc(100vw - 24px));
    padding: 12px;
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid rgba(255, 215, 0, 0.72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    text-align: center;
    z-index: 100220;
}

.coin-tooltip-overlay.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.coin-tooltip-header {
    font-size: 8px;
    color: #ffd86b;
    border-bottom: 2px solid rgba(255, 215, 0, 0.48);
    margin-bottom: 8px;
    padding-bottom: 8px;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1px;
}

.coin-tooltip-text {
    font-size: 7px;
    color: #d4d9e2;
    line-height: 1.7;
    font-family: 'Press Start 2P', cursive;
}

.dropdown-coin-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: 'Press Start 2P', cursive;
}

.dropdown-coin-info .coin-label {
    font-size: 7px;
    color: #444;
}

.dropdown-coin-info .coin-value {
    font-size: 9px;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.cyber-dropdown .drop-btn {
    text-decoration: none !important;
    width: 100%;
    display: block;
}

.inv-btn {
    width: 100%;
    height: 40px;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid var(--store-color);
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 0 5px var(--store-color);
}

.inv-btn:hover {
    background: var(--store-color);
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 15px var(--store-color);
}

.name-badge-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-top: 5px;
}

.profile-badges {
    display: flex;
    gap: 5px;
    margin-top: -20px;
    align-items: center;
}
.badge-item {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: help;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-item > span {
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--badge-color));
    transition: transform 0.2s ease;
}

.badge-item:hover > span {
    transform: scale(1.2);
}

.badge-item:hover::after {
    opacity: 0.3;
}

.badge-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 200px;
    position: absolute;
    top: auto;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid var(--badge-color);
    padding: 12px;
    z-index: 10000;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    pointer-events: none;
    text-align: center;
}

.badge-item:hover .badge-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.badge-tooltip-header {
    font-size: 8px;
    color: #fff;
    border-bottom: 2px solid var(--badge-color);
    margin-bottom: 8px;
    padding-bottom: 8px;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    display: block;
}

.badge-tooltip-text {
    font-size: 7px;
    color: #bbb;
    line-height: 1.6;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    display: block;
}

.activity-history-box {
    margin-top: 35px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(127, 0, 255, 0.3);
    padding: 20px;
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.history-title {
    font-size: 10px;
    color: var(--p-lila);
    text-shadow: 0 0 10px rgba(127, 0, 255, 0.5);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px dashed rgba(127, 0, 255, 0.3);
    padding-bottom: 12px;
    letter-spacing: 2px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 15px;
    margin-bottom: 12px;
    border-left-width: 4px;
    border-left-style: solid;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease;
    cursor: default;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.5);
}

.history-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.history-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    width: 100%;
}

.history-name {
    font-size: 9px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 0 #000;
}

.history-time {
    font-size: 7px;
    color: #888;
    letter-spacing: 0.5px;
}

.giveaways-tab-shell {
    position: relative;
    width: 100%;
}

.giveaways-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 6px 0 28px;
}

.giveaways-showcase::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 10px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 92, 171, 0.18) 0%, rgba(127, 0, 255, 0.16) 36%, rgba(255, 215, 0, 0.08) 68%, transparent 100%);
    filter: blur(44px);
    pointer-events: none;
    opacity: 0.92;
}

.giveaways-showcase > * {
    position: relative;
    z-index: 1;
}

.giveaways-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.giveaways-copy-panel,
.giveaways-spotlight-panel,
.giveaways-section-shell {
    position: relative;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
}

.giveaways-copy-panel {
    padding: 26px 24px;
    background: linear-gradient(135deg, rgba(255, 92, 171, 0.14) 0%, rgba(127, 0, 255, 0.08) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.giveaways-spotlight-panel {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
}

.giveaways-copy-panel::before,
.giveaways-spotlight-panel::before,
.giveaways-section-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.giveaways-kicker,
.giveaways-spotlight-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    margin: 0 auto 18px;
    font-size: 8px;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #dce6f7;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.giveaways-kicker {
    color: #ff8ac8;
    border-color: rgba(255, 92, 171, 0.45);
    background: rgba(255, 92, 171, 0.08);
}

.giveaways-spotlight-label {
    margin: 0 0 4px;
    color: #ffd86b;
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}

.giveaways-main-title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 92, 171, 0.28), 0 0 22px rgba(127, 0, 255, 0.22);
}

.giveaways-main-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #99a3b3;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.giveaways-marquee {
    margin-top: 18px;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
    padding: 11px 0;
}

.giveaways-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    color: #ffd86b;
    font-size: 8px;
    letter-spacing: 2px;
    animation: storeTicker 18s linear infinite;
}

.giveaways-spotlight-title {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.giveaways-spotlight-text {
    margin: 0;
    font-size: 8px;
    line-height: 1.9;
    color: #b4bfcd;
}

.giveaways-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.giveaways-spotlight-tags span {
    padding: 7px 10px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #dfe9ff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.giveaways-section-shell {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(8, 8, 12, 0.96) 100%);
}

.giveaways-section-shell .quest-section-header {
    margin-bottom: 18px;
}

.giveaway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
    gap: 24px;
    width: 100%;
}

@media (max-width: 1080px) {
    .giveaways-hero-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .giveaways-showcase {
        gap: 18px;
    }

    .giveaways-copy-panel,
    .giveaways-spotlight-panel,
    .giveaways-section-shell {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .giveaways-section-shell {
        padding: 16px 14px 22px;
    }

    .giveaway-grid {
        grid-template-columns: 1fr;
    }
}
.gv-card {
    background: rgba(10, 10, 10, 0.95);

    border: 4px solid var(--p-lila) !important;

    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8) !important;
    padding: 25px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    width: 420px;
    height: 420px;
    transition: transform 0.3s ease;
}

.gv-card {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--gv-color);
    box-shadow: 0 0 15px var(--gv-color)40, inset 0 0 10px var(--gv-color)20;
    padding: 25px;
    display: flex;
    flex-direction: column;
    width: 420px;
    height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--gv-color)60;
}

@media (max-width: 950px) {
    .giveaway-grid {

        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .gv-card {
        width: 100%;
    }
}

.gv-prize-title {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px var(--p-lila);
}

.gv-host-info {
    font-size: 8px;
    color: #666;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gv-note-box {
    max-height: none !important;
    overflow: visible !important;
    background: rgba(10, 10, 10, 0.95);
    background-image: radial-gradient(ellipse at center, rgba(127, 0, 255, 0.15), transparent 70%);
    border-left: 3px solid #00ccff;
    color: #bbb;
    font-size: 9px;
    line-height: 1.6;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.gv-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

.gv-timer { font-size: 8px; color: #fff; }
.gv-timer small { color: #555; display: block; margin-bottom: 4px; }

.gv-btn {
    background: var(--gv-color);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-family: 'Press Start 2P';
    font-size: 7px;
    cursor: pointer;
    box-shadow: 0 0 10px var(--gv-color);
}

.gv-btn:hover { filter: brightness(1.2); }

#spati-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.gv-note-container {
    background: rgba(255, 255, 255, 0.02);
    background-image: radial-gradient(ellipse at center, rgba(127, 0, 255, 0.1), transparent 80%);
    border-left: 3px solid var(--p-lila);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 2px;
    flex-grow: 1;
    min-height: 0;
}

.gv-note-label {
    font-size: 7px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.gv-note-content {
    font-family: 'Press Start 2P', cursive;
    font-size: 9px;
    color: #fff;
    line-height: 1.6;
    word-break: break-word;

overflow-y: auto;
    padding-right: 10px;
}

.gv-note-content::-webkit-scrollbar {
    width: 6px;
}
.gv-note-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.gv-note-content::-webkit-scrollbar-thumb {
    background: var(--gv-color);
    border-radius: 3px;
}
.gv-note-content::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.5);
}

.tab-content {
    width: 100%;
    display: none;
}

.tab-content.active-tab {
    display: block;
}

#side-neon-sign {
    position: fixed;
    top: 15%;
    left: -4px;
    background: rgba(10, 10, 10, 0.95);

border: 3px solid var(--p-lila);
    border-left: none;

box-shadow: 5px 0 20px rgba(127, 0, 255, 0.4), inset 0 0 15px rgba(127, 0, 255, 0.2);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#side-neon-sign:hover {
    left: 0;
    background: #111;

    box-shadow: 8px 0 30px rgba(0, 255, 136, 0.6), inset 0 0 20px rgba(0, 255, 136, 0.3);
    border-color: var(--p-green);
}

.sign-icon {
    font-size: 22px;
    filter: drop-shadow(0 0 5px var(--p-lila));
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: pulse 2s infinite;
}

#side-neon-sign:hover .sign-icon {

    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px var(--p-green));
}

.sign-text {
    color: #fff;
    font-size: 10px;
    font-family: 'Press Start 2P', cursive;
    text-shadow: 0 0 8px var(--p-lila);

writing-mode: vertical-rl;

    letter-spacing: 4px;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

#side-neon-sign:hover .sign-text {
    color: var(--p-green);
    text-shadow: 0 0 10px var(--p-green);
}

@media (max-width: 768px) {
    #side-neon-sign {
        top: 15%;
        padding: 15px 6px;
    }
    .sign-icon { font-size: 16px; }
    .sign-text { font-size: 8px; letter-spacing: 2px; }
}

.leaderboard-tab-shell,
.stats-tab-shell {
    position: relative;
    width: 100%;
}

.leaderboard-showcase,
.stats-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 6px 0 28px;
}

.leaderboard-showcase::before,
.stats-showcase::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 10px;
    height: 240px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.2) 0%, rgba(0, 204, 255, 0.14) 36%, rgba(255, 0, 255, 0.08) 68%, transparent 100%);
    filter: blur(44px);
    pointer-events: none;
    opacity: 0.92;
}

.leaderboard-showcase > *,
.stats-showcase > * {
    position: relative;
    z-index: 1;
}

.leaderboard-hero-panel,
.stats-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.leaderboard-copy-panel,
.leaderboard-spotlight-panel,
.leaderboard-section-shell,
.stats-copy-panel,
.stats-spotlight-panel,
.stats-section-shell {
    position: relative;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
}

.leaderboard-copy-panel,
.stats-copy-panel {
    padding: 26px 24px;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.12) 0%, rgba(127, 0, 255, 0.08) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.leaderboard-spotlight-panel,
.stats-spotlight-panel {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
}

.leaderboard-copy-panel::before,
.leaderboard-spotlight-panel::before,
.leaderboard-section-shell::before,
.stats-copy-panel::before,
.stats-spotlight-panel::before,
.stats-section-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.leaderboard-kicker,
.stats-kicker,
.leaderboard-spotlight-label,
.stats-spotlight-label {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: fit-content;
    padding: 8px 14px;
    margin: 0 auto 18px;
    font-size: 8px;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #dce6f7;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    text-align: center;
}

.leaderboard-kicker,
.stats-kicker {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.45);
    background: rgba(0, 243, 255, 0.08);
}

.leaderboard-spotlight-label,
.stats-spotlight-label {
    margin: 0 0 4px;
    color: #ffd86b;
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}

.leaderboard-main-title,
.stats-main-title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.25), 0 0 22px rgba(127, 0, 255, 0.25);
}

.leaderboard-main-subtitle,
.stats-main-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #99a3b3;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.leaderboard-marquee,
.stats-marquee {
    margin-top: 18px;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
    padding: 11px 0;
}

.leaderboard-marquee span,
.stats-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    color: #ffd86b;
    font-size: 8px;
    letter-spacing: 2px;
    animation: storeTicker 18s linear infinite;
}

.leaderboard-spotlight-title,
.stats-spotlight-title {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.leaderboard-spotlight-text,
.stats-spotlight-text {
    margin: 0;
    font-size: 8px;
    line-height: 1.9;
    color: #b4bfcd;
}

.leaderboard-spotlight-tags,
.stats-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leaderboard-spotlight-tags span,
.stats-spotlight-tags span {
    padding: 7px 10px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #dfe9ff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.leaderboard-section-shell,
.stats-section-shell {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(8, 8, 12, 0.96) 100%);
}

.leaderboard-section-shell .quest-section-header,
.stats-section-shell .quest-section-header {
    margin-bottom: 18px;
}

.leaderboard-column-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-width: 2px;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96) 0%, rgba(4, 4, 8, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82) !important;
}

.leaderboard-column-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.chat-column-glow {
    border-color: #00ccff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 204, 255, 0.14) !important;
}

.voice-column-glow {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 255, 136, 0.14) !important;
}

.leaderboard-grid {
    max-width: none;
    padding-bottom: 0;
}

.leaderboard-column-card .lb-title {
    margin-bottom: 30px;
}

.leaderboard-column-card .lb-list-item {
    border-radius: 0;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.38);
}

.leaderboard-column-card .lb-list-item:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.06);
}

.stats-section-shell .hardware-grid {
    margin-bottom: 0;
}

.stats-panel-card {
    position: relative;
    margin-bottom: 0;
    border-width: 2px !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82) !important;
}

.stats-panel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.stats-section-shell .system-tape-deck {
    margin-bottom: 0;
}

.stats-chart-shell .oscilloscope-panel {
    padding: 22px;
}

@media (max-width: 1080px) {
    .leaderboard-hero-panel,
    .stats-hero-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .leaderboard-showcase,
    .stats-showcase {
        gap: 18px;
    }

    .leaderboard-copy-panel,
    .leaderboard-spotlight-panel,
    .leaderboard-section-shell,
    .stats-copy-panel,
    .stats-spotlight-panel,
    .stats-section-shell,
    .leaderboard-column-card,
    .stats-panel-card {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8) !important;
    }

    .leaderboard-section-shell,
    .stats-section-shell {
        padding: 16px 14px 22px;
    }
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.lb-column {
    background: rgba(10, 10, 10, 0.9);

    border: 4px solid var(--p-lila);

    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8);
    padding: 25px;
    border-radius: 0px;
}

.lb-title {
    text-align: center;
    font-size: 14px;
    margin-bottom: 40px;
    color: var(--p-lila) !important;
    text-shadow: 0 0 10px var(--p-lila);
}

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    height: 190px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.podium-item:hover { transform: translateY(-5px); }

.podium-avatar {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    border: 2px solid #fff;
    margin-bottom: -10px;
    z-index: 2;
    background: #000;
}

.podium-rank-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 15px 6px 8px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
}

.podium-rank-text { font-size: 18px; font-weight: bold; color: #fff; text-shadow: 2px 2px 0 #000;}
.podium-name {
    font-size: 7px;
    color: #fff;
    margin-top: 2px;
    text-align: center;
    width: 90%;
    min-height: 16px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.podium-score {
    font-size: 6px;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
    line-height: 1.2;
    width: 90%;
}

.rank-1 .podium-avatar { width: 75px; height: 75px; border-color: #FFD700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
.rank-1 .podium-rank-box { min-height: 118px; background: linear-gradient(to top, rgba(255,215,0,0.05), rgba(255,215,0,0.4)); border-top: 3px solid #FFD700; }
.rank-1 .podium-score { color: #FFD700; text-shadow: 0 0 5px #FFD700; }
.crown { position: absolute; top: -36px; font-size: 28px; line-height: 1; filter: drop-shadow(0 0 10px #FFD700); animation: float-ticket 3s infinite ease-in-out; z-index: 5; }

.rank-2 .podium-rank-box { min-height: 102px; background: linear-gradient(to top, rgba(192,192,192,0.05), rgba(192,192,192,0.4)); border-top: 3px solid #C0C0C0; }
.rank-2 .podium-score { color: #C0C0C0; text-shadow: 0 0 5px #C0C0C0; }
.rank-2 .podium-avatar { border-color: #C0C0C0; box-shadow: 0 0 10px rgba(192, 192, 192, 0.4); }

.rank-3 .podium-rank-box { min-height: 94px; background: linear-gradient(to top, rgba(205,127,50,0.05), rgba(205,127,50,0.4)); border-top: 3px solid #CD7F32; }
.rank-3 .podium-score { color: #CD7F32; text-shadow: 0 0 5px #CD7F32; }
.rank-3 .podium-avatar { border-color: #CD7F32; box-shadow: 0 0 10px rgba(205, 127, 50, 0.4); }

.lb-list-container { display: flex; flex-direction: column; gap: 8px; }
.lb-list-item {
    display: flex; align-items: center; background: rgba(0,0,0,0.6);
    padding: 8px 12px; border: 1px solid #333; border-radius: 4px;
    transition: transform 0.2s; cursor: pointer;
}
.lb-list-item:hover { transform: translateX(5px); border-color: var(--p-lila); background: rgba(127,0,255,0.1); }
.lb-list-rank {
    font-size: 10px;
    color: #666;
    width: 35px;
    font-weight: bold;
}
.lb-list-avatar { width: 26px; height: 26px; border-radius: 3px; margin-right: 12px; border: 1px solid #555;}
.lb-list-name { font-size: 8px; color: #ddd; flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-list-score { font-size: 8px; color: #fff; font-weight: bold; }

.leaderboard-overall-shell {
    padding-top: 22px;
}

.leaderboard-overall-board {
    position: relative;
    padding: 22px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 204, 255, 0.08) 0%, rgba(12, 14, 24, 0.95) 42%, rgba(3, 4, 8, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.leaderboard-overall-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-overall-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 8px;
    letter-spacing: 2px;
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.45);
    background: rgba(0, 243, 255, 0.08);
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.12);
}

.leaderboard-overall-copy {
    flex: 1;
    min-width: 0;
}

.leaderboard-overall-copy h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 204, 255, 0.16);
}

.leaderboard-overall-copy p {
    margin: 0;
    font-size: 8px;
    line-height: 1.8;
    color: #a6b3c5;
}

.leaderboard-overall-head,
.leaderboard-overall-row {
    display: grid;
    grid-template-columns: 82px minmax(220px, 1.6fr) repeat(4, minmax(88px, 0.8fr));
    gap: 14px;
    align-items: center;
}

.leaderboard-overall-head {
    padding: 0 16px 10px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #74829a;
}

.leaderboard-overall-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leaderboard-overall-row {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.leaderboard-overall-row:hover {
    transform: translateX(6px);
    border-color: rgba(0, 243, 255, 0.45);
    background: rgba(0, 243, 255, 0.06);
}

.leaderboard-overall-row.is-champion {
    border-color: rgba(255, 215, 0, 0.55);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0.03) 100%);
}

.leaderboard-overall-row.is-runner-up {
    border-color: rgba(192, 192, 192, 0.48);
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.11) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0.03) 100%);
}

.leaderboard-overall-row.is-third-place {
    border-color: rgba(205, 127, 50, 0.48);
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.12) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0.03) 100%);
}

.leaderboard-overall-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    color: #ffd86b;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.18);
}

.leaderboard-overall-row.is-champion .leaderboard-overall-rank {
    flex-direction: column;
    gap: 2px;
}

.leaderboard-overall-row.is-runner-up .leaderboard-overall-rank {
    color: #c0c0c0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
}

.leaderboard-overall-row.is-third-place .leaderboard-overall-rank {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.2);
}

.leaderboard-overall-crown {
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.leaderboard-overall-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.leaderboard-overall-avatar {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: #000;
    flex-shrink: 0;
}

.leaderboard-overall-row.is-champion .leaderboard-overall-avatar {
    border-color: #ffd700;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.22);
}

.leaderboard-overall-row.is-runner-up .leaderboard-overall-avatar {
    border-color: #c0c0c0;
    box-shadow: 0 0 14px rgba(192, 192, 192, 0.2);
}

.leaderboard-overall-row.is-third-place .leaderboard-overall-avatar {
    border-color: #cd7f32;
    box-shadow: 0 0 14px rgba(205, 127, 50, 0.2);
}

.leaderboard-overall-usercopy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.leaderboard-overall-name {
    font-size: 9px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-overall-handle {
    font-size: 7px;
    color: #7f8ca3;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-overall-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.leaderboard-overall-stat-label {
    font-size: 6px;
    letter-spacing: 1.5px;
    color: #74829a;
}

.leaderboard-overall-stat strong {
    font-size: 8px;
    color: #fff;
    line-height: 1.5;
}

.leaderboard-overall-level strong { color: #ffd86b; }
.leaderboard-overall-xp strong { color: #d18cff; }
.leaderboard-overall-messages strong { color: #00f3ff; }
.leaderboard-overall-voice strong { color: #00ff9d; }

.leaderboard-overall-empty {
    padding: 18px;
    text-align: center;
    font-size: 8px;
    color: #8d98aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1100px) {
    .leaderboard-overall-head,
    .leaderboard-overall-row {
        grid-template-columns: 74px minmax(170px, 1.4fr) repeat(4, minmax(78px, 0.78fr));
        gap: 10px;
    }
}

@media (max-width: 860px) {
    .leaderboard-overall-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .leaderboard-overall-head {
        display: none;
    }

    .leaderboard-overall-row {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
    }

    .leaderboard-overall-user {
        grid-column: 2;
    }

    .leaderboard-overall-stat {
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 620px) {
    .leaderboard-overall-row {
        grid-template-columns: 1fr;
    }

    .leaderboard-overall-rank,
    .leaderboard-overall-user,
    .leaderboard-overall-stat {
        grid-column: auto;
    }

    .leaderboard-overall-board {
        padding: 18px 14px;
    }
}

@media (max-width: 950px) {
    .leaderboard-grid { grid-template-columns: 1fr; }
}

.system-tape-deck {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 3px solid #333 !important;
    padding: 15px 30px;
    margin-bottom: 40px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.9), 6px 6px 0px rgba(0,0,0,0.8) !important;
}

.tape-led {
    font-size: 10px;
    color: #fff;
    letter-spacing: 2px;
}

.tape-date {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tape-date label { font-size: 8px; color: #888; }

.spati-date-input {
    background: rgba(17, 17, 17, 0.9) !important;
    border: 2px solid #222 !important;
    color: #666 !important;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    padding: 10px 15px;
    height: 45px;
    outline: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spati-date-input:hover,
.spati-date-input:focus {
    background: #1a1a1a !important;
    border-color: var(--p-lila) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(127, 0, 255, 0.3) !important;
}

.hardware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.hw-module {
    padding: 0 !important;
    border-width: 4px !important;
    background: #080808;
    overflow: hidden;
    transition: transform 0.2s ease;
}
.hw-module:hover { transform: translateY(-5px); }

.span-full { grid-column: 1 / -1; }

.hw-topbar {
    padding: 12px 20px;
    font-size: 10px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.5);
}

.hw-content {
    display: flex;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
}

.horizontal-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.left-align { align-items: flex-start; text-align: left; }

.hw-label { font-size: 8px; color: #888; }
.hw-val { font-size: 26px; font-weight: bold; text-shadow: 0 0 10px currentColor; }
.hw-val small { font-size: 10px; color: #666; text-shadow: none; }
.hw-tiny { font-size: 7px; margin-top: 5px; }

.hw-divider {
    height: 2px;
    width: 50%;
    margin: 0 auto;
    opacity: 0.3;
}

.cyber-barcode {
    font-size: 30px;
    color: #333;
    letter-spacing: -2px;
    transform: scaleY(1.5);
    user-select: none;
}

.border-blue { border-color: #00ccff !important; box-shadow: 8px 8px 0px rgba(0,0,0,0.8), 0 0 15px rgba(0,204,255,0.2) !important; }
.bg-blue { background: #00ccff; }
.text-blue { color: #00ccff; }

.border-purple { border-color: var(--p-lila) !important; box-shadow: 8px 8px 0px rgba(0,0,0,0.8), 0 0 15px rgba(127,0,255,0.2) !important; }
.bg-purple { background: var(--p-lila); }
.text-purple { color: #E100FF; }

.border-green { border-color: var(--p-green) !important; box-shadow: 8px 8px 0px rgba(0,0,0,0.8), 0 0 15px rgba(0,255,136,0.2) !important; }
.bg-green { background: var(--p-green); }
.text-green { color: var(--p-green); }

.text-gold { color: #FFD700; text-shadow: 0 0 10px rgba(255,215,0,0.4); }

.oscilloscope-panel {
    background: #111;
    border: 4px solid #444 !important;
    padding: 25px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 10px 10px 0px rgba(0,0,0,0.8) !important;
}

.osc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.osc-title { font-size: 12px; color: #aaa; letter-spacing: 2px; }
.osc-status { font-size: 10px; letter-spacing: 1px; }

.crt-effect::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 950px) {
    .hardware-grid { grid-template-columns: 1fr; }
    .system-tape-deck { flex-direction: column; gap: 20px; }
    .horizontal-content { flex-direction: column; text-align: center; }
    .left-align { align-items: center; text-align: center; }
    .cyber-barcode { display: none; }
}

.leaderboard-tab-shell .leaderboard-grid {
    max-width: none;
    padding-bottom: 0;
}

.leaderboard-tab-shell .leaderboard-column-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96) 0%, rgba(4, 4, 8, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82) !important;
}

.leaderboard-tab-shell .leaderboard-column-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.leaderboard-tab-shell .chat-column-glow {
    border-color: #00ccff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 204, 255, 0.14) !important;
}

.leaderboard-tab-shell .voice-column-glow {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 255, 136, 0.14) !important;
}

.leaderboard-tab-shell .leaderboard-column-card .lb-title {
    margin-bottom: 30px;
}

.leaderboard-tab-shell .leaderboard-column-card .lb-list-item {
    border-radius: 0;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.38);
}

.leaderboard-tab-shell .leaderboard-column-card .lb-list-item:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.06);
}

.stats-tab-shell .stats-panel-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82) !important;
}

.stats-tab-shell .stats-panel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.stats-tab-shell .system-tape-deck.stats-panel-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 10, 12, 0.96) 100%);
}

.stats-tab-shell .oscilloscope-panel.stats-panel-card {
    background: linear-gradient(180deg, rgba(18, 20, 30, 0.96) 0%, rgba(4, 4, 8, 0.98) 100%);
}

@media (max-width: 760px) {
    .leaderboard-tab-shell .leaderboard-column-card,
    .stats-tab-shell .stats-panel-card {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8) !important;
    }
}

.flatpickr-calendar {
    background: #050505 !important;
    border: 3px solid var(--p-lila) !important;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.8), 0 0 20px rgba(127, 0, 255, 0.4) !important;
    font-family: 'Press Start 2P', cursive !important;
    padding: 10px !important;
    border-radius: 0 !important;
    width: 338px !important;
}

.flatpickr-months {
    border-bottom: 2px dashed rgba(127, 0, 255, 0.5) !important;
    margin-bottom: 10px !important;
}

.flatpickr-month {
    color: #fff !important;
    fill: #fff !important;
    height: 45px !important;
}

.flatpickr-current-month {
    font-size: 10px !important;
    padding-top: 15px !important;
}

span.flatpickr-weekday {
    color: #fff !important;
    font-size: 8px !important;
    letter-spacing: 1px !important;
}

.flatpickr-day {
    color: #aaa !important;
    font-size: 8px !important;
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    margin: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-day:hover, .flatpickr-day:focus {
    background: rgba(127, 0, 255, 0.2) !important;
    border-color: var(--p-lila) !important;
    color: #fff !important;
    box-shadow: inset 0 0 10px rgba(127, 0, 255, 0.6) !important;
    z-index: 1 !important;
}

.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus {
    background: var(--p-lila) !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 15px var(--p-lila), inset 0 0 8px rgba(255, 255, 255, 0.5) !important;
    font-weight: bold !important;
    transform: scale(1.1) !important;
    z-index: 5 !important;
}

.flatpickr-day.today {
    border-color: var(--p-green) !important;
    color: var(--p-green) !important;
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus {
    border-color: var(--p-green) !important;
    background: rgba(0, 255, 136, 0.2) !important;
    color: #fff !important;
}

.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #333 !important;
}

.flatpickr-prev-month svg, .flatpickr-next-month svg {
    fill: var(--p-lila) !important;
    width: 14px !important;
    height: 14px !important;
    transition: all 0.2s ease !important;
}

.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg {
    fill: #fff !important;
    filter: drop-shadow(0 0 8px var(--p-lila)) !important;
    transform: scale(1.2) !important;
}

.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--p-lila) !important;
}
.flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after {
    border-top-color: var(--p-lila) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    appearance: none;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    font-family: 'Press Start 2P', cursive !important;
    font-size: 10px !important;
    cursor: pointer !important;
    padding: 5px !important;
    margin-right: 5px !important;
    transition: color 0.2s ease;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    color: var(--p-lila) !important;
}

.flatpickr-current-month .arrowUp,
.flatpickr-current-month .arrowDown {
    display: none !important;
}

.flatpickr-current-month input.cur-year {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    font-family: 'Press Start 2P', cursive !important;
    font-size: 10px !important;

cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
}

.flatpickr-current-month input.cur-year:hover,
.flatpickr-current-month input.cur-year:focus {
    color: #fff !important;
}

.border-orange {
    border-color: #FF8800 !important;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.8), 0 0 15px rgba(255, 136, 0, 0.2) !important;
}

CSS

.span-full {
    grid-column: 1 / -1;
}

.horizontal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.left-align {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.history-item {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 50px;
}

.history-spotify-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    color: #1DB954;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 6px;
    text-decoration: none;
    z-index: 5;
}

.history-spotify-btn svg {
    width: 100%;
    height: 100%;
}

.history-spotify-btn:hover {
    background: #1DB954;
    color: #fff;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.6);
    transform: translateY(-50%) scale(1.15);
}

.history-game-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    color: #66c0f4;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(102, 192, 244, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 6px;
    text-decoration: none;
    z-index: 5;
}

.history-game-btn svg {
    width: 100%;
    height: 100%;
}

.history-game-btn:hover {
    background: #66c0f4;
    color: #fff;
    box-shadow: 0 0 15px rgba(102, 192, 244, 0.6);
    transform: translateY(-50%) scale(1.15);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 1000px) {
    .achievement-grid { grid-template-columns: 1fr; }
}

.badge-item {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-item::after {
    display: none !important;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.3);
}

.quest-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 20px 0;
}

.quest-section-header h2 {
    font-size: 16px;
    color: var(--p-green);
    text-shadow: 0 0 10px var(--p-green);
    margin: 0;
}

.quest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
}

.quest-card, .quest-ach-card {
    background: rgba(5, 5, 5, 0.9);
    border: 2px solid var(--q-border);
    padding: 0;
    position: relative;

    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
}

.quest-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 2px);
    pointer-events: none;
    z-index: 1;
}

.quest-card-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--q-border);
}

.quest-card-body {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.quest-progress-bg {
    background: rgba(5, 5, 5, 0.9);
    border: 2px solid var(--q-border);
    height: 28px;
    width: 100%;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.quest-progress-fill {
    background: linear-gradient(90deg, var(--q-glow) 0%, var(--q-color) 100%);
    width: 0%;
    height: 100%;
    animation: shimmer-flow 3s infinite linear;
    background-size: 200% 100%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--q-color);
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    background: #444;
}

.ready-to-claim .status-dot {
    background: var(--q-color);
    box-shadow: 0 0 10px var(--q-color);
    animation: blink 1s infinite;
}

.q-blue   { --q-color: #00ccff; --q-border: #004466; --q-glow: #006688; }
.q-purple { --q-color: #7f00ff; --q-border: #330066; --q-glow: #4b0082; }
.q-orange { --q-color: #ff8800; --q-border: #663300; --q-glow: #884400; }
.q-pink   { --q-color: #ff0055; --q-border: #660022; --q-glow: #880033; }

.quest-claimed {
    opacity: 0.5;
    filter: grayscale(0.8);
    border-color: #333;
}
.quest-claimed .quest-progress-fill {
    background: #444;
    box-shadow: none;
    animation: none;
}

.quest-ach-card.locked {
    filter: grayscale(1) opacity(0.4);
}

.quest-ach-card.unlocked {
    border-color: var(--q-color);
    box-shadow: 0 0 20px var(--q-glow), 6px 6px 0px #000;
    background: linear-gradient(145deg, rgba(5,5,5,0.9), rgba(127, 0, 255, 0.05));
}

@keyframes shimmer-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes blink {
    50% { opacity: 0.3; }
}

@media (max-width: 900px) {
    .quest-grid {
        grid-template-columns: 1fr;
    }
}

.profile-ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}
.ach-modern-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--q-color);
    min-height: 70px;
    gap: 15px;
    transition: transform 0.2s;
}

.ach-modern-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.02);
}

.ach-modern-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.ach-modern-icon {
    font-size: 22px;
    filter: drop-shadow(0 0 5px var(--q-color));
}

.ach-modern-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 9px;
    letter-spacing: 1px;
    color: #fff;
}

.ach-modern-desc {
    font-family: 'Press Start 2P', cursive;
    font-size: 7px;
    text-align: right;
    line-height: 1.6;
    color: var(--q-color);
    max-width: 140px;
    opacity: 0.9;
}

@media (max-width: 1000px) {
    .profile-ach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .profile-ach-grid { grid-template-columns: 1fr; }
}

.ach-empty-state {
    grid-column: 1 / -1;
    color: #444;
    font-size: 8px;
    font-family: 'Press Start 2P', cursive;
    padding: 20px 0;
    border: 2px dashed #333;
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.quest-ach-card {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, filter 0.3s ease;

position: relative;
    z-index: 1;
}

.quest-ach-card.unlocked:hover {

    transform: translateY(-2px);

box-shadow: 0 5px 12px var(--q-color), 6px 6px 0px rgba(0, 0, 0, 0.9);

    border-color: #fff;
    z-index: 50;
}

.quest-ach-card.unlocked span {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quest-ach-card.unlocked:hover span {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 15px var(--q-color)) !important;
}

.quest-ach-card.locked {
    cursor: not-allowed;
}

.quest-ach-card.locked:hover {
    transform: translateY(-3px);
    filter: grayscale(0.5) opacity(0.9);
    border-color: #555;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05), 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.quest-new-badge {
    position: absolute;
    top: -19px;
    right: -12px;
    background: #ff0055;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ff99bb;
    box-shadow: 0 0 10px #ff0055;
    z-index: 100;
    animation: pulse-neu 2s infinite;
    transform-origin: center;
}

@keyframes pulse-neu {
    0% { transform: scale(1) rotate(5deg); box-shadow: 0 0 10px #ff0055; }
    50% { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 10px #ff0055; }
    100% { transform: scale(1) rotate(5deg); box-shadow: 0 0 10px #ff0055; }
}

.claim-btn.active {
    cursor: pointer !important;
    transition: all 0.2s ease;
}

.claim-btn.active:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--q-color);
    border-color: #fff !important;
}

#spati-notify-container {
    position: fixed;

    top: 115px;

    right: 20px;

    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;

    align-items: flex-end;
}

.spati-notification {
    background: rgba(5, 5, 5, 0.95);
    border: 2px solid #7F00FF;
    border-left: 5px solid #7F00FF;
    color: #fff;
    padding: 15px 25px;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    min-width: 250px;

    box-shadow: 0 0 15px rgba(127, 0, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;

    animation: notifySlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.spati-notification.success { border-color: #00FF88; border-left-color: #00FF88; }
.spati-notification.error { border-color: #ff0055; border-left-color: #ff0055; }

@keyframes notifySlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.spati-notification.hide {
    animation: notifySlideOut 0.4s ease forwards;
}

@keyframes notifySlideOut {
    to { transform: translateX(120%); opacity: 0; }
}

.store-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.store-card {
    background: rgba(8, 8, 8, 0.95);
    border: 2px solid var(--store-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 8px 8px 0px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.store-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
    z-index: 0;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px var(--store-color), 12px 12px 0px rgba(0, 0, 0, 0.9);
}

.store-card-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-bottom: 2px dashed var(--store-color);
    padding: 18px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.store-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 5px var(--store-color));
}

.store-title {
    font-size: 12px;
    color: #fff;
    text-shadow: 0 0 8px var(--store-color);
    letter-spacing: 1px;
    font-family: 'Press Start 2P', cursive;
}

.store-card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.store-type-badge {
    font-size: 7px;
    color: var(--store-color);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--store-color);
    padding: 6px 12px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
    margin: 0 auto 25px auto;
    letter-spacing: 2px;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

.store-preview-wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-preview-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 90px;
    border: 2px dashed var(--store-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.fallback-icon {
    font-size: 40px;
    filter: drop-shadow(0 0 10px var(--store-color));
    animation: float-icon 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px) scale(1.1); }
}

.store-item-preview {
    max-width: 160px;
    max-height: 110px;
    object-fit: contain;
}

.store-item-description {
    font-size: 8px;
    color: #bbb;
    line-height: 1.8;
    text-align: center;
    flex-grow: 1;
    margin-bottom: 25px;
}

.store-card-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.store-price {
    font-size: 18px;
    color: #FFD700;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.buy-btn {
    width: 100%;
    height: 45px;
    font-family: 'Press Start 2P', cursive;
    font-size: 9px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid var(--store-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-btn:hover:not(:disabled):not(.owned-btn) {
    transform: translateY(-2px);
    background: var(--store-color);
    color: #05070b;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08), 0 0 18px var(--store-color);
    text-shadow: none;
}

.buy-btn:active:not(:disabled):not(.owned-btn) {
    transform: translateY(0);
}

.buy-btn.green-trigger {
    background: rgba(0, 255, 136, 0.1) !important;
    border: 2px solid #00ff88 !important;
    color: #00ff88 !important;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5) !important;
}

.buy-btn.green-trigger:hover {
    background: #00ff88 !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6) !important;
    transform: translateY(-2px);
}

.buy-btn.red-trigger {
    background: rgba(255, 0, 85, 0.1) !important;
    border: 2px solid #ff0055 !important;
    color: #ff0055 !important;
    text-shadow: 0 0 5px rgba(255, 0, 85, 0.5) !important;
}

.buy-btn.red-trigger:hover {
    background: #ff0055 !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.6) !important;
    transform: translateY(-2px);
}

.buy-btn.owned-btn {
    background: #222 !important;
    color: #666 !important;
    border: 2px solid #444 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.store-card.active-item {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.boost-timer {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid #00ff88;
    padding: 5px 10px;
    font-size: 9px;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
    animation: pulse-timer 2s infinite alternate;
}

.boost-timer.expired {
    color: #ff0055;
    border-color: #ff0055;
    background: rgba(255, 0, 85, 0.1);
    animation: none;
}

@keyframes pulse-timer {
    from { opacity: 0.8; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.stack-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--p-lila);
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    padding: 6px 8px;
    border: 2px solid #fff;
    box-shadow: 4px 4px 0px #000;
    z-index: 10;
}

.buy-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.7;
    border-color: #333 !important;
}

.store-tab-shell {
    position: relative;
}

.store-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 6px 0 28px;
}

.store-showcase::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 12px;
    height: 220px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.22) 0%, rgba(0, 204, 255, 0.14) 35%, rgba(255, 0, 85, 0.08) 65%, transparent 100%);
    filter: blur(42px);
    pointer-events: none;
    opacity: 0.9;
}

.store-showcase > * {
    position: relative;
    z-index: 1;
}

.store-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.store-hero-copy,
.store-spotlight-card,
.store-stat-card,
.store-toolbar,
.store-shelf-frame {
    position: relative;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
}

.store-hero-copy {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.12) 0%, rgba(127, 0, 255, 0.08) 40%, rgba(0, 0, 0, 0.9) 100%);
}

.store-hero-copy::before,
.store-spotlight-card::before,
.store-toolbar::before,
.store-shelf-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.store-kicker {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: 3px;
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.16);
}

.store-main-title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.25), 0 0 22px rgba(127, 0, 255, 0.25);
}

.store-main-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #99a3b3;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.store-marquee {
    margin-top: 18px;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
    padding: 11px 0;
}

.store-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    color: #ffd86b;
    font-size: 8px;
    letter-spacing: 2px;
    animation: storeTicker 18s linear infinite;
}

@keyframes storeTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.store-spotlight-card {
    --feature-color: #FFD700;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border-color: var(--feature-color);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 28px rgba(255, 215, 0, 0.08);
}

.store-spotlight-label {
    font-size: 8px;
    letter-spacing: 2px;
    color: #c8d0da;
}

.store-spotlight-type {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--feature-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.store-spotlight-name {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.store-spotlight-description {
    margin: 0;
    font-size: 8px;
    line-height: 1.9;
    color: #b4bfcd;
}

.store-spotlight-price {
    font-size: 18px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
}

.store-dashboard {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.store-stat-card {
    --accent: #8b9bb4;
    min-height: 96px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(8, 8, 14, 0.96) 100%);
}

.store-stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.store-stat-card.accent-blue { --accent: #00ccff; }
.store-stat-card.accent-green { --accent: #39ff88; }
.store-stat-card.accent-gold { --accent: #FFD700; }
.store-stat-card.accent-pink { --accent: #ff5cab; }
.store-stat-card.accent-violet { --accent: #9d7dff; }

.store-stat-label {
    font-size: 7px;
    letter-spacing: 2px;
    color: #9ba7b7;
}

.store-stat-value {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 0 12px var(--accent);
}

.store-stat-value.compact {
    font-size: 10px;
    line-height: 1.5;
}

.store-toolbar {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(8, 8, 12, 0.96) 100%);
}

.store-toolbar .quest-section-header {
    margin-bottom: 0;
}

.store-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 10px;
    width: 100%;
}

.store-filter-btn {
    min-width: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 7px;
    color: #d7e7ff;
    background: rgba(7, 12, 20, 0.9);
    border: 2px solid rgba(124, 142, 170, 0.35);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.store-filter-btn:hover {
    transform: translateY(-2px);
    border-color: #00f3ff;
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.18), 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.store-filter-btn.active {
    color: #000;
    background: linear-gradient(180deg, #fff09f 0%, #FFD700 100%);
    border-color: #FFD700;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.28), 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.store-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.08);
}

.store-toolbar-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 8px;
    color: #8edaff;
    letter-spacing: 1px;
}

.store-toolbar-led {
    width: 10px;
    height: 10px;
    background: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
    animation: toolbarBlink 1.8s steps(2, end) infinite;
}

@keyframes toolbarBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.store-shelf-frame {
    padding: 24px 16px 36px;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.96) 0%, rgba(4, 4, 8, 0.98) 100%);
}

.store-shelf-frame::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 6px;
    background: linear-gradient(90deg, #5f3200 0%, #c7791d 50%, #5f3200 100%);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.38);
}

.store-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 24px;
    justify-content: center;
    max-width: none;
    padding: 18px 8px 10px;
}

#store-items-list.store-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 0 4px;
}

.store-card {
    min-height: 100%;
    max-width: none;
    margin: 0;
    backdrop-filter: blur(2px);
}

#store-items-list .store-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-width: 1px;
    border-color: color-mix(in srgb, var(--store-color) 78%, #ffffff 22%);
    background: linear-gradient(180deg, rgba(16, 18, 28, 0.98) 0%, rgba(8, 10, 18, 0.96) 56%, rgba(0, 0, 0, 0.98) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 4px rgba(0, 0, 0, 0.56), 8px 8px 0 rgba(0, 0, 0, 0.84);
}

#store-items-list .store-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--store-color) 82%, #ffffff 18%) 49% 100%);
    opacity: 0.92;
    pointer-events: none;
}

#store-items-list .store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 20px color-mix(in srgb, var(--store-color) 38%, transparent), 10px 10px 0 rgba(0, 0, 0, 0.86);
}

.store-card-hidden {
    display: none !important;
}

.store-card-header {
    padding: 18px 16px;
    min-height: 84px;
}

#store-items-list .store-card-header {
    padding: 14px 14px 12px;
    min-height: 74px;
    justify-content: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

#store-items-list .store-icon {
    font-size: 16px;
}

#store-items-list .store-title {
    font-size: 9px;
    line-height: 1.55;
    text-align: left;
}

.store-card-body {
    padding: 22px 18px 20px;
}

#store-items-list .store-card-body {
    padding: 14px;
    align-items: stretch;
    gap: 12px;
}

.store-card-topline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

#store-items-list .store-card-topline {
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 0;
}

.store-type-badge {
    margin: 0;
    width: auto;
}

#store-items-list .store-type-badge {
    padding: 5px 9px;
    font-size: 6px;
    letter-spacing: 1.5px;
}

.store-new-badge,
.store-owned-chip {
    font-size: 7px;
    padding: 6px 10px;
    letter-spacing: 2px;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05);
}

#store-items-list .store-new-badge,
#store-items-list .store-owned-chip {
    padding: 5px 8px;
    font-size: 6px;
    letter-spacing: 1.4px;
}

.store-new-badge {
    color: #1a1200;
    border-color: #FFD700;
    background: linear-gradient(180deg, #fff1a4 0%, #FFD700 100%);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.24);
    animation: newBadgePulse 1.8s ease-in-out infinite;
}

.store-owned-chip {
    color: #88ffd3;
    border-color: #00ff88;
}

@keyframes newBadgePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.store-preview-wrapper {
    min-height: 140px;
    margin-bottom: 18px;
}

#store-items-list .store-preview-wrapper {
    min-height: 116px;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.24) 100%);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.store-preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#store-items-list .store-preview-link,
#store-items-list .store-preview-fallback {
    width: 100%;
}

.store-preview-fallback {
    width: 160px;
    height: 110px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.58));
}

#store-items-list .store-preview-fallback {
    width: 100%;
    height: 96px;
}

.store-item-preview {
    max-width: 180px;
    max-height: 120px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

#store-items-list .store-item-preview {
    max-width: 100%;
    max-height: 96px;
}

.store-item-description {
    width: 100%;
    min-height: 70px;
    margin-bottom: 18px;
    color: #c4ccd7;
}

#store-items-list .store-item-description {
    min-height: 58px;
    margin-bottom: 0;
    font-size: 7px;
    line-height: 1.75;
    text-align: left;
    color: #d4dcea;
}

.store-item-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

#store-items-list .store-item-meta {
    margin-bottom: 0;
    gap: 8px;
}

.store-item-meta span {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 7px;
    color: #96deff;
    line-height: 1.6;
    text-align: center;
}

#store-items-list .store-item-meta span {
    padding: 7px 8px;
    font-size: 6px;
    line-height: 1.55;
}

.store-card-footer {
    margin-top: auto;
}

#store-items-list .store-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

#store-items-list .store-price {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    font-size: 14px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.18);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

#store-items-list .buy-btn {
    height: 42px;
    font-size: 7px;
    padding: 0 10px;
}.store-empty-state {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.45);
    color: #cfd7e4;
    font-size: 9px;
    letter-spacing: 2px;
}

.store-empty-state.error {
    color: #ff7b9c;
    border-color: rgba(255, 0, 85, 0.45);
    box-shadow: inset 0 0 20px rgba(255, 0, 85, 0.08);
}

@media (max-width: 1080px) {
    .store-hero-panel {
        grid-template-columns: 1fr;
    }

    .store-dashboard {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .store-showcase {
        gap: 18px;
    }

    .store-hero-copy,
    .store-spotlight-card,
    .store-toolbar,
    .store-shelf-frame,
    .store-stat-card {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .store-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-item-meta {
        flex-direction: column;
    }

    .store-main-title {
        font-size: 16px;
    }

    .store-spotlight-name {
        font-size: 13px;
    }

    .store-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    #store-items-list.store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    #store-items-list .store-card-footer {
        grid-template-columns: minmax(0, 1fr) 104px;
    }
}

@media (max-width: 520px) {
    .store-dashboard {
        grid-template-columns: 1fr;
    }

    .store-filter-bar {
        grid-template-columns: 1fr;
    }

    .store-filter-btn {
        min-width: 0;
    }

    #store-items-list.store-grid {
        grid-template-columns: 1fr;
    }

    #store-items-list .store-card-footer {
        grid-template-columns: 1fr;
    }

    .store-marquee span {
        animation-duration: 22s;
    }
}

.dashboard-tab-shell,
.quests-tab-shell,
.inventory-tab-shell {
    position: relative;
    width: 100%;
}

.dashboard-showcase,
.quests-showcase,
.inventory-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 6px 0 28px;
}

.dashboard-showcase::before,
.quests-showcase::before,
.inventory-showcase::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 10px;
    height: 230px;
    filter: blur(44px);
    pointer-events: none;
    opacity: 0.92;
}

.dashboard-showcase::before {
    background: radial-gradient(circle, rgba(127, 0, 255, 0.2) 0%, rgba(0, 204, 255, 0.15) 38%, rgba(255, 215, 0, 0.08) 68%, transparent 100%);
}

.quests-showcase::before {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.18) 0%, rgba(127, 0, 255, 0.15) 38%, rgba(255, 136, 0, 0.08) 68%, transparent 100%);
}

.inventory-showcase::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(0, 204, 255, 0.14) 36%, rgba(127, 0, 255, 0.08) 68%, transparent 100%);
}

.dashboard-showcase > *,
.quests-showcase > *,
.inventory-showcase > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero-panel,
.quests-hero-panel,
.inventory-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 22px;
    align-items: stretch;
}

.dashboard-copy-panel,
.dashboard-spotlight-panel,
.dashboard-profile-shell,
.identity-section-shell,
.profile-section-shell,
.quests-copy-panel,
.quests-spotlight-panel,
.quests-section-shell,
.quests-board-frame,
.inventory-copy-panel,
.inventory-spotlight-panel,
.inventory-section-shell,
.inventory-shelf-frame {
    position: relative;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}

.dashboard-copy-panel::before,
.dashboard-spotlight-panel::before,
.dashboard-profile-shell::before,
.identity-section-shell::before,
.profile-section-shell::before,
.quests-copy-panel::before,
.quests-spotlight-panel::before,
.quests-section-shell::before,
.quests-board-frame::before,
.inventory-copy-panel::before,
.inventory-spotlight-panel::before,
.inventory-section-shell::before,
.inventory-shelf-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.dashboard-copy-panel,
.quests-copy-panel,
.inventory-copy-panel {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-copy-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.07) 0%, rgba(127, 0, 255, 0.08) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.quests-copy-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.07) 0%, rgba(127, 0, 255, 0.08) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.inventory-copy-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.07) 0%, rgba(127, 0, 255, 0.08) 42%, rgba(0, 0, 0, 0.92) 100%);
}

.dashboard-spotlight-panel,
.quests-spotlight-panel,
.inventory-spotlight-panel {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.dashboard-spotlight-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
}

.quests-spotlight-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
}

.inventory-spotlight-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(18, 18, 30, 0.96) 38%, rgba(0, 0, 0, 0.98) 100%);
}

.dashboard-kicker,
.quests-kicker,
.inventory-kicker,
.profile-card-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    margin: 0 auto 18px;
    font-size: 8px;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.dashboard-kicker,
.profile-card-kicker {
    color: #00ccff;
    border-color: rgba(0, 204, 255, 0.45);
    background: rgba(0, 204, 255, 0.08);
}

.quests-kicker {
    color: var(--p-green);
    border-color: rgba(0, 255, 136, 0.45);
    background: rgba(0, 255, 136, 0.08);
}

.inventory-kicker {
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}

.dashboard-main-title,
.quests-main-title,
.inventory-main-title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.18), 0 0 22px rgba(127, 0, 255, 0.2);
}

.dashboard-main-subtitle,
.quests-main-subtitle,
.inventory-main-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #99a3b3;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.dashboard-marquee,
.quests-marquee,
.inventory-marquee {
    margin-top: 18px;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
    padding: 11px 0;
}

.dashboard-marquee span,
.quests-marquee span,
.inventory-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    font-size: 8px;
    letter-spacing: 2px;
    animation: storeTicker 18s linear infinite;
}

.dashboard-marquee span {
    color: #7fdfff;
}

.quests-marquee span {
    color: #7bffbe;
}

.inventory-marquee span {
    color: #ffe07c;
}

.dashboard-spotlight-label,
.quests-spotlight-label,
.inventory-spotlight-label {
    font-size: 8px;
    letter-spacing: 2px;
    color: #c8d0da;
}

.dashboard-spotlight-title,
.quests-spotlight-title,
.inventory-spotlight-title {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.dashboard-spotlight-text,
.quests-spotlight-text,
.inventory-spotlight-text {
    margin: 0;
    font-size: 8px;
    line-height: 1.9;
    color: #b4bfcd;
}

.dashboard-spotlight-tags,
.quests-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-spotlight-tags span,
.quests-spotlight-tags span {
    padding: 8px 12px;
    font-size: 7px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #dce6f7;
}

.inventory-total-display {
    font-size: 20px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
}

.store-spotlight-card,
.dashboard-spotlight-panel,
.quests-spotlight-panel,
.inventory-spotlight-panel,
.leaderboard-spotlight-panel,
.stats-spotlight-panel,
.giveaways-spotlight-panel {
    align-items: center;
    text-align: center;
}

.store-spotlight-card {
    --spotlight-accent: var(--feature-color, #FFD700);
    --spotlight-label-bg: color-mix(in srgb, var(--spotlight-accent) 12%, transparent);
    --spotlight-label-border: color-mix(in srgb, var(--spotlight-accent) 42%, rgba(255, 255, 255, 0.16));
    --spotlight-label-color: var(--spotlight-accent);
}

.dashboard-spotlight-panel {
    --spotlight-accent: #00ccff;
    --spotlight-label-bg: rgba(0, 204, 255, 0.10);
    --spotlight-label-border: rgba(0, 204, 255, 0.45);
    --spotlight-label-color: #7fdfff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 18px rgba(255, 255, 255, 0.04);
}

.quests-spotlight-panel {
    --spotlight-accent: #00ff88;
    --spotlight-label-bg: rgba(0, 255, 136, 0.10);
    --spotlight-label-border: rgba(0, 255, 136, 0.45);
    --spotlight-label-color: #89ffc7;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 18px rgba(255, 255, 255, 0.04);
}

.inventory-spotlight-panel {
    --spotlight-accent: #FFD700;
    --spotlight-label-bg: rgba(255, 215, 0, 0.10);
    --spotlight-label-border: rgba(255, 215, 0, 0.45);
    --spotlight-label-color: #ffd86b;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 18px rgba(255, 255, 255, 0.04);
}

.leaderboard-spotlight-panel {
    --spotlight-accent: #FFD700;
    --spotlight-label-bg: rgba(255, 215, 0, 0.10);
    --spotlight-label-border: rgba(255, 215, 0, 0.45);
    --spotlight-label-color: #ffd86b;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(255, 215, 0, 0.12);
}

.stats-spotlight-panel {
    --spotlight-accent: #00f3ff;
    --spotlight-label-bg: rgba(0, 243, 255, 0.10);
    --spotlight-label-border: rgba(0, 243, 255, 0.45);
    --spotlight-label-color: #8aefff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 243, 255, 0.12);
}

.giveaways-spotlight-panel {
    --spotlight-accent: #ff5cab;
    --spotlight-label-bg: rgba(255, 92, 171, 0.10);
    --spotlight-label-border: rgba(255, 92, 171, 0.45);
    --spotlight-label-color: #ffb0d6;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(255, 92, 171, 0.12);
}

.store-spotlight-label,
.dashboard-spotlight-label,
.quests-spotlight-label,
.inventory-spotlight-label,
.leaderboard-spotlight-label,
.stats-spotlight-label,
.giveaways-spotlight-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    padding: 8px 14px;
    margin: 0 auto 6px;
    font-size: 8px;
    letter-spacing: 3px;
    border: 1px solid var(--spotlight-label-border, rgba(255, 215, 0, 0.45));
    background: var(--spotlight-label-bg, rgba(255, 215, 0, 0.08));
    color: var(--spotlight-label-color, #ffd86b);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    text-align: center;
}

.store-spotlight-type,
.store-spotlight-name,
.store-spotlight-description,
.store-spotlight-price,
.dashboard-spotlight-title,
.quests-spotlight-title,
.inventory-spotlight-title,
.leaderboard-spotlight-title,
.stats-spotlight-title,
.giveaways-spotlight-title,
.dashboard-spotlight-text,
.quests-spotlight-text,
.inventory-spotlight-text,
.leaderboard-spotlight-text,
.stats-spotlight-text,
.giveaways-spotlight-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dashboard-spotlight-title,
.quests-spotlight-title,
.inventory-spotlight-title {
    max-width: 360px;
    font-size: 15px;
}

.dashboard-spotlight-text,
.quests-spotlight-text,
.inventory-spotlight-text {
    max-width: 390px;
}

.dashboard-spotlight-tags,
.quests-spotlight-tags,
.inventory-spotlight-tags,
.leaderboard-spotlight-tags,
.stats-spotlight-tags,
.giveaways-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.dashboard-spotlight-tags span,
.quests-spotlight-tags span,
.inventory-spotlight-tags span,
.leaderboard-spotlight-tags span,
.stats-spotlight-tags span,
.giveaways-spotlight-tags span {
    padding: 7px 10px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #dfe9ff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.inventory-spotlight-tags {
    margin-top: 2px;
}

.inventory-total-display {
    margin: 4px auto 0;
}

.dashboard-profile-shell,
.quests-section-shell,
.inventory-section-shell {
    padding: 24px;
}

.dashboard-profile-shell {
    border-color: rgba(127, 0, 255, 0.55);
}

.quests-section-shell {
    border-color: rgba(255, 255, 255, 0.12);
}

.quests-shell-alt {
    border-color: rgba(127, 0, 255, 0.45);
}

.quests-shell-muted {
    border-color: rgba(180, 191, 205, 0.26);
}

.inventory-section-shell {
    border-color: rgba(255, 255, 255, 0.12);
}

.quests-board-frame,
.inventory-shelf-frame,
.identity-section-shell,
.profile-section-shell {
    padding: 18px;
}

.quests-board-frame,
.inventory-shelf-frame {
    background: rgba(4, 6, 12, 0.92);
}

.inventory-toolbar-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px 14px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #dce6f7;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.inventory-toolbar-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 18px;
}

.inventory-toolbar-stack .inventory-toolbar-note {
    margin: 0;
}

.inventory-filter-bar {
    margin: 0;
}

.inventory-toolbar-note-secondary {
    color: #c8d2e3;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

#profile-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#profile-card > h1 {
    font-size: 22px;
    margin: 0;
}

.profile-header {
    margin-bottom: 24px;
    padding: 26px;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.12) 0%, rgba(127, 0, 255, 0.08) 46%, rgba(0, 0, 0, 0.94) 100%);
    border: 2px solid rgba(0, 204, 255, 0.28);
    border-radius: 0;
    overflow: hidden !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(0, 204, 255, 0.08);
}

.identity-section-shell,
.profile-section-shell {
    margin-top: 24px;
}

.identity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.identity-item {
    min-height: 88px;
    height: auto;
    padding: 14px 14px 16px;
    gap: 10px;
    border-left: none;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(6, 8, 14, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.identity-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--p-lila), #00ccff);
    box-shadow: 0 0 14px rgba(127, 0, 255, 0.28);
}

.identity-label {
    font-size: 7px;
    line-height: 1.5;
    letter-spacing: 2px;
    color: #8fa0b6;
}

.identity-data {
    font-size: 10px;
    line-height: 1.5;
}

.activity-history-box {
    margin-top: 20px;
    background: rgba(4, 6, 12, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55), 8px 8px 0 rgba(0, 0, 0, 0.78);
}

.history-title {
    border-bottom-style: solid;
    border-bottom-color: rgba(127, 0, 255, 0.24);
}

.roles-matrix {
    justify-content: flex-start;
}

.role-item .r-tag {
    background: rgba(255, 255, 255, 0.04);
}

.quest-card,
.quest-ach-card {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55), 8px 8px 0 rgba(0, 0, 0, 0.78);
}

@media (max-width: 1080px) {
    .dashboard-hero-panel,
    .quests-hero-panel,
    .inventory-hero-panel {
        grid-template-columns: 1fr;
    }

    .identity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dashboard-showcase,
    .quests-showcase,
    .inventory-showcase {
        gap: 18px;
    }

    .dashboard-copy-panel,
    .dashboard-spotlight-panel,
    .dashboard-profile-shell,
    .identity-section-shell,
    .profile-section-shell,
    .quests-copy-panel,
    .quests-spotlight-panel,
    .quests-section-shell,
    .quests-board-frame,
    .inventory-copy-panel,
    .inventory-spotlight-panel,
    .inventory-section-shell,
    .inventory-shelf-frame,
    .quest-card,
    .quest-ach-card,
    .activity-history-box {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .dashboard-main-title,
    .quests-main-title,
    .inventory-main-title,
    #profile-card > h1 {
        font-size: 16px;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 18px;
    }

    .dashboard-profile-shell,
    .quests-section-shell,
    .inventory-section-shell,
    .quests-board-frame,
    .inventory-shelf-frame,
    .identity-section-shell,
    .profile-section-shell {
        padding: 18px;
    }

    .identity-grid,
    .profile-ach-grid {
        grid-template-columns: 1fr;
    }

    .roles-matrix {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .dashboard-kicker,
    .quests-kicker,
    .inventory-kicker,
    .profile-card-kicker {
        letter-spacing: 2px;
        padding: 8px 12px;
    }

    .dashboard-spotlight-tags,
    .quests-spotlight-tags,
    .inventory-spotlight-tags {
        gap: 8px;
    }

    .dashboard-spotlight-tags span,
    .quests-spotlight-tags span,
    .inventory-spotlight-tags span,
    .inventory-toolbar-note {
        font-size: 7px;
    }
}
.inventory-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.inventory-stat-card {
    --accent: #8b9bb4;
    position: relative;
    overflow: hidden;
    min-height: 92px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(8, 8, 14, 0.96) 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
}

.inventory-stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.inventory-stat-card.accent-violet { --accent: #9d7dff; }
.inventory-stat-card.accent-green { --accent: #39ff88; }
.inventory-stat-card.accent-gold { --accent: #FFD700; }

.inventory-stat-label {
    font-size: 7px;
    letter-spacing: 2px;
    color: #9ba7b7;
}

.inventory-stat-value {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 0 12px var(--accent);
}

.inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    gap: 16px;
    max-width: none;
    padding: 10px 0 0;
    justify-content: center;
}

.inventory-grid .store-card {
    max-width: 260px;
    min-height: 100%;
}

.inventory-grid .store-card-header {
    min-height: 74px;
    padding: 14px 12px 12px;
}

.inventory-grid .store-title {
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.inventory-grid .store-card-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 14px 16px;
}

.inventory-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.inventory-grid .store-type-badge {
    margin-bottom: 0;
}

.inventory-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.inventory-state-chip {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #97a6ba;
    font-size: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.inventory-state-chip.active {
    color: #39ff88;
    border-color: rgba(57, 255, 136, 0.4);
    box-shadow: 0 0 10px rgba(57, 255, 136, 0.18);
}

.inventory-new-badge {
    box-shadow: 0 0 14px rgba(255, 178, 43, 0.3);
}

.inventory-item-value {
    min-height: 16px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 7px;
    letter-spacing: 2px;
    color: #98a6bb;
}

.inventory-grid .store-preview-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    margin-bottom: 14px;
}

.inventory-grid .store-item-preview {
    max-width: 92px;
    max-height: 92px;
    object-fit: contain;
    image-rendering: pixelated;
}

.inventory-grid .store-preview-fallback {
    width: 92px;
    height: 92px;
}

.inventory-grid .fallback-icon {
    font-size: 34px;
}

.inventory-grid .store-item-description {
    min-height: 72px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 7px;
    line-height: 1.8;
    color: #d7deea;
}

.inventory-grid .boost-timer {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.inventory-item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.inventory-item-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 8px;
    text-align: center;
    font-size: 6px;
    letter-spacing: 1.6px;
    color: #c8d2e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.inventory-grid .store-card-footer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
}

.inventory-grid .store-price {
    justify-content: center;
    text-align: center;
}

.inventory-grid .buy-btn {
    width: 100%;
    min-width: 0;
}
.inventory-shelf-frame {
    padding: 20px 14px 18px;
}

#sec-dash.external-profile-view .dashboard-hero-panel {
    display: none;
}

#sec-dash.external-profile-view .dashboard-showcase {
    padding-top: 0;
}

#sec-dash.external-profile-view .dashboard-showcase::before {
    top: 0;
    height: 160px;
}

#sec-dash.external-profile-view #dash-coins-item {
    display: none !important;
}

@media (max-width: 980px) {
    .inventory-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .inventory-dashboard {
        grid-template-columns: 1fr;
    }

    .inventory-stat-card {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

.profile-header {
    gap: 22px;
    padding: 20px 22px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar-container {
    width: 104px;
    height: 104px;
}

#dash-avatar {
    border-width: 2px;
}

.profile-main-info {
    min-width: 0;
}

.name-badge-wrapper {
    gap: 12px;
}

#dash-name {
    font-size: 20px;
    line-height: 1.25;
}

.profile-badges {
    gap: 4px;
    margin-top: -8px;
    transform: scale(0.88);
    transform-origin: top right;
}

.badge-item {
    width: 34px;
    height: 34px;
}

.badge-item > span {
    font-size: 19px;
}

.rank-display {
    margin-top: 4px;
    font-size: 9px;
}

.level-xp-container {
    gap: 12px;
    margin-top: 10px;
    padding: 8px 10px;
}

.level-badge {
    min-width: 56px;
    height: 56px;
    padding: 6px 8px;
}

.level-badge span:first-child {
    font-size: 6px;
}

.level-badge span:last-child {
    font-size: 14px;
}

.xp-bar-wrapper {
    min-width: 0;
}

.xp-info {
    gap: 12px;
    font-size: 7px;
}

.xp-bar-bg {
    height: 14px;
}

#dash-live-status {
    --live-status-duration: 12s;
    --live-status-scroll-distance: 0px;
}

#dash-live-status .live-status-data {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 8px;
    overflow: hidden;
}

#dash-live-status .live-status-prefix {
    flex: 0 0 auto;
    font-size: 11px;
}

#dash-live-status .live-status-marquee-mask {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

#dash-live-status .live-status-marquee-track {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
}

#dash-live-status .live-status-text {
    display: inline-block;
    white-space: nowrap;
}

#dash-live-status .live-status-divider {
    display: inline-block;
    flex: 0 0 auto;
    padding: 0 22px;
    opacity: 0.75;
}

#dash-live-status.is-scrolling .live-status-marquee-track {
    animation: liveStatusMarquee var(--live-status-duration) linear infinite;
}

#dash-live-status.is-scrolling:hover .live-status-marquee-track {
    animation-play-state: paused;
}

@keyframes liveStatusMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translate3d(calc(-1 * var(--live-status-scroll-distance)), 0, 0);
    }
}

@media (max-width: 760px) {
    .profile-header {
        gap: 16px;
        padding: 18px 16px;
    }

    .avatar-container {
        width: 88px;
        height: 88px;
    }

    .profile-badges {
        margin-top: 0;
        transform: scale(0.8);
        transform-origin: top left;
    }

    #dash-name {
        font-size: 16px;
    }

    .level-badge {
        min-width: 50px;
        height: 50px;
    }
}

.dashboard-profile-shell,
.identity-section-shell,
.profile-section-shell,
.profile-header,
.profile-main-info,
.name-badge-wrapper,
.profile-badges,
.roles-matrix {
    overflow: visible !important;
}

.badge-item,
.role-item {
    z-index: 1;
}

.badge-item:hover,
.badge-item:focus-within,
.role-item:hover,
.role-item:focus-within {
    z-index: 80;
}

.badge-tooltip,
.role-tooltip {
    z-index: 100080;
}


.missing-tab-shell {
    position: relative;
}

.missing-showcase {
    position: relative;
    padding: 18px 0 28px;
}

.missing-showcase::before {
    content: "";
    position: absolute;
    left: 60px;
    right: 60px;
    top: 26px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.16) 0%, rgba(127, 0, 255, 0.18) 42%, rgba(0, 204, 255, 0.1) 72%, transparent 100%);
    filter: blur(46px);
    pointer-events: none;
    opacity: 0.92;
}

.missing-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 34px 28px 32px;
    background: linear-gradient(180deg, rgba(19, 14, 24, 0.98) 0%, rgba(8, 10, 18, 0.98) 58%, rgba(0, 0, 0, 0.98) 100%);
    border: 2px solid rgba(255, 0, 85, 0.36);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 26px rgba(255, 0, 85, 0.12);
    text-align: center;
}

.missing-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.missing-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    margin: 0 auto 18px;
    font-size: 8px;
    letter-spacing: 3px;
    color: #ff8cb4;
    border: 1px solid rgba(255, 0, 85, 0.45);
    background: rgba(255, 0, 85, 0.08);
    box-shadow: 0 0 12px rgba(255, 0, 85, 0.14);
}

.missing-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.55;
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 0, 85, 0.16), 0 0 24px rgba(127, 0, 255, 0.16);
}

.missing-subtitle,
.missing-note {
    margin: 0 auto;
    max-width: 700px;
    font-size: 9px;
    line-height: 1.9;
    color: #b7c2d1;
}

.missing-path-box {
    margin: 24px auto 18px;
    max-width: 560px;
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0, 0, 0, 0.36);
    box-shadow: inset 0 0 16px rgba(255,255,255,0.03);
}

.missing-path-label {
    display: block;
    margin-bottom: 10px;
    font-size: 7px;
    letter-spacing: 2px;
    color: #8fa2b8;
}

.missing-path-value {
    display: block;
    font-size: 11px;
    line-height: 1.7;
    color: #ffd86b;
    word-break: break-word;
    text-shadow: 0 0 10px rgba(255, 215, 107, 0.18);
}

.missing-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.missing-secondary-btn {
    background: #111;
    color: #fff;
    box-shadow: -4px 0 0 #000, 4px 0 0 #000, 0 -4px 0 #000, 0 4px 0 #000;
}

.missing-secondary-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 760px) {
    .missing-panel {
        padding: 26px 18px 24px;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .missing-title {
        font-size: 16px;
    }

    .missing-actions {
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .missing-actions {
        flex-direction: column;
    }

    .missing-actions .p-btn-cta {
        width: 100%;
    }
}

:root {
    --site-shell-max: 1180px;
    --site-shell-max-wide: 1440px;
    --site-shell-gutter: clamp(12px, 2.4vw, 28px);
    --site-nav-gutter: clamp(14px, 2.8vw, 40px);
}

html, body {
    width: 100%;
    min-height: 100%;
}

#spati-app {
    min-height: 100%;
}

main.content-wrapper {
    min-height: 0;
    padding: clamp(20px, 3vw, 40px) var(--site-shell-gutter) clamp(24px, 3.2vw, 40px);
}

section.tab-content {
    width: 100%;
}

img,
canvas {
    max-width: 100%;
}

.home-tab-shell,
.quests-tab-shell,
.store-tab-shell,
.inventory-tab-shell,
.dashboard-tab-shell,
.leaderboard-tab-shell,
.stats-tab-shell,
.giveaways-tab-shell,
.missing-tab-shell {
    width: min(100%, var(--site-shell-max)) !important;
    max-width: min(var(--site-shell-max), calc(100vw - (var(--site-shell-gutter) * 2))) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    align-items: stretch;
}

.stats-chart-shell .chart-wrapper,
#sec-stats .chart-wrapper {
    height: clamp(260px, 46vh, 380px) !important;
}

@supports (height: 100svh) {
    html,
    body,
    #spati-app {
        min-height: 100svh;
    }

    .modal-content {
        max-height: calc(100svh - 20px);
    }
}

@media (max-width: 1180px), (max-aspect-ratio: 5/4) {
    .pixel-nav {
        padding-block: 10px 12px;
    }

    .nav-container {
        padding-inline: var(--site-nav-gutter);
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .nav-links {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        order: 3;
    }

    .nav-auth {
        margin-left: auto;
    }

    .home-hero-panel,
    .store-hero-panel,
    .quests-hero-panel,
    .inventory-hero-panel,
    .dashboard-hero-panel,
    .leaderboard-hero-panel,
    .stats-hero-panel,
    .giveaways-hero-panel {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 900px), (max-aspect-ratio: 4/3) {
    .content-wrapper {
        padding: 20px var(--site-shell-gutter) 26px;
    }

    .nav-container {
        align-items: center;
    }

    .nav-logo {
        width: 100%;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .nav-auth {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .nav-links {
        display: flex !important;
    }

    .nav-links li {
        display: contents;
    }

    .nav-links a,
    .p-btn-nav,
    .user-pill-trigger {
        min-width: 0;
        min-height: 42px;
        padding-inline: 12px;
        font-size: 8px;
    }

    .nav-links a {
        flex: 1 1 150px;
    }

    .user-pill-wrapper {
        width: min(100%, 440px);
    }

    .user-pill-trigger,
    #login-btn {
        width: 100%;
        justify-content: center;
    }

    .cyber-dropdown {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    #side-neon-sign {
        display: none;
    }

    .store-dashboard,
    .inventory-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .leaderboard-overall-board {
        overflow-x: auto;
    }

    .leaderboard-overall-head,
    .leaderboard-overall-row {
        min-width: 820px;
    }

    .stats-chart-shell .chart-wrapper,
    #sec-stats .chart-wrapper {
        height: clamp(240px, 40vh, 340px) !important;
    }

    .modal-content {
        width: min(900px, calc(100vw - 18px));
        max-width: calc(100vw - 18px);
        height: min(88vh, calc(100svh - 18px));
    }

    #logout-modal .modal-content {
        width: min(450px, calc(100vw - 22px)) !important;
        padding: 26px 18px !important;
    }
}

@media (max-width: 760px) {
    .logo-text {
        font-size: clamp(14px, 4vw, 18px);
        letter-spacing: 1px;
    }

    .nav-logo-icon {
        height: 34px;
    }

    .logo-sep {
        width: 14px;
        height: 14px;
    }

    .nav-links {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nav-links a {
        width: 100%;
    }

    .quest-section-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .quest-section-header h2 {
        font-size: clamp(10px, 3vw, 12px) !important;
        line-height: 1.5;
    }

    .store-dashboard,
    .inventory-dashboard,
    .profile-ach-grid {
        grid-template-columns: 1fr !important;
    }

    .leaderboard-overall-head,
    .leaderboard-overall-row {
        min-width: 720px;
    }
}

@media (max-width: 520px) {
    .content-wrapper {
        padding: 16px 12px 22px;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-links a,
    .p-btn-nav,
    .user-pill-trigger {
        font-size: 8px;
        min-height: 40px;
    }

    .leaderboard-overall-head,
    .leaderboard-overall-row {
        min-width: 640px;
    }

    .stats-chart-shell .chart-wrapper,
    #sec-stats .chart-wrapper {
        height: clamp(220px, 34vh, 300px) !important;
    }
}

@media (min-width: 1600px) and (min-aspect-ratio: 21/9) {
    .home-tab-shell,
    .quests-tab-shell,
    .store-tab-shell,
    .inventory-tab-shell,
    .dashboard-tab-shell,
    .leaderboard-tab-shell,
    .stats-tab-shell,
    .giveaways-tab-shell,
    .missing-tab-shell {
        max-width: min(var(--site-shell-max-wide), calc(100vw - 72px)) !important;
    }

    .content-wrapper {
        padding-top: 30px;
        padding-bottom: 34px;
    }
}

@media (max-aspect-ratio: 5/4) and (min-width: 901px) {
    .home-tab-shell,
    .quests-tab-shell,
    .store-tab-shell,
    .inventory-tab-shell,
    .dashboard-tab-shell,
    .leaderboard-tab-shell,
    .stats-tab-shell,
    .giveaways-tab-shell,
    .missing-tab-shell {
        max-width: min(1040px, calc(100vw - 44px)) !important;
    }

    .home-showcase::before,
    .store-showcase::before,
    .dashboard-showcase::before,
    .quests-showcase::before,
    .inventory-showcase::before,
    .leaderboard-showcase::before,
    .stats-showcase::before,
    .giveaways-showcase::before,
    .missing-showcase::before {
        left: 20px;
        right: 20px;
        height: 170px;
    }

    .stats-chart-shell .chart-wrapper,
    #sec-stats .chart-wrapper {
        height: clamp(240px, 36vh, 320px) !important;
    }
}

@media (max-aspect-ratio: 3/4) {
    .hologram-container {
        width: 260vw;
        height: 260vw;
        transform: translate(-50%, -6%) perspective(1000px) rotateX(75deg);
    }
}


@media (max-width: 1024px), (max-aspect-ratio: 4/3) {
    .home-highlight-grid,
    .leaderboard-grid,
    .info-grid {
        grid-template-columns: 1fr !important;
    }

    .leaderboard-grid {
        gap: 22px;
    }

    .leaderboard-overall-intro,
    .profile-header,
    .name-badge-wrapper,
    .level-xp-container,
    .osc-header,
    .system-tape-deck {
        flex-direction: column;
        align-items: flex-start;
    }

    .leaderboard-overall-chip {
        align-self: flex-start;
    }

    .giveaway-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        justify-items: stretch;
    }

    .gv-card {
        width: min(100%, 420px);
        max-width: 100%;
        height: auto;
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .profile-header,
    .leaderboard-overall-intro,
    .osc-header,
    .system-tape-deck,
    .horizontal-content {
        align-items: stretch;
        text-align: left;
    }

    .profile-main-info,
    .name-badge-wrapper,
    .level-xp-container,
    .home-highlight-copy,
    .leaderboard-overall-copy,
    .tape-date {
        width: 100%;
        min-width: 0;
    }

    .store-filter-bar {
        justify-content: stretch;
    }

    .store-filter-btn {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    .podium-container {
        gap: 10px;
        height: auto;
        min-height: 170px;
        margin-bottom: 22px;
    }

    .podium-item {
        width: clamp(78px, 29vw, 96px);
    }

    .podium-avatar {
        width: 44px;
        height: 44px;
    }

    .rank-1 .podium-avatar {
        width: 64px;
        height: 64px;
    }

    .crown {
        top: -30px;
        font-size: 24px;
    }

    .gv-card {
        min-height: 0;
        padding: 18px;
    }

    .flatpickr-calendar {
        width: min(338px, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 520px) {
    .giveaway-join-item {
        gap: 10px;
        min-height: 60px;
        padding: 12px;
    }

    .giveaway-join-avatar {
        width: 40px;
        height: 40px;
    }

    .giveaway-join-name {
        font-size: 9px;
    }

    .profile-header,
    .dashboard-profile-shell,
    .store-hero-copy,
    .store-spotlight-card,
    .quests-copy-panel,
    .quests-spotlight-panel,
    .inventory-copy-panel,
    .inventory-spotlight-panel,
    .leaderboard-copy-panel,
    .leaderboard-spotlight-panel,
    .stats-copy-panel,
    .stats-spotlight-panel,
    .giveaways-copy-panel,
    .giveaways-spotlight-panel,
    .missing-panel {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .leaderboard-overall-board {
        padding: 16px 14px;
    }
}

@media (max-height: 760px) {
    .content-wrapper {
        padding-top: 18px;
        padding-bottom: 22px;
    }

    .home-showcase::before,
    .store-showcase::before,
    .dashboard-showcase::before,
    .quests-showcase::before,
    .inventory-showcase::before,
    .leaderboard-showcase::before,
    .stats-showcase::before,
    .giveaways-showcase::before,
    .missing-showcase::before {
        height: 150px;
        filter: blur(34px);
    }

    .modal-content {
        height: min(92vh, calc(100svh - 14px));
    }
}

@media (orientation: landscape) and (max-height: 620px) {
    .nav-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-logo-icon {
        height: 28px;
    }

    .nav-links a,
    .p-btn-nav,
    .user-pill-trigger {
        min-height: 38px;
    }

    .content-wrapper {
        padding-top: 14px;
        padding-bottom: 18px;
    }
}


#store-shelf-shell,
#inventory-locker-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 28px 18px 38px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 18, 30, 0.96) 12%, rgba(5, 7, 14, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.68), 12px 12px 0 rgba(0, 0, 0, 0.86), inset 0 0 30px rgba(255, 255, 255, 0.03);
}

#store-shelf-shell {
    --shell-accent: #00f3ff;
    --shell-accent-soft: rgba(0, 243, 255, 0.20);
    border-color: rgba(0, 243, 255, 0.22);
}

#inventory-locker-shell {
    --shell-accent: #171b22;
    --shell-accent-soft: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.10);
}

#store-shelf-shell::before,
#inventory-locker-shell::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 14px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, var(--shell-accent-soft) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

#store-shelf-shell::after,
#inventory-locker-shell::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--shell-accent) 10%, var(--shell-accent) 90%, transparent 100%);
    box-shadow: 0 0 16px var(--shell-accent-soft), 0 3px 0 rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

#store-items-list,
#inventory-items-list {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(4, 6, 12, 0.88) 100%);
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.28);
}

#store-items-list {
    border-color: rgba(0, 243, 255, 0.16);
}

#inventory-items-list {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(4, 6, 12, 0.94) 100%);
}

#store-items-list.store-grid,
#inventory-items-list.inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
    gap: 18px;
    align-items: stretch;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 16px 14px;
}

#inventory-items-list.inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 1040px;
    padding: 20px 18px 18px;
}

#store-items-list .store-card,
#inventory-items-list .store-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-width: none;
    margin: 0;
    border-width: 1px;
    backdrop-filter: blur(3px);
}

#store-items-list .store-card {
    border-color: color-mix(in srgb, var(--store-color) 78%, #ffffff 22%);
    background: linear-gradient(180deg, rgba(16, 18, 28, 0.98) 0%, rgba(8, 10, 18, 0.96) 56%, rgba(0, 0, 0, 0.98) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 4px rgba(0, 0, 0, 0.56), 8px 8px 0 rgba(0, 0, 0, 0.84);
}

#inventory-items-list .store-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(20, 22, 30, 0.99) 0%, rgba(10, 12, 19, 0.98) 58%, rgba(5, 7, 12, 0.98) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 0 4px rgba(0, 0, 0, 0.58), 8px 8px 0 rgba(0, 0, 0, 0.84);
}

#store-items-list .store-card::before,
#inventory-items-list .store-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    pointer-events: none;
}

#store-items-list .store-card::before {
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--store-color) 84%, #ffffff 16%) 18%, color-mix(in srgb, var(--store-color) 84%, #ffffff 16%) 82%, transparent 100%);
}

#inventory-items-list .store-card::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.34) 18%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 215, 0, 0.34) 82%, transparent 100%);
}

#inventory-items-list .store-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.14) 49% 100%);
    opacity: 0.58;
    pointer-events: none;
}

#store-items-list .store-card:hover,
#inventory-items-list .store-card:hover {
    transform: translateY(-6px);
}

#inventory-items-list .store-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 16px rgba(255, 255, 255, 0.05), 10px 10px 0 rgba(0, 0, 0, 0.86);
}

#store-items-list .store-card-header,
#inventory-items-list .store-card-header {
    padding: 14px 14px 12px;
    min-height: 74px;
    justify-content: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

#inventory-items-list .store-card-header {
    min-height: 82px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
}

#store-items-list .store-title,
#inventory-items-list .store-title {
    font-size: 9px;
    line-height: 1.55;
    text-align: left;
}

#inventory-items-list .store-title {
    font-size: 10px;
    min-height: 28px;
    letter-spacing: 1.8px;
    color: #eef3fb;
}

#inventory-items-list .store-icon {
    min-width: 34px;
    font-size: 24px;
}

#store-items-list .store-card-body,
#inventory-items-list .store-card-body {
    padding: 14px;
    align-items: stretch;
    gap: 12px;
}

#inventory-items-list .store-card-body {
    gap: 10px;
}

#inventory-items-list .inventory-card-topline {
    justify-content: space-between;
    margin-bottom: 0;
}

#inventory-items-list .inventory-chip-row {
    justify-content: flex-start;
}

#store-items-list .store-preview-wrapper,
#inventory-items-list .store-preview-wrapper {
    min-height: 116px;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

#store-items-list .store-preview-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.24) 100%);
}

#inventory-items-list .store-preview-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(0, 0, 0, 0.26) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    min-height: 126px;
}

#inventory-items-list .store-preview-wrapper:hover {
    border-color: rgba(255, 215, 0, 0.20);
}

#inventory-items-list .store-preview-link,
#inventory-items-list .store-preview-fallback {
    width: 100%;
}

#inventory-items-list .store-preview-fallback {
    width: 100%;
    height: 96px;
}

#inventory-items-list .store-item-preview {
    max-width: 100%;
    max-height: 96px;
}

#inventory-items-list .inventory-item-value {
    min-height: 30px;
    margin-bottom: 0;
    padding: 8px 10px;
    text-align: center;
    font-size: 6px;
    letter-spacing: 1.7px;
    color: #d9e1ee;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
}

#inventory-items-list .inventory-item-value:empty {
    display: none;
}

#inventory-items-list .store-item-description {
    min-height: 60px;
    margin-bottom: 0;
    padding: 0 2px;
    font-size: 7px;
    line-height: 1.72;
    text-align: left;
    color: #d4dcea;
}

#inventory-items-list .inventory-item-meta {
    margin-bottom: 0;
}

#inventory-items-list .inventory-item-meta span {
    min-height: 30px;
    padding: 7px 8px;
    font-size: 6px;
    line-height: 1.55;
    color: #afbccd;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

#inventory-items-list .store-card-footer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#inventory-items-list .store-price {
    min-height: 42px;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: none;
}

#inventory-items-list .buy-btn {
    width: 100%;
    min-width: 0;
    height: 42px;
}

.inventory-filter-empty-state {
    grid-column: 1 / -1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(6, 8, 14, 0.96) 100%);
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.inventory-filter-empty-kicker {
    padding: 6px 12px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(255, 215, 0, 0.05);
    color: #ffd86a;
    font-size: 7px;
    letter-spacing: 2.4px;
}

.inventory-filter-empty-title {
    color: #eef3fb;
    font-size: 13px;
    line-height: 1.45;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

.inventory-filter-empty-text {
    max-width: 520px;
    margin: 0;
    color: #9fb0c5;
    font-size: 8px;
    line-height: 1.8;
}

@media (max-width: 760px) {
    #store-shelf-shell,
    #inventory-locker-shell {
        padding: 22px 14px 30px;
    }

    #store-items-list.store-grid,
    #inventory-items-list.inventory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        padding: 16px 12px 10px;
    }
}

@media (max-width: 520px) {
    #store-items-list.store-grid,
    #inventory-items-list.inventory-grid {
        grid-template-columns: 1fr;
    }
}

/* Cosmetic Card Refinement */
#store-items-list .store-card.cosmetic-card,
#inventory-items-list .store-card.cosmetic-card {
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.96) 0%, rgba(3, 4, 8, 0.99) 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

#store-items-list .store-card.cosmetic-card .store-card-body,
#inventory-items-list .store-card.cosmetic-card .store-card-body {
    gap: 14px;
}

#store-items-list .store-card.cosmetic-card .store-preview-wrapper,
#inventory-items-list .store-card.cosmetic-card .store-preview-wrapper {
    min-height: 168px;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(0, 0, 0, 0.28) 100%);
}

#inventory-items-list .store-card.cosmetic-card .store-preview-wrapper {
    min-height: 176px;
}

#store-items-list .store-card.cosmetic-card .store-item-description,
#inventory-items-list .store-card.cosmetic-card .store-item-description {
    min-height: 48px;
    color: #d8e2f2;
}

#store-items-list .store-card.cosmetic-card .store-item-meta span,
#inventory-items-list .store-card.cosmetic-card .inventory-item-meta span {
    background: rgba(255, 255, 255, 0.035);
}




.partner-tab-shell {
    position: relative;
    width: 100%;
}

.partner-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 6px 0 28px;
}

.partner-showcase::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 18px;
    height: 260px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.22) 0%, rgba(0, 204, 255, 0.13) 34%, rgba(255, 0, 85, 0.08) 68%, transparent 100%);
    filter: blur(46px);
    pointer-events: none;
    opacity: 0.95;
}

.partner-showcase > * {
    position: relative;
    z-index: 1;
}

.partner-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 22px;
    align-items: stretch;
}

.partner-copy-panel,
.partner-spotlight-panel,
.partner-stage-shell,
.partner-section-shell,
.partner-stat-card,
.partner-column-card {
    position: relative;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
}

.partner-copy-panel::before,
.partner-spotlight-panel::before,
.partner-stage-shell::before,
.partner-section-shell::before,
.partner-stat-card::before,
.partner-column-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.partner-copy-panel,
.partner-spotlight-panel {
    padding: 26px 26px 28px;
}

.partner-copy-panel {
    border-color: rgba(127, 0, 255, 0.86);
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.14) 0%, rgba(0, 204, 255, 0.07) 42%, rgba(0, 0, 0, 0.94) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(127, 0, 255, 0.18);
}

.partner-spotlight-panel {
    border-color: rgba(0, 255, 136, 0.62);
    background: linear-gradient(180deg, rgba(12, 18, 24, 0.94) 0%, rgba(4, 8, 12, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 10px 10px 0 rgba(0, 0, 0, 0.82), 0 0 24px rgba(0, 255, 136, 0.12);
}

.partner-kicker,
.partner-spotlight-label,
.partner-column-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.partner-kicker {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.44);
    background: rgba(0, 243, 255, 0.08);
    margin: 0 auto 18px;
}

.partner-spotlight-label {
    color: #89ffc7;
    border-color: rgba(0, 255, 136, 0.44);
    background: rgba(0, 255, 136, 0.08);
    margin-bottom: 18px;
}

.partner-column-kicker {
    color: #ffd86b;
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.07);
    margin-bottom: 16px;
}

.partner-main-title {
    margin: 0;
    text-align: center;
    color: #eff4ff;
    font-size: 28px;
    line-height: 1.38;
    text-shadow: 0 0 15px rgba(127, 0, 255, 0.34), 0 0 24px rgba(0, 204, 255, 0.14);
}

.partner-main-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    text-align: center;
    color: #b5c2d4;
    font-size: 8px;
    line-height: 1.9;
    letter-spacing: 1px;
}

.partner-marquee {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    color: #d8e4f5;
    font-size: 7px;
    letter-spacing: 2px;
}

.partner-anchor-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.partner-anchor-btn,
.partner-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #edf5ff;
    font-size: 7px;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.partner-anchor-btn:hover,
.partner-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 243, 255, 0.42);
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.12);
}

.partner-action-btn {
    background: rgba(0, 0, 0, 0.34);
}

.partner-action-btn.alt {
    border-color: rgba(255, 215, 0, 0.28);
    color: #ffe48b;
}

.partner-action-btn.ghost {
    border-color: rgba(255, 255, 255, 0.12);
    color: #c8d4e6;
}

.partner-spotlight-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(255, 215, 0, 0.06);
    color: #ffe07a;
    font-size: 7px;
    letter-spacing: 2px;
}

.partner-spotlight-title {
    margin: 0;
    color: #f4f8ff;
    font-size: 24px;
    line-height: 1.4;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.1);
}

.partner-spotlight-text {
    margin: 16px 0 0;
    color: #c3d0e0;
    font-size: 8px;
    line-height: 1.85;
}

.partner-spotlight-tags,
.partner-stage-tags,
.partner-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-spotlight-tags {
    margin-top: 18px;
}

.partner-spotlight-tags span,
.partner-stage-tags span,
.partner-card-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.045);
    color: #dce7f8;
    font-size: 6px;
    letter-spacing: 1.7px;
}

.partner-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner-stat-card {
    padding: 16px 18px 18px;
}

.partner-stat-label {
    display: block;
    margin-bottom: 12px;
    color: #97a7be;
    font-size: 7px;
    letter-spacing: 2px;
}

.partner-stat-value {
    color: #f5f9ff;
    font-size: 22px;
    line-height: 1;
}

.partner-stat-card.accent-purple { border-color: rgba(127, 0, 255, 0.68); }
.partner-stat-card.accent-green { border-color: rgba(0, 255, 136, 0.58); }
.partner-stat-card.accent-blue { border-color: rgba(0, 204, 255, 0.58); }
.partner-stat-card.accent-gold { border-color: rgba(255, 215, 0, 0.5); }

.partner-stage-shell,
.partner-section-shell {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(6, 8, 14, 0.96) 100%);
}

.partner-stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 392px);
    gap: 24px;
    align-items: stretch;
}

.partner-stage-media,
.partner-stage-side {
    min-width: 0;
}

.partner-stage-side {
    display: flex;
}

.partner-stage-player-shell,
.partner-stage-poster,
.partner-stage-dossier {
    position: relative;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.partner-stage-player-shell {
    aspect-ratio: 16 / 9;
    border-color: rgba(255, 255, 255, 0.12);
}

.partner-stage-player-shell::after,
.partner-stage-poster::after,
.partner-stage-dossier::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid color-mix(in srgb, var(--partner-accent, #7F00FF) 50%, transparent);
    pointer-events: none;
}

.partner-stage-player-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #05070d;
}

.partner-stage-poster {
    min-height: 380px;
}

.partner-stage-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.02);
}

.partner-stage-poster-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(3, 5, 10, 0.78) 36%, rgba(3, 5, 10, 0.96) 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-stage-poster-overlay strong {
    color: #f2f7ff;
    font-size: 22px;
    line-height: 1.3;
}

.partner-stage-poster-overlay p {
    margin: 0;
    color: #d2deed;
    font-size: 8px;
    line-height: 1.8;
}

.partner-stage-poster-actions,
.partner-stage-actions,
.partner-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-stage-dossier {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-stage-head {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.partner-stage-avatar,
.partner-card-avatar {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.partner-stage-avatar {
    width: 82px;
    height: 82px;
}

.partner-card-avatar {
    width: 54px;
    height: 54px;
}

.partner-stage-avatar img,
.partner-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-stage-platform {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #8fffe2;
    font-size: 6px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.partner-stage-headcopy h3 {
    margin: 0;
    color: #f5f8ff;
    font-size: 22px;
    line-height: 1.3;
}

.partner-stage-headcopy p,
.partner-stage-description,
.partner-stage-feed-card p,
.partner-card-copy,
.partner-card-focus,
.partner-empty-state {
    margin: 0;
    color: #c8d5e6;
    font-size: 8px;
    line-height: 1.8;
}

.partner-stage-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.partner-stage-meta-grid div,
.partner-stage-feed-card {
    padding: 12px 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
}

.partner-stage-meta-grid span,
.partner-stage-feed-label,
.partner-card-metric {
    display: block;
    color: #95a6be;
    font-size: 6px;
    letter-spacing: 1.8px;
}

.partner-stage-meta-grid strong,
.partner-stage-feed-card strong {
    display: block;
    margin-top: 8px;
    color: #f0f6ff;
    font-size: 9px;
    line-height: 1.6;
}

.partner-shelf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.partner-shelf-grid-live {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-column-card {
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(6, 8, 14, 0.98) 100%);
}

.twitch-column-glow { border-color: rgba(145, 71, 255, 0.46); }
.tiktok-column-glow { border-color: rgba(255, 0, 128, 0.42); }
.youtube-column-glow { border-color: rgba(255, 67, 67, 0.42); }
.discord-column-glow { border-color: rgba(88, 101, 242, 0.44); }
.other-column-glow { border-color: rgba(255, 176, 93, 0.42); }

.partner-card-grid {
    display: grid;
    gap: 14px;
}

.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(10, 12, 20, 0.98) 0%, rgba(4, 5, 10, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.partner-card:hover,
.partner-card.is-active {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--partner-accent, #7F00FF) 58%, rgba(255, 255, 255, 0.16));
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24), 0 0 18px color-mix(in srgb, var(--partner-accent, #7F00FF) 22%, transparent);
}

.partner-card.is-live {
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24), 0 0 18px rgba(0, 255, 136, 0.12);
}

.partner-card-cover {
    position: relative;
    height: 118px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 14, 0.12) 0%, rgba(5, 8, 14, 0.68) 100%);
}

.partner-status-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.56);
    color: #eff6ff;
    font-size: 6px;
    letter-spacing: 1.8px;
}

.partner-card .partner-status-chip {
    position: absolute;
    top: 12px;
    right: 12px;
}

.partner-status-chip.tone-live {
    border-color: rgba(0, 255, 136, 0.36);
    color: #89ffc7;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.12);
}

.partner-status-chip.tone-feed {
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffe17d;
}

.partner-status-chip.tone-idle {
    border-color: rgba(255, 255, 255, 0.16);
    color: #d3deee;
}

.partner-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    flex: 1;
}

.partner-card-topline {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.partner-card-heading strong {
    display: block;
    color: #f5f8ff;
    font-size: 10px;
    line-height: 1.45;
}

.partner-card-heading span {
    display: block;
    margin-top: 6px;
    color: #9ab0c8;
    font-size: 6px;
    letter-spacing: 1.6px;
}

.partner-card-focus {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #e2eaf5;
    font-size: 7px;
}

.partner-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-empty-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.partner-empty-state.small {
    min-height: 120px;
}

.partner-showcase > .partner-section-shell:last-child {
    padding-bottom: 34px;
}

.partner-showcase > .partner-section-shell:last-child::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 6px;
    background: linear-gradient(90deg, #5f3200 0%, #c7791d 50%, #5f3200 100%);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.38);
}

@media (max-width: 1180px) {
    .partner-hero-panel,
    .partner-stage-grid,
    .partner-shelf-grid-live {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .partner-dashboard,
    .partner-shelf-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .partner-copy-panel,
    .partner-spotlight-panel,
    .partner-stage-shell,
    .partner-section-shell,
    .partner-column-card,
    .partner-stat-card {
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.65), 6px 6px 0 rgba(0, 0, 0, 0.8);
    }

    .partner-copy-panel,
    .partner-spotlight-panel,
    .partner-stage-shell,
    .partner-section-shell {
        padding: 16px 14px 22px;
    }

    .partner-main-title,
    .partner-spotlight-title {
        font-size: 22px;
    }

    .partner-stage-head,
    .partner-card-topline,
    .partner-stage-meta-grid {
        grid-template-columns: 1fr;
    }

    .partner-stage-avatar,
    .partner-card-avatar {
        width: 70px;
        height: 70px;
    }
}
/* Partner stage tuning: cleaner separation between media and dossier */
.partner-stage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 392px);
    gap: 24px;
    align-items: stretch;
}

.partner-stage-side {
    display: flex;
}

.partner-stage-dossier {
    width: 100%;
    background: linear-gradient(180deg, rgba(12, 14, 22, 0.975) 0%, rgba(5, 7, 12, 0.995) 100%);
}

.partner-stage-description {
    max-width: 34ch;
}

.partner-stage-meta-grid {
    gap: 12px;
}

.partner-stage-feed-card {
    min-height: 96px;
}

/* Partner stage wide layout for full live stream visibility */
.partner-tab-shell {
    max-width: 1320px !important;
}

.partner-stage-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 352px);
    gap: 20px;
}

.partner-stage-player-shell {
    min-height: 430px;
}

/* Partner stage final polish: full live stream focus with separate dossier */
.partner-tab-shell {
    max-width: 1440px !important;
}

.partner-stage-shell {
    overflow: visible;
}

.partner-stage-grid {
    grid-template-columns: minmax(0, 1.34fr) minmax(336px, 364px);
    gap: 28px;
    align-items: start;
}

.partner-stage-media,
.partner-stage-side {
    display: flex;
    align-self: stretch;
}

.partner-stage-player-shell,
.partner-stage-poster {
    width: 100%;
    min-height: 0;
}

.partner-stage-player-shell {
    aspect-ratio: 16 / 9;
    background: #04060b;
}

.partner-stage-dossier {
    width: 100%;
    background: rgba(8, 10, 18, 0.985);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 26px rgba(0, 0, 0, 0.34);
}

.partner-stage-meta-grid div,
.partner-stage-feed-card {
    background: rgba(9, 11, 19, 0.92);
}

.partner-stage-feed-card {
    min-height: 104px;
}

.partner-stage-description {
    max-width: none;
}

@media (max-width: 1180px) {
    .partner-stage-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.partner-akte-shell {
    position: relative;
    display: grid;
    gap: 18px;
}

.partner-akte-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 360px);
    gap: 18px;
}

.partner-akte-banner,
.partner-akte-sidecard,
.partner-akte-feed-shell,
.partner-akte-links-shell {
    position: relative;
    border: 1px solid rgba(127, 0, 255, 0.6);
    background: linear-gradient(180deg, rgba(15, 17, 28, 0.96) 0%, rgba(6, 8, 14, 0.985) 100%);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.7), 8px 8px 0 rgba(0, 0, 0, 0.72);
}

.partner-akte-banner {
    min-height: 304px;
    overflow: hidden;
}

.partner-akte-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.partner-akte-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.18) 0%, rgba(6, 9, 14, 0.6) 48%, rgba(6, 9, 14, 0.96) 100%);
}

.partner-akte-banner-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    gap: 16px;
}

.partner-akte-head {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: end;
}

.partner-akte-avatar {
    width: 104px;
    height: 104px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    background: rgba(5, 7, 12, 0.92);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.partner-akte-avatar img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.partner-akte-headcopy {
    min-width: 0;
}

.partner-akte-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #00d9ff;
    color: #8af6ff;
    background: rgba(0, 217, 255, 0.08);
    font-size: 7px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.partner-akte-title {
    color: #f4f7ff;
    font-size: 26px;
    line-height: 1.05;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.partner-akte-handle {
    margin-top: 8px;
    color: #b2c0d6;
    font-size: 10px;
}

.partner-akte-subtitle {
    color: #eef4ff;
    font-size: 9px;
    line-height: 1.55;
    max-width: 64ch;
}

.partner-akte-tags,
.partner-akte-socials,
.partner-akte-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-akte-tags span,
.partner-akte-social-link,
.partner-akte-footer-actions .partner-action-btn {
    min-height: 36px;
}

.partner-akte-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 14, 0.78);
    color: #f3f7ff;
    font-size: 7px;
    letter-spacing: 1.4px;
}

.partner-akte-sidecard {
    padding: 20px 18px 18px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.partner-akte-sidecard-title,
.partner-akte-section-title {
    color: #f4f8ff;
    font-size: 14px;
    line-height: 1.3;
}

.partner-akte-sidecard-copy,
.partner-akte-feed-copy {
    color: #bdc9d9;
    font-size: 8px;
    line-height: 1.6;
}

.partner-akte-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.partner-akte-info-card {
    min-height: 86px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 19, 0.92);
}

.partner-akte-info-card span,
.partner-akte-feed-label,
.partner-akte-links-label {
    display: block;
    color: #7f97b3;
    font-size: 6px;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
}

.partner-akte-info-card strong,
.partner-akte-feed-title {
    display: block;
    color: #f4f7ff;
    font-size: 11px;
    line-height: 1.35;
}

.partner-akte-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 330px);
    gap: 18px;
    align-items: start;
}

.partner-akte-feed-shell,
.partner-akte-links-shell {
    padding: 20px 18px 24px;
}

.partner-akte-feed-media {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #03060d;
    overflow: hidden;
    margin-top: 16px;
}

.partner-akte-feed-media iframe,
.partner-akte-feed-media img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.partner-akte-feed-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.partner-akte-feed-meta div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 19, 0.92);
}

.partner-akte-feed-meta strong {
    display: block;
    color: #f4f8ff;
    font-size: 9px;
    line-height: 1.45;
}

.partner-akte-feed-meta span {
    display: block;
    margin-bottom: 8px;
    color: #7f97b3;
    font-size: 6px;
    letter-spacing: 1.6px;
}

.partner-akte-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 10, 18, 0.94);
    color: #f4f7ff;
    text-decoration: none;
    font-size: 7px;
    letter-spacing: 1.4px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-akte-social-link:hover {
    transform: translateY(-1px);
    border-color: var(--partner-accent, #7F00FF);
    box-shadow: 0 0 18px rgba(127, 0, 255, 0.18);
}

.partner-akte-social-link small {
    display: inline-block;
    margin-left: 8px;
    color: #7f97b3;
    font-size: 6px;
    letter-spacing: 1px;
}

.partner-akte-links-shell {
    display: grid;
    gap: 16px;
}

.partner-akte-links-stack {
    display: grid;
    gap: 12px;
}

.partner-akte-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #d6deea;
    font-size: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 19, 0.92);
}

@media (max-width: 1100px) {
    .partner-akte-hero,
    .partner-akte-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .partner-akte-head,
    .partner-akte-info-grid,
    .partner-akte-feed-meta {
        grid-template-columns: 1fr;
    }

    .partner-akte-avatar {
        width: 82px;
        height: 82px;
    }

    .partner-akte-title {
        font-size: 20px;
    }
}
/* Partner floors: compact columns with clean multi-card layout */
.partner-shelf-grid,
.partner-shelf-grid-live {
    align-items: start;
}

.partner-shelf-grid-live {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.partner-column-card {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 14px;
    min-height: 0;
}

.partner-column-card .partner-column-kicker {
    margin-bottom: 0;
}

.partner-card-grid {
    align-content: start;
    grid-auto-rows: max-content;
}

.partner-card {
    min-height: 0;
}

.partner-empty-state.small {
    min-height: 88px;
    padding: 18px 14px;
}

@media (max-width: 1180px) {
    .partner-shelf-grid-live {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .partner-shelf-grid-live,
    .partner-shelf-grid {
        grid-template-columns: 1fr;
    }
}
/* Partner-Akte page route */
.partner-akte-page-showcase {
    padding-top: 8px;
}

.partner-akte-page-shell {
    padding: 20px 18px 28px;
}

.partner-akte-page-body {
    width: 100%;
}

.partner-akte-page-body .partner-akte-shell {
    gap: 20px;
}

/* Partner akte stage upgrade */
.partner-akte-stage-shell {
    padding: 20px 18px 24px;
}

.partner-akte-stage-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, 390px);
    gap: 18px;
    align-items: stretch;
}

.partner-akte-stage-media,
.partner-akte-stage-side {
    min-width: 0;
}

.partner-akte-stage-media .partner-stage-player-shell,
.partner-akte-stage-media .partner-stage-poster {
    min-height: 430px;
    height: 100%;
}

.partner-akte-stage-dossier {
    min-height: 430px;
    height: 100%;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 20px 18px 18px;
    background: linear-gradient(180deg, rgba(12, 16, 27, 0.98) 0%, rgba(6, 9, 15, 1) 100%);
}

.partner-akte-stage-feed-card {
    min-height: 108px;
}

.partner-akte-stage-dossier .partner-stage-actions {
    margin-top: auto;
}

.partner-akte-stage-dossier .partner-stage-description {
    min-height: 46px;
}

.partner-akte-feed-shell {
    scroll-margin-top: 110px;
}

.partner-akte-feed-shell,
.partner-akte-links-shell {
    min-height: 100%;
}

.partner-akte-feed-media {
    min-height: 320px;
}

.partner-akte-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.partner-akte-social-link {
    min-height: 56px;
    justify-content: flex-start;
    padding: 12px 14px;
}

.partner-akte-social-link small {
    display: block;
    margin-left: 0;
    margin-top: 6px;
}

@media (max-width: 1100px) {
    .partner-akte-stage-grid {
        grid-template-columns: 1fr;
    }

    .partner-akte-stage-media .partner-stage-player-shell,
    .partner-akte-stage-media .partner-stage-poster,
    .partner-akte-stage-dossier {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .partner-akte-socials {
        grid-template-columns: 1fr;
    }

    .partner-akte-stage-shell {
        padding: 18px 14px 20px;
    }

    .partner-akte-feed-media {
        min-height: 220px;
    }
}

/* Partner cards and feed states refresh */
.partner-stage-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 217, 255, 0.28);
    background: rgba(4, 12, 20, 0.72);
    color: #8cf4ff;
    font-size: 6px;
    letter-spacing: 1.8px;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.1);
}

.partner-card {
    overflow: hidden;
}

.partner-card-body {
    gap: 14px;
}

.partner-card-focus {
    display: grid;
    gap: 8px;
    min-height: 94px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(12, 16, 27, 0.92) 0%, rgba(7, 10, 17, 0.98) 100%);
}

.partner-card-focus.is-empty {
    border-color: rgba(255, 215, 0, 0.18);
    background: linear-gradient(180deg, rgba(18, 16, 11, 0.82) 0%, rgba(10, 9, 6, 0.94) 100%);
}

.partner-card-focus-label {
    display: block;
    color: #91a6c1;
    font-size: 6px;
    letter-spacing: 1.8px;
}

.partner-card-focus strong {
    display: block;
    color: #f4f8ff;
    font-size: 9px;
    line-height: 1.55;
}

.partner-card-focus p {
    margin: 0;
    color: #bdcadc;
    font-size: 7px;
    line-height: 1.7;
}

.partner-card-social-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.partner-card-social-link,
.partner-card-social-empty {
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 18, 0.92);
}

.partner-card-social-link {
    display: grid;
    align-content: center;
    gap: 4px;
    color: #edf5ff;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.partner-card-social-link:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--partner-accent, #7F00FF) 58%, rgba(255,255,255,0.16));
    box-shadow: 0 0 14px color-mix(in srgb, var(--partner-accent, #7F00FF) 16%, transparent);
}

.partner-card-social-link span {
    display: block;
    color: #f4f8ff;
    font-size: 7px;
    letter-spacing: 1.5px;
}

.partner-card-social-link small,
.partner-card-social-empty {
    color: #8ea3bf;
    font-size: 6px;
    letter-spacing: 1.5px;
}

.partner-card-social-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    text-align: center;
}

.partner-stage-feed-card.is-empty {
    border-color: rgba(255, 215, 0, 0.18);
    background: linear-gradient(180deg, rgba(18, 16, 11, 0.76) 0%, rgba(10, 9, 6, 0.92) 100%);
}

.partner-feed-empty-state {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(11, 14, 22, 0.98) 0%, rgba(6, 8, 14, 1) 100%);
}

.partner-feed-empty-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid rgba(255, 215, 0, 0.24);
    background: rgba(255, 215, 0, 0.08);
    color: #ffe48b;
    font-size: 6px;
    letter-spacing: 1.8px;
}

.partner-feed-empty-state strong {
    color: #f5f8ff;
    font-size: 12px;
    line-height: 1.55;
}

.partner-feed-empty-state p {
    max-width: 38ch;
    margin: 0;
    color: #b9c7d9;
    font-size: 8px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .partner-card-social-row {
        grid-template-columns: 1fr;
    }
}