:root {
    --color-dark: #171819;
    --color-mid: #2e2e2e;
    --color-blue:#00b7ff;
    --color-accent: #00bf63;
    --color-light: #00ff94;
    --color-warm: #f4ca94;
    --color-danger: #f35858;
    --color-text: #f7f7f7;
    --color-muted: #a2a7ad;
    --font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-base: all 0.25s ease;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: linear-gradient(160deg, rgba(23, 24, 25, 0.98), rgba(46, 46, 46, 0.94), rgba(244, 202, 148, 0.12));
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
}

html.is-modal-open,
body.is-modal-open {
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

body.theme-dark::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: none;
    opacity: 0;
    z-index: -2;
}

main {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: rgba(23, 24, 25, 0.78);
    border-bottom: 1px solid rgba(0, 191, 99, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    flex-wrap: nowrap;
    gap: 1.25rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-left: auto;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.4);
    background: rgba(23, 24, 25, 0.6);
    color: var(--color-light);
    font-weight: 600;
    cursor: pointer;
}

.lang-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.8;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.2);
    border-radius: 12px;
    padding: 0.4rem;
    display: grid;
    gap: 0.25rem;
    min-width: 140px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 25;
}

.lang-switcher.is-open .lang-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-menu button {
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.lang-menu button:hover,
.lang-menu button:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.lang-menu button.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.lang-menu button.is-selected {
    background: rgba(0, 191, 99, 0.2);
    color: var(--color-light);
}

.mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.35);
    background: rgba(23, 24, 25, 0.6);
    color: var(--color-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.mode-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.mode-toggle::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.8;
}

.mode-toggle__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: opacity 0.35s ease;
}

.mode-toggle__icon.is-fading {
    opacity: 0;
}

.mode-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.user-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.35);
    background: rgba(23, 24, 25, 0.6);
    color: var(--color-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    max-width: min(240px, 40vw);
}

.user-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
}

.user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.8;
}

.user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.2);
    border-radius: 12px;
    padding: 0.4rem;
    display: grid;
    gap: 0.25rem;
    min-width: 180px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 25;
}

.user-switcher.is-open .user-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text);
    text-decoration: none;
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    font-weight: 500;
}

.user-menu a:hover,
.user-menu a:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.nav-drawer__user {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.nav-drawer__user-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.2rem;
}

.mode-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.2);
    border-radius: 12px;
    padding: 0.4rem;
    display: grid;
    gap: 0.25rem;
    min-width: 150px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 25;
}

.mode-switcher.is-open .mode-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mode-menu button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.mode-menu button:hover,
.mode-menu button:focus,
.mode-menu button.is-selected {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

/* Takudaily */
.daily-page {
    padding: 2.2rem 0 5.5rem;
}

/* Perfil */
.profile-page {
    padding: 2.2rem 0 3.6rem;
}

.profile-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 99, 0.18);
    box-shadow: var(--shadow-soft);
}

.profile-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.profile-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 24, 25, 0.62);
}

.profile-hero__content {
    position: relative;
    padding: 1.35rem;
    display: grid;
    gap: 1.05rem;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(0, 191, 99, 0.35);
    background: rgba(23, 24, 25, 0.35);
}

.profile-name {
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--color-light);
}

.profile-username {
    color: var(--color-text);
    font-weight: 600;
    opacity: 0.9;
}

.profile-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.45);
    color: var(--color-light);
}

.profile-pill__label {
    color: var(--color-text);
    font-weight: 700;
}

.profile-pill__value {
    font-weight: 900;
}

.profile-pill__action {
    margin-left: 0.25rem;
}

.profile-stats {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

@media (max-width: 900px) {
    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .profile-stats {
        grid-template-columns: 1fr;
    }
}

.profile-stat {
    background: rgba(23, 24, 25, 0.7);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 16px;
    padding: 0.95rem;
}

.profile-stat__label {
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.profile-stat__value {
    color: var(--color-light);
    font-size: 1.4rem;
    font-weight: 900;
}

.npc-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0.25rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px dashed rgba(0, 191, 99, 0.45);
    background: rgba(23, 24, 25, 0.55);
    cursor: pointer;
    transition: var(--transition-base);
}

.npc-dropzone:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.npc-dropzone.is-dragover {
    border-color: rgba(0, 255, 148, 0.85);
    background: rgba(0, 191, 99, 0.12);
}

.npc-dropzone__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.npc-dropzone__content {
    text-align: center;
    pointer-events: none;
}

.npc-dropzone__content strong {
    display: block;
    color: var(--color-light);
    font-size: 0.95rem;
}

.npc-dropzone__content span {
    display: block;
    color: rgba(247, 247, 247, 0.75);
    font-size: 0.9rem;
}

.npc-dropzone__filename {
    display: block;
    margin-top: 0.35rem;
    color: rgba(247, 247, 247, 0.6);
    font-size: 0.85rem;
    word-break: break-word;
}

.profile-stat.is-muted {
    opacity: 0.9;
}

.profile-actions {
    margin-top: 1.05rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.profile-section {
    margin-top: 1.35rem;
    background: rgba(23, 24, 25, 0.55);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 18px;
    padding: 1.1rem;
}

.profile-section h2 {
    margin: 0 0 0.75rem;
    color: var(--color-light);
}

.profile-empty {
    color: var(--color-text);
}

.daily-layout {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) minmax(190px, 260px);
    gap: 1.2rem;
    align-items: start;
}

@media (max-width: 980px) {
    .daily-layout {
        grid-template-columns: 1fr;
    }
}

.daily-card {
    background: rgba(23, 24, 25, 0.7);
    border: 1px solid rgba(0, 191, 99, 0.18);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.daily-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.daily-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.daily-title h1 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--color-light);
}

.daily-title p {
    margin: 0.25rem 0 0;
    color: var(--color-text);
}

.daily-title__icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.daily-presenter {
    width: 120px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.daily-presenter.is-celebrating {
    animation: daily-presenter-pop 0.9s ease both;
    transform-origin: 60% 70%;
}

@keyframes daily-presenter-pop {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    18% {
        transform: translateY(-6px) rotate(-3deg) scale(1.03);
    }
    40% {
        transform: translateY(0) rotate(3deg) scale(1.02);
    }
    70% {
        transform: translateY(-2px) rotate(-1deg) scale(1.01);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.daily-coin-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.daily-coin {
    position: absolute;
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0;
    transform: translate(0, 0) rotate(0deg) scale(1);
    animation: daily-coin-pop 0.95s ease-out forwards;
    animation-delay: var(--delay, 0ms);
}

@keyframes daily-coin-pop {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(0deg) scale(calc(var(--scale, 1) * 0.9));
    }
    12% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform:
            translate(var(--dx, -60px), var(--dy, -100px))
            rotate(var(--rot, -25deg))
            scale(var(--scale, 1));
    }
}

@media (prefers-reduced-motion: reduce) {
    .daily-presenter.is-celebrating {
        animation: none;
    }
    .daily-coin {
        animation: none;
        display: none;
    }
}

@media (max-width: 540px) {
    .daily-presenter {
        width: 88px;
    }
}

.daily-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin: 1rem 0 1.1rem;
}

@media (max-width: 540px) {
    .daily-stats {
        grid-template-columns: 1fr;
    }
}

.daily-stat {
    background: rgba(0, 191, 99, 0.08);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 14px;
    padding: 0.9rem 0.95rem;
}

.daily-stat__label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.45rem;
}

.daily-stat__value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-light);
}

.daily-reward {
    color: var(--color-warn);
}

.daily-actions {
    display: grid;
    gap: 0.85rem;
}

.daily-form {
    display: grid;
    gap: 0.65rem;
}

.daily-claim[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.daily-status {
    color: var(--color-text);
}

.daily-note {
    color: var(--color-text);
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.35);
}

.ad-slot {
    border-radius: 18px;
    border: 1px dashed rgba(0, 191, 99, 0.26);
    background: rgba(23, 24, 25, 0.45);
    padding: 1rem;
    min-height: 220px;
}

.ad-slot__label {
    font-weight: 800;
    color: var(--color-light);
}

.ad-slot__hint {
    margin-top: 0.35rem;
    color: var(--color-text);
}

.ad-slot--bottom {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 2rem));
    min-height: auto;
    padding: 0.75rem 1rem;
    z-index: 30;
}

.mode-toggle.is-glitching {
    animation: mode-shake 0.16s linear infinite;
}

.mode-toggle.is-glitching .mode-toggle__label {
    text-shadow: -1px 0 #00ff94, 1px 0 #fffc, 0 0 10px rgba(0, 255, 148, 0.6);
    letter-spacing: 0.02em;
}

