* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7f9;
    color: #26313e;
}

.hidden {
    display: none !important;
}

.hub-shell {
    min-height: 100vh;
}

.hub-header {
    height: 78px;
    padding: 0 42px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #e4e8ec;
    background: rgba(255,255,255,.96);
}

.hub-brand {
    display: flex;
    align-items: center;
    gap: 11px;

    color: inherit;
    text-decoration: none;
}

.hub-mark {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #263443;
    color: #fff;

    font-size: 22px;
    font-weight: 800;
}

.hub-brand strong {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
}

.hub-brand small {
    display: block;
    margin-top: 3px;

    color: #99a1aa;
    font-size: 8px;
    letter-spacing: .09em;
}

.hub-nav {
    margin-left: 55px;

    display: flex;
    gap: 29px;
}

.hub-nav a {
    position: relative;

    color: #6f7984;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}

.hub-nav a:hover,
.hub-nav a.active {
    color: #263443;
}

.hub-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;

    height: 2px;

    background: #263443;
}

.hub-account {
    position: relative;
    margin-left: auto;
}

.hub-login {
    display: inline-flex;
    align-items: center;

    min-height: 40px;
    padding: 0 17px;

    border: 1px solid #dce2e8;
    border-radius: 12px;

    background: #fff;

    color: #34404d;
    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}

.member-menu {
    position: relative;
}

.member-trigger {
    position: relative;

    height: 47px;
    min-width: 158px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 5px 11px 5px 6px;

    border: 1px solid #dce2e8;
    border-radius: 15px;

    background: #fff;
}

.member-avatar {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #263443;
    color: #fff;

    font-weight: 800;
}

.member-summary {
    flex: 1;
    min-width: 0;

    text-align: left;
}

.member-summary strong,
.member-summary small {
    display: block;
}

.member-summary strong {
    max-width: 85px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #26313e;

    font-size: 11px;
}

.member-summary small {
    margin-top: 3px;

    color: #9aa2ab;
    font-size: 7px;
    letter-spacing: .1em;
}

.member-chevron {
    color: #8c959f;
}

.header-notification {
    position: absolute;

    top: -6px;
    right: -6px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    display: grid;
    place-items: center;

    border: 2px solid #fff;
    border-radius: 20px;

    background: #263443;
    color: #fff;

    font-size: 8px;
    font-weight: 800;
}

.member-dropdown {
    position: absolute;

    top: calc(100% + 9px);
    right: 0;

    width: 225px;
    z-index: 100;

    padding: 9px;

    border: 1px solid #e0e5e9;
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 18px 50px
        rgba(28,39,51,.14);
}

.member-dropdown-profile {
    padding: 9px 9px 12px;
}

.member-dropdown-profile strong,
.member-dropdown-profile span {
    display: block;
}

.member-dropdown-profile strong {
    font-size: 13px;
}

.member-dropdown-profile span {
    margin-top: 4px;

    color: #929ba4;
    font-size: 10px;
}

.member-dropdown > a,
.member-dropdown > button {
    width: 100%;
    min-height: 39px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #5c6773;
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
}

.member-dropdown > a:hover,
.member-dropdown > button:hover {
    background: #f4f6f8;
    color: #263443;
}

.menu-count {
    min-width: 20px;
    padding: 3px 6px;

    border-radius: 20px;

    background: #eef1f4;
    text-align: center;

    font-size: 8px;
}

.menu-divider {
    height: 1px;
    margin: 7px 4px;

    background: #edf0f2;
}

main {
    max-width: 1500px;
    margin: auto;

    padding: 52px 42px 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(330px, .65fr);

    gap: 25px;
}

.hero-copy,
.server-brief,
.personal-card,
.home-panel {
    border: 1px solid #e2e6ea;
    background: #fff;
}

.hero-copy {
    min-height: 330px;

    padding: 54px;

    border-radius: 24px;
}

.hero-eyebrow,
.card-eyebrow,
.panel-heading span,
.brief-heading span {
    color: #9aa3ac;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.hero-copy h1 {
    margin: 18px 0 15px;

    color: #25313e;

    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.07;
    letter-spacing: -.045em;
}

.hero-copy p {
    max-width: 600px;

    color: #77818c;

    font-size: 13px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 9px;

    margin-top: 29px;
}

.primary-action,
.secondary-action {
    min-height: 43px;

    display: inline-flex;
    align-items: center;

    padding: 0 18px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}

