body.lobby-page--nn {
    background:
        radial-gradient(circle at top left, rgba(136, 92, 255, 0.16), transparent 24%),
        linear-gradient(180deg, #3b2e3f 0%, #1d1a23 13%, #141417 32%, #121214 100%);
    color: #f5f5f7;
}

.nn-topbar {
    height: 58px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 120px;
    align-items: center;
    padding: 0 14px 0 16px;
    gap: 18px;
}

.nn-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.nn-topbar__brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.nn-topbar__brand-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nn-topbar__brand-copy strong {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.nn-topbar__brand-copy strong::after {
    content: " 玄鸟";
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #f6f6fb;
    font-size: 11px;
    font-weight: 700;
}

.nn-topbar__brand-copy span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nn-topbar__center {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nn-topbar__back {
    color: #f7e8ff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.nn-topbar__game-search {
    width: 200px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
}

.nn-topbar__game-search input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 36px 0 12px;
    color: #f4f4f6;
    font-size: 14px;
}

.nn-topbar__actions {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.nn-topbar__icon {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    position: relative;
}

.nn-topbar__icon--notify::before,
.nn-topbar__icon--menu::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #7869ff;
}

.nn-topbar__icon--notify::after {
    content: "4";
    position: absolute;
    top: -2px;
    right: -3px;
    min-width: 12px;
    height: 12px;
    padding: 0 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f44336;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.nn-topbar__icon--menu::before {
    width: 16px;
    height: 2px;
    border: none;
    border-radius: 2px;
    background: #d1d1d8;
    box-shadow: 0 -6px 0 #d1d1d8, 0 6px 0 #d1d1d8;
}

.nn-discover-screen {
    min-height: calc(100vh - 58px);
    display: grid;
    grid-template-columns: 316px minmax(0, 1fr);
    padding-right: 10px;
}

.nn-discover-screen__left {
    display: grid;
    grid-template-columns: 70px 246px;
    min-height: 100%;
}

.nn-discover-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 182px 0 14px;
}

.nn-discover-rail__stack {
    display: grid;
    gap: 10px;
}

.nn-rail-game {
    position: relative;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
}

.nn-rail-game.is-active {
    border-color: #7c6cff;
    box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.16);
}

.nn-rail-game__cover {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #1f1f24;
}

.nn-rail-game__cover img,
.nn-rail-game__cover span {
    width: 100%;
    height: 100%;
    display: block;
}

.nn-rail-game__cover img {
    object-fit: cover;
}

.nn-rail-game__cover span {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.nn-rail-game__badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f44336;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.nn-discover-rail__bottom {
    margin-top: auto;
}

.nn-discover-rail__avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffb45f, #fb7c27);
    color: #fff;
    font-weight: 800;
}

.nn-discover-sidebar {
    padding: 8px 20px 20px 2px;
}

.nn-discover-sidebar h1 {
    margin: 0;
    padding-top: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.nn-discover-sidebar__create {
    width: 100%;
    margin-top: 28px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 2px;
    background: #f1f1f4;
    color: #141419;
    font-size: 15px;
    font-weight: 700;
}

.nn-discover-sidebar__create-icon {
    width: 18px;
    height: 18px;
    position: relative;
}

.nn-discover-sidebar__create-icon::before,
.nn-discover-sidebar__create-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: #141419;
    border-radius: 2px;
}

.nn-discover-sidebar__create-icon::before {
    width: 14px;
    height: 2px;
}

.nn-discover-sidebar__create-icon::after {
    width: 2px;
    height: 14px;
}

.nn-discover-sidebar__menu {
    margin-top: 28px;
    display: grid;
    gap: 9px;
}

.nn-discover-sidebar__menu-item {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: none;
    border-radius: 2px;
    background: transparent;
    color: #dddde2;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}

.nn-discover-sidebar__menu-item.is-active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.nn-discover-sidebar__menu-mark {
    width: 16px;
    height: 16px;
    position: relative;
}

.nn-discover-sidebar__menu-mark--fire::before,
.nn-discover-sidebar__menu-mark--pad::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.nn-discover-sidebar__menu-mark--fire::before {
    width: 11px;
    height: 14px;
    border-radius: 10px 10px 10px 2px;
    transform: rotate(-18deg);
}

.nn-discover-sidebar__menu-mark--pad::before {
    width: 13px;
    height: 9px;
    border-radius: 3px;
}

.nn-discover-main {
    padding: 0 14px 24px 0;
}

.nn-discover-main__search {
    width: 468px;
    height: 40px;
    margin: 6px 0 16px 0;
    position: relative;
}

.nn-discover-main__search input {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.035);
    color: #f4f4f6;
    padding: 0 44px 0 14px;
    font-size: 14px;
}

.nn-discover-main__refresh {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
}

.nn-discover-main__refresh::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-right-color: transparent;
    border-radius: 50%;
}

.nn-community-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, 325px));
    gap: 16px;
    justify-content: start;
    align-content: start;
}

.nn-community-card {
    width: 325px;
    height: 368px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    background: #161619;
    overflow: hidden;
}

.nn-community-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.nn-community-card__banner {
    flex: 0 0 185px;
    height: 185px;
    overflow: hidden;
    background: #0d0d10;
}

.nn-community-card__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nn-community-card__banner span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.nn-community-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 14px 20px 18px;
}

.nn-community-card__body h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.nn-community-card__meta {
    margin-top: 0;
    color: #9b9ba5;
    font-size: 14px;
}

.nn-community-card__badge-row {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.nn-community-card__level,
.nn-community-card__id {
    height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 2px;
    background: #a2a9b9;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.nn-community-card__id {
    background: rgba(255, 255, 255, 0.08);
    color: #e9ebf1;
}

.nn-community-card__body p {
    margin: 0;
    flex: 1 1 auto;
    min-height: 0;
    color: #ccccd2;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.nn-community-card__foot {
    margin-top: auto;
    padding-top: 6px;
}

.nn-community-card__online {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 14px;
    color: #d7d7dc;
    font-size: 14px;
}

.nn-community-card__online::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17c681;
    transform: translateY(-50%);
}

@media (max-width: 1320px) {
    .nn-discover-screen {
        grid-template-columns: 316px minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .nn-topbar {
        grid-template-columns: 1fr;
        height: auto;
        padding: 14px;
    }

    .nn-topbar__actions {
        display: none;
    }

    .nn-discover-screen {
        grid-template-columns: 1fr;
        padding: 0 14px 20px;
    }

    .nn-discover-screen__left {
        grid-template-columns: 1fr;
    }

    .nn-discover-rail {
        display: none;
    }

    .nn-discover-main {
        padding-right: 0;
    }

    .nn-discover-main__search {
        width: 100%;
    }

    .nn-community-wall {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .nn-community-card {
        width: 100%;
        max-width: 325px;
        justify-self: center;
    }
}