@keyframes mode-shake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(-1px, 1px) rotate(-0.6deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(0.6deg);
    }
    60% {
        transform: translate(-1px, 0) rotate(-0.4deg);
    }
    80% {
        transform: translate(1px, 1px) rotate(0.4deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.mode-prank {
    position: fixed;
    inset: 0;
    background: #ffffff;
    background-image: url('../img/Gif/ModeLight.gif');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mode-prank.is-active {
    opacity: 1;
    animation: prank-pop 0.6s ease both;
}

@keyframes prank-pop {
    0% {
        transform: scale(1.04);
        filter: saturate(1.2);
    }
    50% {
        transform: scale(1);
        filter: saturate(1.5);
    }
    100% {
        transform: scale(1);
        filter: saturate(1.1);
    }
}

.nav-toggle {
    border: 1px solid rgba(0, 191, 99, 0.4);
    background: transparent;
    color: var(--color-light);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    display: block;
    border-radius: 999px;
}

.nav-drawer {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.2);
    border-radius: 16px;
    padding: 1rem;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-soft);
    z-index: 20;
}

.nav-drawer a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

body.nav-open .nav-drawer {
    display: flex;
}

.icon-inline {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: rgba(0, 191, 99, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.3);
}

.user-avatar, .avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--color-accent);
    display: grid;
    place-items: center;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.btn-primary {
    background: linear-gradient(120deg, var(--color-accent), var(--color-light));
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-light {
    background: var(--color-light);
    border-color: rgba(0, 255, 148, 0.75);
    color: var(--color-dark);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-warn {
    background: var(--color-warm);
    border-color: rgba(244, 202, 148, 0.75);
    color: var(--color-dark);
}

.btn-warn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-danger {
    background: var(--color-danger);
    border-color: rgba(243, 88, 88, 0.75);
    color: var(--color-dark);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.servers-page {
    padding: 6rem 0 4rem;
}

.servers-page__header {
    display: grid;
    place-items: center;
    text-align: center;
    margin-bottom: 2.25rem;
}

.servers-page__title {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3rem);
    color: var(--color-light);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 980px) {
    .servers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .servers-page {
        padding: 5rem 0 3.5rem;
    }
    .servers-grid {
        grid-template-columns: 1fr;
    }
}

.server-card {
    position: relative;
    min-height: 260px;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 255, 148, 0.16);
}

.server-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 13, 14, 0.55), rgba(12, 13, 14, 0.92));
}

.server-card__body {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 1.25rem 1.25rem 1.15rem;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 0.95rem;
    align-items: center;
    text-align: center;
}

.server-role {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.server-role--owner {
    border-color: rgba(0, 183, 255, 0.42);
    background: rgba(0, 183, 255, 0.22);
    color: var(--color-blue);
}

.server-role--admin {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.server-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.05);
}

.server-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.server-avatar__placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.10);
}

.server-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-actions {
    display: grid;
    place-items: center;
}

.servers-empty {
    grid-column: 1 / -1;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(0, 255, 148, 0.16);
    border-radius: 20px;
    background: rgba(12, 13, 14, 0.55);
    text-align: center;
    color: var(--color-muted);
}

/* Dashboard do servidor */
.server-dashboard {
    --dashboard-sidebar-width: 300px;
    --dashboard-header-height: 0px;
    --dashboard-sidebar-gap-top: 16px;
    --dashboard-sidebar-top: var(--dashboard-sidebar-gap-top);
    --dashboard-sidebar-height: calc(100vh - var(--dashboard-sidebar-top));
    padding: 2.8rem 0 4.6rem;
}

.server-dashboard.is-header-visible {
    --dashboard-sidebar-top: calc(var(--dashboard-header-height) + var(--dashboard-sidebar-gap-top));
}

/* Dashboard "full" (sem footer e com sidebar acompanhando scroll) */
body.server-dashboard-page .site-footer {
    display: none;
}

@media (min-width: 981px) {
    /* No dashboard (desktop), o header deve sair da tela ao scroll (pra liberar altura do sidebar) */
    body.server-dashboard-page .site-header {
        position: static;
    }

    body.server-dashboard-page .server-dashboard {
        padding: 0;
    }

    body.server-dashboard-page .server-dashboard__layout {
        padding: 0;
    }
}

.server-dashboard.is-collapsed {
    --dashboard-sidebar-width: 88px;
}

.server-dashboard__layout {
    display: grid;
    grid-template-columns: var(--dashboard-sidebar-width) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: stretch;
    width: 100%;
    padding: 0 1.2rem;
}

@media (max-width: 980px) {
    .server-dashboard__layout {
        grid-template-columns: 1fr;
    }
}

.server-dashboard__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.16);
    background: rgba(23, 24, 25, 0.62);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: var(--dashboard-sidebar-top);
    max-height: var(--dashboard-sidebar-height);
    overflow: visible;
    transition: top 0.22s ease, max-height 0.22s ease;
}

@media (min-width: 981px) {
    body.server-dashboard-page .server-dashboard__sidebar {
        grid-column: 1;
        position: fixed;
        top: var(--dashboard-sidebar-top);
        left: 0;
        height: var(--dashboard-sidebar-height);
        width: var(--dashboard-sidebar-width);
        border-radius: 0;
        z-index: 9;
    }

    body.server-dashboard-page .server-dashboard__content {
        grid-column: 2;
    }

    body.server-dashboard-page .server-dashboard__layout {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 980px) {
    .server-dashboard__sidebar {
        position: static;
        top: auto;
    }
}

.server-dashboard__overlay {
    display: none;
}

.server-dashboard__sidebar-head {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    order: 0;
}

.server-dashboard__collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.45);
    color: var(--color-light);
    cursor: pointer;
    transition: var(--transition-base);
}

.server-dashboard__collapse:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.server-dashboard__collapse-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid currentColor;
    opacity: 0.85;
}

.server-dashboard.is-collapsed .server-dashboard__collapse-icon {
    transform: rotate(180deg);
}

.server-dashboard__server {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.server-dashboard__server-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(0, 191, 99, 0.28);
    background: rgba(23, 24, 25, 0.35);
    flex: 0 0 auto;
}

.server-dashboard__server-avatar.is-placeholder {
    background: rgba(255, 255, 255, 0.10);
}

.server-dashboard__server-name {
    font-weight: 900;
    color: var(--color-light);
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.server-dashboard__server-role {
    color: var(--color-muted);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.server-dashboard__nav {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.25rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    order: 1;
}

/* Scrollbar (Windows/Chrome costuma ficar branco por padrão) */
.server-dashboard__nav,
.server-dashboard__switcher-menu,
.channel-picker__list,
.role-picker__menu,
.role-picker__list,
.levels__rewards,
.feedback-modal__panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 191, 99, 0.34) rgba(23, 24, 25, 0.18);
}

.server-dashboard__nav::-webkit-scrollbar,
.server-dashboard__switcher-menu::-webkit-scrollbar,
.channel-picker__list::-webkit-scrollbar,
.role-picker__menu::-webkit-scrollbar,
.role-picker__list::-webkit-scrollbar,
.levels__rewards::-webkit-scrollbar,
.feedback-modal__panel::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.server-dashboard__nav::-webkit-scrollbar-track,
.server-dashboard__switcher-menu::-webkit-scrollbar-track,
.channel-picker__list::-webkit-scrollbar-track,
.role-picker__menu::-webkit-scrollbar-track,
.role-picker__list::-webkit-scrollbar-track,
.levels__rewards::-webkit-scrollbar-track,
.feedback-modal__panel::-webkit-scrollbar-track {
    background: rgba(23, 24, 25, 0.18);
    border-radius: 999px;
}

.server-dashboard__nav::-webkit-scrollbar-thumb,
.server-dashboard__switcher-menu::-webkit-scrollbar-thumb,
.channel-picker__list::-webkit-scrollbar-thumb,
.role-picker__menu::-webkit-scrollbar-thumb,
.role-picker__list::-webkit-scrollbar-thumb,
.levels__rewards::-webkit-scrollbar-thumb,
.feedback-modal__panel::-webkit-scrollbar-thumb {
    background: rgba(0, 191, 99, 0.26);
    border-radius: 999px;
    border: 2px solid rgba(23, 24, 25, 0.72);
}

.server-dashboard__nav::-webkit-scrollbar-thumb:hover,
.server-dashboard__switcher-menu::-webkit-scrollbar-thumb:hover,
.channel-picker__list::-webkit-scrollbar-thumb:hover,
.role-picker__menu::-webkit-scrollbar-thumb:hover,
.role-picker__list::-webkit-scrollbar-thumb:hover,
.levels__rewards::-webkit-scrollbar-thumb:hover,
.feedback-modal__panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 191, 99, 0.36);
}

.server-dashboard__nav::-webkit-scrollbar-corner,
.server-dashboard__switcher-menu::-webkit-scrollbar-corner,
.channel-picker__list::-webkit-scrollbar-corner,
.role-picker__menu::-webkit-scrollbar-corner,
.role-picker__list::-webkit-scrollbar-corner,
.levels__rewards::-webkit-scrollbar-corner,
.feedback-modal__panel::-webkit-scrollbar-corner {
    background: rgba(23, 24, 25, 0.18);
}

.server-dashboard__sidebar-slot {
    max-height: 110px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.22s ease, opacity 0.22s ease;
    order: 2;
}

@media (max-height: 820px) {
    body.server-dashboard-page .server-dashboard.is-header-visible .server-dashboard__sidebar-slot {
        max-height: 0;
        opacity: 0;
        border-width: 0;
        min-height: 0;
    }
}

.server-dashboard__nav-title {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(247, 247, 247, 0.78);
    margin-bottom: 0.4rem;
}

.server-dashboard__nav-items {
    display: grid;
    gap: 0.35rem;
}

.server-dashboard__nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.10);
    background: rgba(23, 24, 25, 0.35);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-base);
}