.primary-action {
    background: #263443;
    color: #fff;
}

.secondary-action {
    border: 1px solid #dce2e7;
    color: #485461;
}

.server-brief {
    padding: 28px;

    border-radius: 24px;
}

.brief-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.brief-heading h2 {
    margin: 5px 0 0;
    font-size: 20px;
}

.live-pill {
    height: 27px;
    padding: 0 10px;

    display: flex;
    align-items: center;

    border-radius: 20px;

    background: #f0f2f4;

    color: #68737e;

    font-size: 9px;
    font-weight: 800;
}

.live-pill.online {
    background: #eef5f1;
    color: #4f7560;
}

.brief-primary {
    margin: 28px 0;

    display: flex;
    align-items: baseline;
    gap: 10px;
}

.brief-primary strong {
    font-size: 48px;
    letter-spacing: -.04em;
}

.brief-primary span {
    color: #89929b;
    font-size: 10px;
}

.brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.brief-grid div {
    padding: 13px;

    border-radius: 13px;
    background: #f7f8fa;
}

.brief-grid span,
.brief-grid strong {
    display: block;
}

.brief-grid span {
    color: #929ba4;
    font-size: 8px;
}

.brief-grid strong {
    margin-top: 5px;
    font-size: 14px;
}

.brief-link {
    display: inline-block;
    margin-top: 21px;

    color: #52606d;
    text-decoration: none;

    font-size: 10px;
    font-weight: 800;
}

.personal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 15px;
}

.personal-card {
    min-height: 120px;

    padding: 21px;

    border-radius: 18px;

    color: inherit;
    text-decoration: none;
}

.personal-card:hover {
    border-color: #cdd4dc;
}

.personal-card strong,
.personal-card small {
    display: block;
}

.personal-card strong {
    margin-top: 16px;

    font-size: 22px;
    letter-spacing: -.025em;
}

.personal-card small {
    margin-top: 5px;

    color: #929aa3;
    font-size: 9px;
}

.home-content-grid {
    display: grid;
    grid-template-columns: 1.65fr .85fr;

    gap: 15px;

    margin-top: 15px;
}

.home-panel {
    min-height: 310px;

    padding: 24px;

    border-radius: 20px;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.panel-heading h2 {
    margin: 5px 0 0;
    font-size: 17px;
}

.panel-heading a {
    color: #7f8994;
    text-decoration: none;

    font-size: 9px;
    font-weight: 800;
}

.map-preview-stage {
    height: 245px;
    margin-top: 20px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    background:
        radial-gradient(
            circle at 40% 35%,
            #ffffff,
            #eff2f4
        );

    border: 1px solid #e5e9ec;
}

.map-preview-copy {
    max-width: 360px;
    text-align: center;
}

.map-preview-copy strong,
.map-preview-copy span {
    display: block;
}

.map-preview-copy strong {
    font-size: 19px;
}

.map-preview-copy span {
    margin-top: 9px;

    color: #858f99;

    font-size: 10px;
    line-height: 1.7;
}

.home-player-list,
.home-chat-list,
.home-notice-list {
    margin-top: 17px;
}

.home-player-row,
.home-chat-row,
.home-notice-row {
    padding: 12px 3px;

    border-bottom: 1px solid #eef0f2;
}

.home-player-row {
    display: flex;
    justify-content: space-between;
}

.home-player-row strong,
.home-chat-row strong,
.home-notice-row strong {
    font-size: 10px;
}

.home-player-row span,
.home-chat-row span,
.home-notice-row span {
    color: #8a949e;
    font-size: 9px;
}

.home-chat-row span,
.home-notice-row span {
    display: block;
    margin-top: 5px;
}

@media (max-width: 1050px) {

    .hub-nav {
        display: none;
    }

    .hero-grid,
    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .personal-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {

    .hub-header {
        height: 68px;
        padding: 0 15px;
    }

    .hub-brand small {
        display: none;
    }

    .member-summary small {
        display: none;
    }

    .member-trigger {
        min-width: 0;
    }

    main {
        padding: 20px 14px 55px;
    }

    .hero-copy {
        min-height: 0;
        padding: 31px 25px;
    }

    .hero-copy h1 {
        font-size: 35px;
    }

    .personal-cards {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .personal-card {
        min-height: 105px;
        padding: 17px;
    }

    .personal-card strong {
        font-size: 18px;
    }

    .server-brief,
    .home-panel {
        padding: 20px;
    }
}