.server-dashboard__nav-link .icon-inline {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

.server-dashboard__nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-dashboard__nav-link:hover,
.server-dashboard__nav-link:focus {
    background: rgba(0, 191, 99, 0.14);
    border-color: rgba(0, 191, 99, 0.22);
    color: var(--color-light);
}

.server-dashboard__nav-link.is-active {
    background: rgba(0, 191, 99, 0.22);
    border-color: rgba(0, 255, 148, 0.22);
    color: var(--color-light);
}

.server-dashboard__switcher {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 191, 99, 0.14);
    display: grid;
    gap: 0.4rem;
    order: 3;
}

.server-dashboard__switcher-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.45);
    color: var(--color-text);
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition-base);
}

.server-dashboard__switcher-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: rgba(0, 191, 99, 0.12);
}

.server-dashboard__switcher-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(0, 191, 99, 0.26);
    background: rgba(23, 24, 25, 0.35);
    flex: 0 0 auto;
}

.server-dashboard__switcher-avatar.is-placeholder {
    background: rgba(255, 255, 255, 0.10);
}

.server-dashboard__switcher-name {
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.server-dashboard__switcher-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.85;
}

.server-dashboard__switcher-menu {
    margin-top: 0.4rem;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.20);
    border-radius: 14px;
    padding: 0.45rem;
    display: grid;
    gap: 0.25rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 980px) {
    /*
      No mobile, o menu do dropdown NÃO pode participar do layout do sidebar,
      senão ele aumenta a altura do switcher e faz os links “sumirem”.
      Por isso ele vira um overlay fixo (fora do sidebar) e só aparece quando aberto.
    */
    .server-dashboard__switcher-menu {
        position: fixed;
        left: 0;
        width: min(320px, 86vw);
        max-width: 92vw;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px) + 64px);
        max-height: min(360px, calc(100dvh - var(--dashboard-header-height) - 140px));
        overflow: auto;
        margin-top: 0;
        transform: translate3d(0, 10px, 0);
        z-index: 70;
        display: none;
    }

    .server-dashboard__switcher.is-open .server-dashboard__switcher-menu {
        display: grid;
        transform: translate3d(0, 0, 0);
    }
}

@media (min-width: 981px) {
    .server-dashboard__switcher {
        position: relative;
    }

    .server-dashboard__switcher-menu {
        position: absolute;
        left: calc(100% + 14px);
        bottom: 0;
        width: min(320px, 46vw);
        max-height: min(320px, calc(100vh - 160px));
        overflow: auto;
        margin-top: 0;
        transform: translateX(-6px);
        z-index: 120;
    }

    .server-dashboard__switcher.is-open .server-dashboard__switcher-menu {
        transform: translateX(0);
    }
}

.server-dashboard__switcher.is-open .server-dashboard__switcher-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.server-dashboard__switcher-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    min-width: 0;
}

.server-dashboard__switcher-item span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.server-dashboard__switcher-item:hover,
.server-dashboard__switcher-item:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.server-dashboard__switcher-item.is-selected {
    background: rgba(0, 191, 99, 0.20);
    color: var(--color-light);
}

.server-dashboard__switcher-item-avatar {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.35);
    flex: 0 0 auto;
}

.server-dashboard__switcher-item-avatar.is-placeholder {
    background: rgba(255, 255, 255, 0.10);
}

.server-dashboard__sidebar-slot {
    min-height: 110px;
    border-radius: 16px;
    border: 1px dashed rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.25);
}

.server-dashboard__content {
    background: rgba(23, 24, 25, 0.55);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.server-dashboard__content-head {
    margin-bottom: 1rem;
}

.server-dashboard__title {
    margin: 0;
    font-size: 1.65rem;
    color: var(--color-light);
    font-weight: 950;
}

.server-dashboard__subtitle {
    margin: 0.3rem 0 0;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
}

.server-dashboard__notice {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(244, 202, 148, 0.28);
    background: rgba(244, 202, 148, 0.10);
    margin-bottom: 1rem;
}

.server-dashboard__notice strong {
    color: var(--color-warm);
}

.server-dashboard__notice span {
    color: rgba(247, 247, 247, 0.85);
    font-weight: 600;
}

.server-dashboard__panel {
    border-radius: 18px;
    border: 1px dashed rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.35);
    padding: 1.1rem;
}

.server-dashboard__panel-inner h2 {
    margin: 0 0 0.35rem;
    color: var(--color-light);
}

.server-dashboard__panel-inner p {
    margin: 0;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
}

/* Registro de Eventos */
.event-log {
    display: grid;
    gap: 1.2rem;
}

.event-log__section {
    background: rgba(23, 24, 25, 0.45);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 18px;
    padding: 1.05rem;
}

.event-log__section.is-disabled {
    opacity: 0.55;
}

.event-log__section.is-disabled * {
    pointer-events: none;
}

.event-log__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-log__title {
    margin: 0;
    color: var(--color-light);
    font-size: 1.2rem;
    font-weight: 950;
}

.event-log__subtitle {
    margin: 0;
    color: var(--color-light);
    font-size: 1.05rem;
    font-weight: 950;
}

.event-log__desc {
    margin: 0.35rem 0 0;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
}

.is-hidden {
    display: none !important;
}

/* Toggle */
.toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: rgba(247, 247, 247, 0.85);
}

.toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.toggle__track {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.25);
    background: rgba(23, 24, 25, 0.55);
    position: relative;
    transition: var(--transition-base);
}

.toggle__track::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(247, 247, 247, 0.85);
    transform: translateY(-50%);
    transition: var(--transition-base);
}

.toggle input:checked + .toggle__track {
    background: rgba(0, 191, 99, 0.22);
    border-color: rgba(0, 255, 148, 0.25);
}

.toggle input:checked + .toggle__track::after {
    left: 22px;
    background: var(--color-light);
}

.toggle__label {
    font-size: 0.95rem;
}

/* Seletor de canal */
.channel-picker {
    margin-top: 0.85rem;
    position: relative;
}

/* Seletor de cargo (mesmo estilo do seletor de canal) */
.role-picker {
    margin-top: 0.85rem;
    position: relative;
}

.role-picker__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.20);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition-base);
}

.role-picker__toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.role-picker__value {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-picker__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.85;
}

.role-picker__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.55rem;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.20);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: var(--shadow-soft);
    z-index: 220;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.role-picker.is-open .role-picker__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.role-picker__search {
    padding: 0.25rem;
}

.role-picker__input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.6rem 0.7rem;
    font-weight: 700;
}

.role-picker__list {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.45rem;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

.role-picker__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    min-width: 0;
}

.role-picker__item span:last-child {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-picker__item:hover,
.role-picker__item:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

/* Dropdown custom (substitui <select>) */
.select-picker {
    position: relative;
    width: 100%;
}

.select-picker__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    font-weight: 800;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.select-picker.is-open .select-picker__toggle,
.select-picker__toggle:focus,
.select-picker__toggle:focus-visible {
    outline: none;
    border-color: rgba(0, 191, 99, 0.42);
    box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.72);
}

.select-picker__value {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-picker__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.85;
    flex: 0 0 auto;
}

.select-picker__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.55rem;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.20);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: var(--shadow-soft);
    z-index: 220;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.select-picker.is-open .select-picker__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.select-picker__search {
    padding: 0.25rem;
}

.select-picker__input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.6rem 0.7rem;
    font-weight: 700;
    outline: none;
}

.select-picker__list {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.45rem;
    max-height: 260px;
    overflow: auto;
}

.select-picker__item {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

.select-picker__item:hover,
.select-picker__item:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.role-picker__at {
    color: rgba(247, 247, 247, 0.65);
    font-weight: 900;
}

/* Levels & Ranks */
.levels {
    display: grid;
    gap: 1.2rem;
}

.levels__section {
    background: rgba(23, 24, 25, 0.45);
    border: 1px solid rgba(0, 191, 99, 0.14);
    border-radius: 18px;
    padding: 1.05rem;
}

.levels__section.is-disabled {
    opacity: 0.55;
}

.levels__section.is-disabled * {
    pointer-events: none;
}

.levels__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.levels__section-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.levels__lb-member {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.levels__lb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 191, 99, 0.2);
}

.levels__lb-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: rgba(247, 247, 247, 0.8);
    font-weight: 650;
    padding: 0.5rem 0;
}

.levels__lb-loading-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.levels__lb-rank-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.levels__leaderboard-meta {
    margin-top: 0.65rem;
    color: rgba(247, 247, 247, 0.75);
    font-weight: 650;
}

.levels__title {
    margin: 0;
    color: var(--color-light);
    font-size: 1.2rem;
    font-weight: 950;
}

.levels__subtitle {
    margin: 0;
    color: var(--color-light);
    font-size: 1.05rem;
    font-weight: 950;
}

.levels__desc {
    margin: 0.35rem 0 0;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
}

.levels__cards {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 820px) {
    .levels__cards {
        grid-template-columns: 1fr;
    }
}

.levels__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.55);
}

.levels__card.is-disabled {
    opacity: 0.7;
}

.levels__card-text h4 {
    margin: 0;
    font-weight: 900;
    color: var(--color-light);
}

.levels__card-text p {
    margin: 0.25rem 0 0;
    color: rgba(247, 247, 247, 0.75);
    font-weight: 600;
}

.levels__radios {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.levels__radio {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.55);
    color: rgba(247, 247, 247, 0.85);
    font-weight: 650;
}

.levels__radio strong {
    color: var(--color-light);
    font-weight: 950;
}

.levels__message {
    margin-top: 0.85rem;
}

.levels__textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.85rem;
    font-weight: 700;
    resize: vertical;
}

.levels__tokens {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.levels__token {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: rgba(247, 247, 247, 0.85);
    font-weight: 850;
    font-size: 0.85rem;
}

.levels__editor {
    margin-top: 0.9rem;
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px dashed rgba(0, 191, 99, 0.20);
    background: rgba(23, 24, 25, 0.42);
}

.levels__editor-row {
    display: grid;
    grid-template-columns: 1fr 140px auto;
    gap: 0.65rem;
    align-items: center;
}

.levels__editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: flex-start;
}

.levels__editor-grid > * {
    min-width: 0;
}

@media (max-width: 820px) {
    .levels__editor-row {
        grid-template-columns: 1fr;
    }

    .levels__editor-grid {
        grid-template-columns: 1fr;
    }
}

.levels__number {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.65rem 0.75rem;
    font-weight: 800;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.levels__number:focus,
.levels__number:focus-visible {
    border-color: rgba(0, 191, 99, 0.42);
    box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.72);
}

select.levels__number {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.25rem;
    color-scheme: dark;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(247, 247, 247, 0.72) 50%),
        linear-gradient(135deg, rgba(247, 247, 247, 0.72) 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) 50%,
        calc(100% - 0.85rem) 50%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}

select.levels__number::-ms-expand {
    display: none;
}

.levels__rewards,
.levels__bonus {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
}

.levels__reward,
.levels__bonus-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.55);
}

.levels__reward-main,
.levels__bonus-main {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.levels__reward-role,
.levels__bonus-role {
    color: var(--color-light);
    font-weight: 950;
}

.levels__reward-level,
.levels__bonus-percent {
    color: rgba(247, 247, 247, 0.78);
    font-weight: 750;
}

.levels__reward-actions,
.levels__bonus-actions {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.levels__empty {
    color: rgba(247, 247, 247, 0.75);
    font-weight: 650;
    padding: 0.75rem 0.15rem;
}

.channel-picker__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.20);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition-base);
}

.channel-picker__toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.channel-picker__value {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-picker__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.85;
}

.channel-picker__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.55rem;
    background: rgba(23, 24, 25, 0.95);
    border: 1px solid rgba(0, 191, 99, 0.20);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: var(--shadow-soft);
    z-index: 220;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.channel-picker.is-open .channel-picker__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.channel-picker__search {
    padding: 0.25rem;
}

.channel-picker__input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.55);
    color: var(--color-text);
    padding: 0.6rem 0.7rem;
    font-weight: 700;
}

.channel-picker__list {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.45rem;
    max-height: 260px;
    overflow: auto;
}

.channel-picker__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

.channel-picker__item:hover,
.channel-picker__item:focus {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.channel-picker__hash {
    color: rgba(247, 247, 247, 0.65);
    font-weight: 900;
}

/* Cards de logs */
.log-cards {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 820px) {
    .log-cards {
        grid-template-columns: 1fr;
    }
}

.log-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.14);
    background: rgba(23, 24, 25, 0.55);
}

.log-card--stack {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.log-card--stack .log-card__text {
    width: 100%;
}

.log-cards--autorole {
    align-items: start;
}

.log-card__text h4 {
    margin: 0;
    font-weight: 900;
    color: var(--color-light);
}

.log-card__text p {
    margin: 0.25rem 0 0;
    color: rgba(247, 247, 247, 0.75);
    font-weight: 600;
}

/* Overview */
.overview-prefix {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.overview-prefix .form-control {
    width: 140px;
    max-width: 42vw;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.overview-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(243, 88, 88, 0.16);
}

.status-dot.is-on {
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.16);
}

/* Savebar */
.savebar {
    overflow-y: auto;
    overflow-x: hidden;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    width: min(820px, 92vw);
    border-radius: 18px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.88);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 60;
}
.savebar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.savebar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    flex-wrap: wrap;
}

.savebar__text strong {
    display: block;
    color: var(--color-light);
    font-weight: 950;
}

.savebar__text span {
    display: block;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
    margin-top: 0.15rem;
}

.savebar__actions {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
}

/* Toasts */
.toasts {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    display: grid;
    gap: 0.65rem;
    z-index: 70;
    width: min(360px, 92vw);
}

.toast {
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.92);
    box-shadow: var(--shadow-soft);
    padding: 0.85rem 0.95rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-hiding {
    opacity: 0;
    transform: translateY(10px);
}

.toast__title {
    display: block;
    color: var(--color-light);
    font-weight: 950;
}

.toast__msg {
    display: block;
    margin-top: 0.15rem;
    color: rgba(247, 247, 247, 0.78);
    font-weight: 600;
    font-size: 0.95rem;
}

.toast__close {
    border: none;
    background: transparent;
    color: rgba(247, 247, 247, 0.85);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem 0.25rem;
    border-radius: 10px;
}

.toast__close:hover {
    background: rgba(0, 191, 99, 0.16);
    color: var(--color-light);
}

.toast--success {
    border-color: rgba(0, 255, 148, 0.22);
}

.toast--error {
    border-color: rgba(243, 88, 88, 0.35);
}

/* Desktop: sidebar colapsado (somente ícones) */
.server-dashboard.is-collapsed .server-dashboard__server-meta {
    display: none;
}

.server-dashboard.is-collapsed .server-dashboard__sidebar-head {
    grid-template-columns: 1fr;
    justify-items: center;
}

.server-dashboard.is-collapsed .server-dashboard__server {
    justify-content: center;
}

.server-dashboard.is-collapsed .server-dashboard__collapse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(23, 24, 25, 0.55);
    border-color: rgba(0, 191, 99, 0.22);
}

.server-dashboard.is-collapsed .server-dashboard__collapse:hover {
    transform: translateX(-50%) translateY(-1px);
}

.server-dashboard.is-collapsed .server-dashboard__nav-title {
    display: none;
}

.server-dashboard.is-collapsed .server-dashboard__nav-link {
    justify-content: center;
    padding: 0.7rem 0.6rem;
}

.server-dashboard.is-collapsed .server-dashboard__nav-label {
    display: none;
}

.server-dashboard.is-collapsed .server-dashboard__switcher-name {
    display: none;
}

.server-dashboard.is-collapsed .server-dashboard__switcher-toggle {
    justify-content: center;
}

/* Botão do sidebar no header (mobile) */
.dashboard-sidebar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(23, 24, 25, 0.55);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

.dashboard-sidebar-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-light);
    opacity: 0.9;
}

@media (max-width: 980px) {
    .dashboard-sidebar-toggle {
        display: inline-flex;
    }

    .server-dashboard {
        padding: 1.6rem 0 3.8rem;
    }

    .server-dashboard__layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .server-dashboard__overlay {
        display: block;
        position: fixed;
        top: var(--dashboard-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 40;
    }

    .server-dashboard__sidebar {
        position: fixed;
        top: var(--dashboard-header-height);
        bottom: auto;
        left: 0;
        height: calc(100vh - var(--dashboard-header-height));
        height: calc(100dvh - var(--dashboard-header-height));
        max-height: none;
        width: min(320px, 86vw);
        max-width: 92vw;
        transform: translate3d(-110%, 0, 0);
        transition: transform 0.25s ease;
        z-index: 50;
        border-radius: 0 18px 18px 0;
        padding: 1.1rem;
        overflow: hidden;
    }

    .server-dashboard__nav {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .server-dashboard__sidebar-slot {
        display: none;
    }

    .server-dashboard.is-sidebar-open .server-dashboard__sidebar {
        transform: translate3d(0, 0, 0);
    }

    .server-dashboard.is-sidebar-open .server-dashboard__overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

.btn-outline {
    border-color: rgba(0, 191, 99, 0.55);
    color: var(--color-light);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 191, 99, 0.16);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    border-radius: 12px;
}

.hero {
    padding: 8rem 0 4rem;
    position: relative;
}

.home-floating-stage {
    position: relative;
    overflow: hidden;
}

.home-floating-stage > section {
    position: relative;
    z-index: 2;
}

.floating-islands {
    position: absolute;
    inset: 1rem 0 2rem;
    pointer-events: none;
    z-index: 3;
}

.floating-island {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: min(var(--size, 180px), 26vw);
    height: auto;
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.96);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: floating-bob var(--duration, 9s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform, opacity;
}

.floating-island.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.floating-island.floating-rock.is-visible {
    opacity: 1;
}

@keyframes floating-bob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, var(--drift, 12px), 0);
    }
}

.intro-hero {
    position: relative;
    padding: 0 0 5rem;
    background-color: #101112;
    background-size: min(1800px, 140vw) auto;
    background-position: calc(50% + var(--bg-x, 0px)) calc(0% + var(--bg-y, 0px));
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background-position 0.35s ease;
}

.intro-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 13, 14, 0.82), rgba(12, 13, 14, 0.95));
    z-index: 0;
}

.intro-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 2.5rem;
}

.intro-hero__visual {
    display: grid;
    place-items: center;
    align-self: end;
}

.intro-hero__mascot {
    width: min(100%, 520px);
    height: auto;
    --mascot-x: -16px;
    --mascot-y: 48px;
    transform: translateX(var(--mascot-x)) translateY(var(--mascot-y));
    opacity: 0;
    animation: intro-mascot 0.9s ease-out 0.2s forwards;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
}

.intro-hero__content {
    display: grid;
    gap: 1.5rem;
}

.intro-hero__brand {
    font-family: 'Satisfy', cursive;
    font-size: clamp(6rem, 4vw, 3.2rem);
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.02em;
}

.intro-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 4.8vw, 3.3rem);
    line-height: 1.12;
    color: var(--color-light);
}

.intro-hero__lead {
    margin: 0;
    max-width: 560px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.intro-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.btn-ghost {
    border: 1px solid rgba(0, 191, 99, 0.7);
    color: var(--color-light);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(0, 191, 99, 0.95);
    color: var(--color-dark);
}

.btn-warm {
    border: 1px solid rgba(244, 202, 148, 0.8);
    background: rgba(244, 202, 148, 0.12);
    color: var(--color-warm);
}

.btn-warm:hover {
    background: rgba(244, 202, 148, 0.9);
    color: #1d1a14;
}

.about-hero {
    position: relative;
    padding: 5.5rem 0 4rem;
    background: linear-gradient(150deg, rgba(23, 24, 25, 0.95), rgba(34, 26, 16, 0.9));
    overflow: hidden;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -60% -20%;
    height: 80%;
    z-index: 0;
}

.about-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.about-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: rgba(244, 202, 148, 0.8);
}

.about-hero__title {
    margin: 0.5rem 0 0.8rem;
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
    color: var(--color-light);
}

.about-hero__lead {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.about-hero__media {
    display: grid;
    place-items: center;
}

.about-hero__image {
    width: min(100%, 420px);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(244, 202, 148, 0.35);
}

.about-zigzag {
    padding: 4.5rem 0;
}

.about-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.about-row.is-reverse {
    direction: rtl;
}

.about-row.is-reverse > * {
    direction: ltr;
}

.about-card {
    background: rgba(17, 18, 19, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(244, 202, 148, 0.2);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.about-card h3 {
    margin: 0 0 0.75rem;
    color: var(--color-light);
    font-size: 1.5rem;
}

.about-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.about-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(244, 202, 148, 0.25);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.about-media img {
    width: 100%;
    height: auto;
    display: block;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.about-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(244, 202, 148, 0.18);
    border: 1px solid rgba(244, 202, 148, 0.4);
    color: #ffe8c9;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.creator-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.creator-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    border: 3px solid rgba(244, 202, 148, 0.5);
    background: rgba(23, 24, 25, 0.7);
    overflow: hidden;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-note strong {
    color: var(--color-warm);
}

.developer-spotlight {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.developer-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(12, 12, 12, 0.92), rgba(32, 22, 12, 0.75));
    z-index: -1;
}

.developer-spotlight__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
    align-items: start;
}

.developer-spotlight__intro h2 {
    margin: 0.6rem 0 1rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-blue);
}

.developer-spotlight__intro p {
    margin: 0 0 1.1rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.developer-spotlight__panel {
    display: grid;
    gap: 1.25rem;
}

.developer-topic {
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(244, 202, 148, 0.3);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.developer-topic h3 {
    margin: 0 0 0.6rem;
    color: var(--color-blue);
    font-size: 1.2rem;
}

.developer-topic p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.developer-link {
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(116, 162, 255, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.developer-link:hover {
    color: #a9c3ff;
    border-bottom-color: rgba(169, 195, 255, 0.8);
}

.developer-spotlight__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: rgba(130, 176, 240, 0.85);
}

.developer-invites {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1rem;
}

.invite-card {
    display: grid;
    gap: 0.75rem;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(244, 202, 148, 0.35);
    padding: 0.75rem;
    align-items: center;
}

.invite-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(244, 202, 148, 0.25);
}

.invite-card h4 {
    margin: 0;
    color: var(--color-light);
    font-size: 1rem;
}

.systems-section {
    position: relative;
    padding: 5rem 0 6rem;
    border-top: 1px solid rgba(244, 202, 148, 0.2);
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.98), rgba(30, 24, 18, 0.9));
}

.systems-header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.systems-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: rgba(244, 202, 148, 0.85);
}

.systems-header h2 {
    margin: 0;
    color: var(--color-light);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.systems-lead {
    margin: 0;
    color: var(--color-muted);
    max-width: 680px;
}

.systems-zigzag {
    display: grid;
    gap: 2.75rem;
}

.systems-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: start;
    padding: 1rem 0 0;
}

.systems-row .systems-accordion {
    grid-column: span 5;
    min-width: 0;
}

.systems-row .systems-media {
    grid-column: span 7;
    min-width: 0;
}

.systems-row + .systems-row {
    margin-top: 5px;
}

.systems-row.is-reverse {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.systems-row.is-reverse .systems-accordion {
    order: 2;
}

.systems-row.is-reverse .systems-media {
    order: 1;
}

.systems-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
}

.systems-media-stack {
    position: relative;
    width: 100%;
    min-height: clamp(240px, 32vw, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.systems-media-stack img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 14px)) scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.systems-media-stack img.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .systems-media-stack img {
        transition: none;
    }
}

.systems-accordion {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.accordion-item {
    background: rgba(16, 16, 16, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(244, 202, 148, 0.25);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--color-light);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.accordion-trigger img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.accordion-caret {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid rgba(244, 202, 148, 0.9);
    transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-caret {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.accordion-panel p {
    margin: 0;
    padding: 0 1.2rem 1rem;
    color: var(--color-muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.commands-hero {
    padding: 6.2rem 0 3.2rem;
    background: linear-gradient(150deg, rgba(20, 20, 20, 0.96), rgba(24, 24, 24, 0.92));
    border-bottom: 1px solid rgba(244, 202, 148, 0.14);
}

.commands-floating-stage {
    position: relative;
    overflow: hidden;
}

.commands-floating-stage > section {
    position: relative;
    z-index: 1;
}

.commands-floating-stage .commands-floating-islands {
    inset: 0;
    z-index: 0;
}

.commands-floating-stage .floating-island {
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.18));
}

.commands-floating-stage .floating-island.is-visible {
    opacity: 0.22;
}

.commands-floating-stage .floating-island.floating-rock.is-visible {
    opacity: 0.18;
}

.commands-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: start;
}

.commands-hero__content {
    grid-column: span 4;
    min-width: 0;
}

.commands-hero__topics {
    grid-column: span 8;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
}

.commands-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    color: rgba(244, 202, 148, 0.88);
}

.commands-hero h1 {
    margin: 0 0 0.8rem;
    color: var(--color-light);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
}

.commands-hero p {
    margin: 0 0 1.2rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.commands-search {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.commands-search__field {
    flex: 1;
    min-width: min(420px, 100%);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(244, 202, 148, 0.22);
    background: rgba(16, 16, 16, 0.7);
}

.commands-search__field:focus-within {
    border-color: rgba(244, 202, 148, 0.5);
    box-shadow: 0 0 0 3px rgba(244, 202, 148, 0.12);
}

.commands-search__field i {
    color: rgba(244, 202, 148, 0.95);
    font-size: 0.95rem;
}

.commands-search__field input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-light);
    font-family: inherit;
    font-size: 1rem;
}

.commands-search__field input::placeholder {
    color: rgba(205, 205, 205, 0.7);
}

.commands-search__meta {
    min-height: 1.15rem;
    color: rgba(244, 202, 148, 0.78);
    font-size: 0.92rem;
}

.commands-search__below {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
}

.topic-card {
    grid-column: span 4;
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(244, 202, 148, 0.2);
    background: rgba(16, 16, 16, 0.6);
    color: var(--color-light);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 1100px) {
    .topic-card {
        grid-column: span 3;
    }
}

.topic-card:focus-visible {
    outline: none;
    border-color: rgba(244, 202, 148, 0.55);
    box-shadow: 0 0 0 3px rgba(244, 202, 148, 0.14);
}

.topic-card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(244, 202, 148, 0.38);
}

.topic-card.is-active {
    border-color: rgba(244, 202, 148, 0.6);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.topic-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.topic-card__icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.topic-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.topic-card__count {
    justify-self: start;
    font-size: 0.82rem;
    color: rgba(244, 202, 148, 0.84);
}

.commands-body {
    padding: 3.2rem 0 5rem;
}

.updates-hero {
    padding: 5.2rem 0 2.6rem;
}

.updates-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    color: rgba(0, 191, 99, 0.88);
}

.updates-hero h1 {
    margin: 0 0 0.8rem;
    color: var(--color-light);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
}

.updates-hero p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 62ch;
}

.updates {
    padding: 1.2rem 0 5rem;
}

.updates__grid {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.4rem;
    align-items: stretch;
}

.updates__side {
    position: relative;
    min-height: 100%;
    padding-bottom: 2.5rem;
    align-self: stretch;
}

.updates__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    height: auto;
    width: 2px;
    margin: 0 auto;
    background: rgba(0, 191, 99, 0.28);
    border-radius: 999px;
}

.updates__rail::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: var(--rail-progress, 0px);
    background: rgba(0, 191, 99, 0.55);
    border-radius: 999px;
    transition: height 320ms ease;
}

.updates__list {
    display: grid;
    gap: 1.05rem;
    padding-bottom: 2.5rem;
}

.updates__grid.has-open .updates__side,
.updates__grid.has-open .updates__list {
    padding-bottom: 4.25rem;
}

.update-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(244, 202, 148, 0.16);
    background: rgba(16, 16, 16, 0.58);
    padding: 1.15rem 1.15rem 1.05rem;
}

.update-card::after {
    content: "";
    position: absolute;
    left: calc(-64px + 31px + 6px);
    top: calc(1.35rem + 14px);
    width: 2px;
    height: var(--update-stem, 0px);
    background: rgba(0, 191, 99, 0.40);
    border-radius: 999px;
    opacity: 0;
    transition: opacity 200ms ease, height 320ms ease;
    pointer-events: none;
}

.update-card.is-open::after {
    opacity: 1;
}

.update-card__toggle {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    border-radius: 14px;
    transition: background-color 180ms ease, transform 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

.update-card__toggle:hover {
    background: rgba(0, 0, 0, 0.14);
}

.update-card__toggle:active {
    transform: translateY(1px);
}

.update-card__toggle:focus {
    outline: none;
}

.update-card__toggle:focus-visible {
    outline: 2px solid rgba(0, 191, 99, 0.45);
    outline-offset: 6px;
    border-radius: 14px;
}

.update-card__head {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.update-card__title {
    display: block;
    color: var(--color-light);
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.25;
}

.update-card__chevron {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 0.55rem;
    border-right: 2px solid rgba(205, 205, 205, 0.8);
    border-bottom: 2px solid rgba(205, 205, 205, 0.8);
    transform: rotate(45deg);
    transition: transform 140ms ease;
}

.update-card.is-open .update-card__chevron {
    transform: rotate(-135deg);
}

.update-card__marker {
    position: absolute;
    left: calc(-64px + 31px);
    top: 1.35rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(0, 191, 99, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.14);
}

.update-card__head h2 {
    margin: 0.3rem 0 0;
    color: var(--color-light);
    font-size: 1.25rem;
}

.update-card__meta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

.update-card__date {
    color: rgba(205, 205, 205, 0.78);
    font-size: 0.92rem;
    display: inline-block;
    transform-origin: left center;
    transition: transform 320ms ease, color 320ms ease;
}

.update-card.is-open .update-card__date {
    color: rgba(0, 191, 99, 0.95);
    transform: translateY(-26px) scale(1.16);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.30);
    background: #171819;
}

.update-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.35);
    color: rgba(0, 191, 99, 0.95);
    font-size: 0.86rem;
    background: rgba(0, 191, 99, 0.08);
}

.update-card__bullets {
    margin: 0.9rem 0 0;
    padding-left: 1.25rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.update-card__body {
    margin-top: 0.85rem;
}

.update-card__body.is-animating {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .updates__rail::after,
    .update-card__toggle,
    .update-card__date,
    .update-card::after {
        transition: none;
    }
}

.update-card__details {
    margin-top: 1.05rem;
}

.update-card__section-title {
    margin: 1.05rem 0 0.45rem;
    color: rgba(205, 205, 205, 0.92);
    font-size: 1rem;
    font-weight: 650;
}

.update-card__list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.update-card__list code {
    padding: 0.12rem 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(244, 202, 148, 0.16);
    background: rgba(0, 0, 0, 0.18);
    color: rgba(244, 202, 148, 0.95);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92rem;
}

.updates-empty {
    border-radius: 18px;
    border: 1px solid rgba(244, 202, 148, 0.16);
    background: rgba(16, 16, 16, 0.58);
    padding: 1.35rem;
    color: var(--color-light);
}

.updates-empty p {
    margin: 0.55rem 0 0;
    color: var(--color-muted);
}

.commands-empty {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(244, 202, 148, 0.18);
    background: rgba(16, 16, 16, 0.55);
    margin-bottom: 1.6rem;
}

.commands-empty__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.commands-empty h3 {
    margin: 0;
    color: var(--color-light);
    font-size: 1.25rem;
}

.commands-empty p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.commands-category {
    margin-top: 2.2rem;
}

.commands-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.commands-category__title {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.commands-category__icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.commands-category__title h2 {
    margin: 0;
    color: var(--color-light);
    font-size: 1.7rem;
}

.commands-category__title p {
    margin: 0.15rem 0 0;
    color: var(--color-muted);
}

.commands-category__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 202, 148, 0.25);
    background: rgba(16, 16, 16, 0.55);
    color: rgba(244, 202, 148, 0.9);
    font-size: 0.85rem;
    white-space: nowrap;
}

.command-item .accordion-trigger {
    grid-template-columns: auto 1fr auto;
}

.command-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 202, 148, 0.25);
    background: rgba(16, 16, 16, 0.5);
    color: rgba(244, 202, 148, 0.95);
    font-size: 0.9rem;
    white-space: nowrap;
}

.command-title {
    color: var(--color-light);
    font-weight: 600;
}

.command-panel {
    padding: 0.15rem 1.2rem 1rem;
    display: grid;
    gap: 0.75rem;
}

.command-panel__desc {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.command-panel__meta {
    display: grid;
    gap: 0.65rem;
    color: var(--color-light);
    font-size: 0.95rem;
}

.command-usage {
    color: rgba(244, 202, 148, 0.95);
    font-weight: 600;
}

.command-params ul {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
    color: var(--color-muted);
}

.command-params li {
    margin: 0.25rem 0;
}

.param-name {
    color: rgba(244, 202, 148, 0.9);
    font-weight: 600;
}

.command-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.note-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 202, 148, 0.22);
    background: rgba(16, 16, 16, 0.45);
    color: rgba(244, 202, 148, 0.9);
    font-size: 0.82rem;
}

.home-final-cta {
    position: relative;
    padding: 4.6rem 0 5.2rem;
    border-top: 1px solid rgba(244, 202, 148, 0.18);
    background: linear-gradient(150deg, rgba(20, 20, 20, 0.96), rgba(24, 24, 24, 0.92));
    overflow: hidden;
}

.home-final-cta__decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-final-cta__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem;
}

.home-final-cta__content {
    grid-column: span 7;
    min-width: 0;
    text-align: center;
}

.home-final-cta__eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    color: rgba(244, 202, 148, 0.88);
}

.home-final-cta__content h2 {
    margin: 0 0 0.8rem;
    color: var(--color-light);
    font-size: clamp(2rem, 4vw, 3rem);
}

.home-final-cta__hook {
    margin: 0 0 0.75rem;
    color: var(--color-light);
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
}

.home-final-cta__hook strong {
    color: var(--color-warm);
}

.home-final-cta__content p {
    margin: 0 0 1.3rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.home-final-cta__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    justify-content: center;
}

.home-final-cta__content .btn {
    padding: 0.78rem 2.6rem;
    min-width: 250px;
    justify-content: center;
}

.home-final-cta__chips span {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 202, 148, 0.3);
    background: rgba(16, 16, 16, 0.52);
    color: var(--color-warm);
    font-size: 0.82rem;
    white-space: nowrap;
}

.home-final-cta__media {
    grid-column: span 5;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.home-final-cta__media img {
    width: min(100%, 500px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.42));
}

.home-final-cta .floating-island.is-visible {
    opacity: 1;
}

.home-final-cta .floating-island.floating-rock.is-visible {
    opacity: 1;
}

.community-trust {
    position: relative;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(160deg, rgba(23, 24, 25, 0.98), rgba(18, 24, 20, 0.92));
    overflow: hidden;
}

.community-trust::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto;
    height: 75%;
    background: none;
    opacity: 0;
    filter: blur(0);
    z-index: 0;
}

.community-trust::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 70%;
    background: none;
    z-index: 0;
}

.community-trust__header {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2.25rem;
}

.community-trust__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: rgba(255, 215, 114, 0.8);
}

.community-trust__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: var(--color-light);
}

.community-trust__lead {
    margin: 0;
    max-width: 720px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.warm-highlight {
    color: var(--color-warm);
    text-shadow: 0 0 18px rgba(255, 218, 125, 0.18);
}

.community-carousel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.carousel-viewport {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.carousel-viewport.is-dragging {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 1rem;
    align-items: stretch;
    will-change: transform;
}

.trust-card {
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 260px;
    background: rgba(17, 18, 19, 0.88);
    border-radius: 18px;
    border: 1px solid rgba(0, 191, 99, 0.2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: grid;
    gap: 0.8rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
    justify-items: center;
    text-align: center;
}

.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 191, 99, 0.5);
}

.trust-card__avatar {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(0, 191, 99, 0.35);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    margin-top: 1.1rem;
    background: rgba(23, 24, 25, 0.7);
}

.trust-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trust-card__body {
    padding: 0 1rem 1.2rem;
    display: grid;
    gap: 0.25rem;
}

.trust-card__body h3 {
    margin: 0;
    color: var(--color-light);
    font-size: 1.05rem;
}

.trust-card__body p {
    margin: 0;
    color: rgba(0, 255, 148, 0.75);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 99, 0.5);
    background: rgba(23, 24, 25, 0.7);
    color: var(--color-light);
    font-size: 1.6rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 191, 99, 0.12);
}

.keyword {
    position: relative;
    display: inline-block;
    color: #c5cbd0;
    transition: transform 0.25s ease, color 0.25s ease;
    z-index: 1;
}

.keyword:hover {
    transform: scale(1.06);
    color: var(--color-light);
}

.keyword-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.keyword-icons img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: translate(0, 0) scale(0.2);
    transition: transform 0.55s ease var(--delay, 0s), opacity 0.25s ease var(--delay, 0s);
    transform-origin: center;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
    will-change: transform, opacity;
}

.keyword-icons.is-active img {
    opacity: 1;
    transform: translate(var(--x), var(--y)) scale(1);
    animation: keyword-float 2.4s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0s) + 0.2s);
}

.keyword-icons.is-returning img {
    opacity: 0;
    transform: translate(0, 0) scale(0.2);
    animation-play-state: paused;
    transition: transform 0.45s ease, opacity 0.25s ease 0.25s;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes intro-mascot {
    0% {
        opacity: 0;
        transform: translateX(calc(var(--mascot-x) - 26px)) translateY(calc(var(--mascot-y) + 26px));
    }
    100% {
        opacity: 1;
        transform: translateX(var(--mascot-x)) translateY(var(--mascot-y));
    }
}

@keyframes keyword-float {
    0%, 100% {
        transform: translate(var(--x), var(--y)) scale(1);
    }
    50% {
        transform: translate(calc(var(--x) + 4px), calc(var(--y) - 6px)) scale(1.05);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin: 0 0 1rem;
    color: var(--color-light);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 191, 99, 0.18);
    border: 1px solid rgba(0, 191, 99, 0.4);
    color: var(--color-light);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.feature-list strong {
    display: block;
    color: var(--color-light);
    margin-bottom: 0.25rem;
}

.image-placeholder {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    background: repeating-linear-gradient(
        135deg,
        rgba(0, 191, 99, 0.25),
        rgba(0, 191, 99, 0.25) 12px,
        rgba(0, 255, 148, 0.2) 12px,
        rgba(0, 255, 148, 0.2) 24px
    );
    border: 1px solid rgba(0, 191, 99, 0.3);
    margin-bottom: 1rem;
}

.hero p {
    margin: 0 0 2rem;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight-card {
    padding: 1.25rem;
    background: rgba(23, 24, 25, 0.8);
    border: 1px solid rgba(0, 191, 99, 0.18);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.highlight-card i {
    font-size: 1.75rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.section {
    padding: 4rem 0;
}

.section h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
}

.section p.section-lead {
    margin: 0 0 2.5rem;
    color: var(--color-muted);
    max-width: 680px;
}

.cards-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    padding: 1.75rem;
    background: rgba(23, 24, 24, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(0, 191, 99, 0.15);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent, rgba(0, 191, 99, 0.08));
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-top: 0;
    color: var(--color-light);
}

.card p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 191, 99, 0.6), rgba(0, 255, 148, 0.2));
}

.timeline-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: -1.53rem;
    top: 0.25rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--color-accent);
    border: 3px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 6px rgba(0, 191, 99, 0.15);
}

.commands-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.command-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.command-card li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(23, 24, 25, 0.6);
    border: 1px solid rgba(0, 191, 99, 0.1);
}

.command-card strong {
    color: var(--color-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.site-footer {
    padding: 2.2rem 0 1.1rem;
    background: rgba(23, 24, 24, 0.92);
    border-top: 1px solid rgba(0, 191, 99, 0.12);
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    gap: 1.15rem 1.35rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

@media (min-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.35fr repeat(4, minmax(150px, 1fr));
        gap: 1.2rem;
    }
}

.footer-grid h4 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.footer-grid p {
    margin: 0.35rem 0 0.85rem;
    line-height: 1.5;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.28rem;
}

.footer-grid li {
    line-height: 1.25;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.footer-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 18px rgba(0, 191, 99, 0.18));
}

.footer-brand p {
    margin: 0.2rem 0 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.feedback-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    z-index: 10000;
}

.feedback-modal.is-open {
    display: flex;
}

.feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.feedback-modal__panel {
    position: relative;
    width: min(620px, 96vw);
    max-height: calc(100vh - 2.4rem);
    border-radius: 18px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.96);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.1rem 1.2rem;
    overflow: auto;
}

.feedback-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.feedback-modal__head h3 {
    margin: 0;
    color: var(--color-light);
    font-size: 1.25rem;
}

.feedback-modal__close {
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.7);
    color: var(--color-light);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition-base);
}

.feedback-modal__close:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.feedback-form {
    display: grid;
    gap: 0.55rem;
}

.feedback-form__label {
    color: var(--color-light);
    font-weight: 600;
    margin-top: 0.35rem;
}

.feedback-form__status {
    min-height: 1.1rem;
    color: rgba(244, 202, 148, 0.9);
    font-size: 0.95rem;
}

.brand-strip {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.brand-strip-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 191, 99, 0.25));
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--color-light);
}

.page-header .section-lead {
    margin: 0 auto;
    max-width: 680px;
    color: var(--color-muted);
}

.contribution-card .guide-icon {
    font-size: 2.2rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.contribution-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.hero-figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 99, 0.18);
}

.hero-illustration {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pix-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pix-card h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--color-light);
}

.pix-key {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(0, 191, 99, 0.14);
    border: 1px solid rgba(0, 191, 99, 0.35);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    word-break: break-all;
    text-align: center;
    color: var(--color-light);
    font-weight: 600;
}

.pix-actions {
    display: grid;
    gap: 0.75rem;
}

.pix-help {
    margin: 0;
    color: var(--color-muted);
}

.copy-feedback {
    font-size: 0.85rem;
    color: var(--color-light);
    min-height: 1.1rem;
}

.copy-feedback.success {
    color: var(--color-light);
}

.copy-feedback.error {
    color: #ff9c9c;
}

.qr-wrapper {
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(23, 24, 24, 0.86);
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.18);
}

.qr-wrapper img {
    width: min(240px, 65vw);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.support-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.support-figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 99, 0.25);
    box-shadow: var(--shadow-soft);
}

.support-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.media-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 99, 0.2);
    background: rgba(23, 24, 24, 0.86);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.media-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-card {
    display: grid;
    gap: 1rem;
}

.pix-copy-btn {
    justify-self: start;
}

.pix-copy-btn i {
    font-size: 0.95rem;
}

.bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.bullet-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.bullet-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0.35rem;
    font-size: 1.6rem;
    color: var(--color-accent);
}

@media (max-width: 720px) {
    .page-header {
        text-align: left;
    }

    .payment-grid {
        gap: 1.5rem;
    }

    .pix-card {
        gap: 0.75rem;
    }

    .brand-strip {
        justify-content: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 540px) {
    .brand-strip-logo {
        height: 48px;
    }

    .support-showcase {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pix-copy-btn {
        width: 100%;
        justify-content: center;
    }
}

.footer-grid a {
    color: var(--color-muted);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-grid a:hover {
    color: var(--color-light);
}

.footer-bottom {
    margin-top: 1.35rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.message-stack {
    width: min(640px, 92vw);
    margin: 1rem auto 0;
}

.alert {
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: rgba(0, 191, 99, 0.15);
    border: 1px solid rgba(0, 191, 99, 0.35);
}

.alert-warning {
    background: rgba(244, 202, 148, 0.2);
    border-color: rgba(244, 202, 148, 0.5);
}

.page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 255, 148, 0.12), rgba(23, 24, 25, 0.98));
    display: grid;
    place-items: center;
    z-index: 999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.loader-logo {
    width: 72px;
    height: 72px;
}

.loader-text {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--color-light);
    text-transform: uppercase;
}

.loader-bar {
    margin-top: 0.35rem;
    width: 220px;
    height: 4px;
    background: rgba(0, 191, 99, 0.25);
    border-radius: 999px;
    overflow: hidden;
}

.loader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, var(--color-accent), var(--color-light));
    animation: loader-slide 1.2s ease-in-out infinite;
}

@keyframes loader-slide {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(60%);
    }
    100% {
        transform: translateX(120%);
    }
}

.dashboard-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.server-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(23, 24, 25, 0.85);
    border: 1px solid rgba(0, 191, 99, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-base);
}

.server-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.server-card header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-banner {
    margin: -1.75rem -1.75rem 1.25rem;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 191, 99, 0.12);
}

.server-banner img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.server-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.server-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.ranking-identity {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ranking-identity .discord-id {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.config-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(23, 24, 25, 0.9);
    border: 1px solid rgba(0, 191, 99, 0.12);
}

.form-control, .form-check-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: rgba(0, 255, 148, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 255, 148, 0.15);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent);
}

.guide-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.guide-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(0, 255, 148, 0.12);
    color: var(--color-light);
    font-size: 1.5rem;
}

.guide-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.guide-steps li {
    border-left: 3px solid rgba(0, 191, 99, 0.35);
    padding-left: 1rem;
}

.inline-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.inline-list li {
    background: rgba(23, 24, 25, 0.6);
    border: 1px solid rgba(0, 191, 99, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.95rem;
}

.guide-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.command-groups {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.command-group-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.command-group-header i {
    font-size: 1.75rem;
    color: var(--color-light);
}

.command-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.command-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(23, 24, 25, 0.65);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(0, 191, 99, 0.12);
}

.table-responsive {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.15);
    background: rgba(23, 24, 25, 0.85);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.ranking-table th {
    color: var(--color-light);
    font-weight: 600;
}

.ranking-table tbody tr:nth-child(even) {
    background: rgba(0, 191, 99, 0.05);
}

.bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.bullet-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-muted);
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-light);
}

.user-daily-card strong {
    color: var(--color-light);
}

.npc-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.npc-card {
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.12);
    background: rgba(23, 24, 25, 0.85);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.npc-card header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.npc-card img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
}

.npc-description {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.npc-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.form-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.status-grid {
    display: grid;
    gap: 1.5rem;
}

.npc-form textarea {
    min-height: 120px;
}

.npcs-page .field {
    display: grid;
    gap: 0.4rem;
}

.npcs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-bottom: 1.25rem;
}

.npcs-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.npcs-search {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.22);
    background: rgba(16, 16, 16, 0.7);
}

.npcs-search:focus-within {
    border-color: rgba(0, 255, 148, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 255, 148, 0.12);
}

.npcs-search input {
    flex: 1;
    min-width: min(320px, 72vw);
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-light);
}

.npcs-search input::placeholder {
    color: rgba(205, 205, 205, 0.7);
}

.npcs-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.npcs-counter {
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.6);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    white-space: nowrap;
}

.npcs-pagination {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.npcs-pagination__meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.npcs-pagination__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.npcs-page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.npcs-page-link:hover {
    background: rgba(255, 255, 255, 0.07);
}

.npcs-page-link.is-active {
    border-color: rgba(0, 255, 148, 0.45);
    background: rgba(0, 255, 148, 0.12);
    color: var(--color-light);
}

.npc-card--crud {
    padding: 1rem 1.1rem;
}

.npc-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.npc-avatar {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.npc-avatar--lg {
    width: 72px;
    height: 72px;
}

.npc-card__title {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.npc-card__name {
    font-weight: 650;
    color: var(--color-light);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npc-card__prefix {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npc-card__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.npc-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.npc-upload {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 191, 99, 0.18);
    background: rgba(23, 24, 25, 0.6);
}

.npc-upload__preview {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    flex: 0 0 auto;
}

.npc-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.npc-upload__text {
    display: grid;
    gap: 0.2rem;
}

.npc-upload__text strong {
    color: var(--color-light);
}

.npc-upload__text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.4;
}

/* Crop (Recorte de imagem do NPC) */
.npc-crop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 860px) {
    .npc-crop {
        grid-template-columns: 1fr;
    }
}

.npc-crop__stage {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(23, 24, 25, 0.65);
    overflow: hidden;
    min-height: 320px;
    max-height: 55vh;
    display: grid;
    place-items: center;
}

.npc-crop__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

.npc-crop__box {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid rgba(0, 191, 99, 0.85);
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38);
    cursor: move;
    touch-action: none;
}

.npc-crop__handle {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.92);
}

.npc-crop__handle--n {
    top: -7px;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: n-resize;
}

.npc-crop__handle--s {
    bottom: -7px;
    left: 50%;
    transform: translate(-50%, 50%);
    cursor: s-resize;
}

.npc-crop__handle--e {
    right: -7px;
    top: 50%;
    transform: translate(50%, -50%);
    cursor: e-resize;
}

.npc-crop__handle--w {
    left: -7px;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: w-resize;
}

.npc-crop__handle--ne {
    top: -7px;
    right: -7px;
    transform: translate(50%, -50%);
    cursor: ne-resize;
}

.npc-crop__handle--se {
    bottom: -7px;
    right: -7px;
    transform: translate(50%, 50%);
    cursor: se-resize;
}

.npc-crop__handle--sw {
    bottom: -7px;
    left: -7px;
    transform: translate(-50%, 50%);
    cursor: sw-resize;
}

.npc-crop__handle--nw {
    top: -7px;
    left: -7px;
    transform: translate(-50%, -50%);
    cursor: nw-resize;
}

.npc-crop__side {
    display: grid;
    gap: 0.75rem;
}

.npc-crop__preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.npc-crop__preview canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.npc-crop__hint {
    display: grid;
    gap: 0.2rem;
}

.npc-crop__hint strong {
    color: var(--color-light);
}

.npc-crop__hint span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.4;
}

.npc-icon-btn:hover {
    background: rgba(255, 255, 255, 0.075);
}

.npc-icon-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.npc-modal__body {
    display: grid;
    gap: 1.1rem;
}

.npc-modal__identity {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.npc-modal__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-light);
}

.npc-modal__prefix {
    color: rgba(255, 255, 255, 0.7);
}

.npc-modal__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.npc-modal__item {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.85rem 0.95rem;
    display: grid;
    gap: 0.2rem;
}

.npc-modal__item span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.npc-modal__item strong {
    color: var(--color-light);
}

.npc-modal__section h4 {
    margin: 0 0 0.5rem;
    color: var(--color-light);
}

.npc-modal__text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    white-space: pre-wrap;
}

.npc-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.npc-modal__status {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.npc-extras {
    display: grid;
    gap: 0.55rem;
}

.npc-extras__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.npc-extras__row span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.npc-extras__row strong {
    color: var(--color-light);
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.coming-soon {
    min-height: 60vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.coming-soon .highlight-card {
    max-width: 520px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.legal-hero {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.legal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 24, 25, 0.76), rgba(23, 24, 25, 0.92));
}

.legal-wrapper {
    position: relative;
    z-index: 1;
}

.legal-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.25rem;
    border-radius: 22px;
    background: rgba(17, 18, 19, 0.88);
    border: 1px solid rgba(0, 191, 99, 0.35);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    position: relative;
}

.legal-card h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    color: var(--color-light);
}

.legal-lead {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.legal-block {
    margin-top: 1.75rem;
    display: grid;
    gap: 0.75rem;
}

.legal-block h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-light);
}

.legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.legal-list li {
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-muted);
    line-height: 1.6;
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-light);
    box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.18);
}

.legal-text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.legal-card a {
    color: var(--color-light);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.85rem 0;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .brand {
        gap: 0.45rem;
    }

    .brand-name {
        display: none;
    }

    .intro-hero__brand {
        font-size: clamp(4rem, 4vw, 3.2rem);
        
    }

    .brand-icon {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
    }

    .nav-drawer {
        width: min(320px, 92vw);
        right: 0;
        top: calc(100% + 10px);
    }

    .hero {
        padding-top: 6rem;
    }

    .config-form {
        padding: 1.5rem;
    }

    .legal-hero {
        padding: 4.5rem 0;
    }

    .legal-card {
        padding: 1.6rem;
    }

    .intro-hero {
        padding: 1rem 0 4rem;
        background-position: center top;
    }

    .intro-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-hero__content {
        justify-items: center;
    }

    .intro-hero__mascot {
        width: min(90%, 380px);
        --mascot-x: 0px;
        --mascot-y: 24px;
    }

    .intro-hero__lead {
        max-width: 480px;
    }

    .intro-hero__actions {
        justify-content: center;
    }

    .about-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-row {
        grid-template-columns: 1fr;
    }

    .creator-note {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .developer-spotlight__grid {
        grid-template-columns: 1fr;
    }

    .developer-invites {
        grid-template-columns: 1fr;
    }

    .systems-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .systems-row.is-reverse {
        grid-template-columns: 1fr;
    }

    .systems-row .systems-accordion,
    .systems-row .systems-media {
        grid-column: auto;
    }

    .systems-row .systems-media {
        order: -1;
        padding-top: 0;
    }

    .systems-row.is-reverse .systems-media {
        order: -1 !important;
    }

    .systems-row.is-reverse .systems-accordion {
        order: 0 !important;
    }

    .systems-media-stack {
        min-height: clamp(220px, 58vw, 300px);
    }

    .systems-media-stack img {
        max-width: 100%;
        max-height: 100%;
    }

    .commands-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .commands-hero__content,
    .commands-hero__topics {
        grid-column: auto;
    }

    .commands-search {
        justify-content: center;
    }

    .commands-search__field {
        min-width: 100%;
    }

    .user-switcher {
        display: none;
    }

    .topic-card {
        grid-column: span 6;
    }

    .commands-category__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .systems-accordion {
        gap: 0.65rem;
    }

    .accordion-item {
        border-radius: 12px;
    }

    .accordion-trigger {
        padding: 0.78rem 0.88rem;
        gap: 0.65rem;
        font-size: 0.93rem;
    }

    .accordion-trigger img {
        width: 22px;
        height: 22px;
    }

    .accordion-panel p {
        padding: 0 0.88rem 0.9rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .floating-island {
        width: min(var(--size, 180px), 34vw);
        display: none;
    }

    .floating-islands {
        display: none;
    }

    .floating-island:nth-child(n + 8) {
        display: none;
    }

    .home-final-cta {
        padding: 4rem 0 4.4rem;
    }

    .home-final-cta__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
    }

    .home-final-cta__content,
    .home-final-cta__media {
        grid-column: auto;
    }

    .home-final-cta__content .btn {
        width: auto;
    }

    .home-final-cta__chips {
        justify-content: center;
    }

    .home-final-cta__media img {
        width: min(88%, 400px);
    }
}

@media (max-width: 520px) {
    .floating-island {
        width: min(var(--size, 180px), 36vw);
    }

    .floating-island:nth-child(n + 6) {
        display: none;
    }

    .community-carousel {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        display: none;
    }

    .topic-card {
        grid-column: span 12;
    }

    .keyword-icons {
        display: none;
    }

    .keyword-icons img {
        width: 26px;
        height: 26px;
    }
}
