:root {
    --hub-bg: #10141b;
    --hub-panel: #181f29;
    --hub-rule: #303a48;
    --hub-text: #f5f1e8;
    --hub-muted: #b6bfcb;
    --hub-gold: #f4c778;
    --hub-green: #9fdfad;
}
.game-hub {
    color: var(--hub-text);
    background: radial-gradient(ellipse at 18% 0%, #282331 0, transparent 47rem), var(--hub-bg);
}
.hub-shell {
    width: min(1320px, calc(100% - 72px));
    margin-inline: auto;
    padding-block: clamp(28px, 4.4vw, 68px) 72px;
    color: var(--hub-text);
}
.hub-shell p, .hub-shell small { color: var(--hub-muted); }
.hub-shell a { text-decoration: none; }
.hub-shell a:focus-visible, .hub-shell summary:focus-visible, .hub-shell :is(input, select, button):focus-visible {
    outline: 2px solid var(--hub-gold);
    outline-offset: 4px;
}
.hub-opening {
    display: grid;
    grid-template-columns: 1.25fr minmax(300px, .65fr);
    align-items: end;
    gap: clamp(36px, 10vw, 138px);
    margin-bottom: 50px;
}
.hub-eyebrow {
    color: var(--hub-gold) !important;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 750;
    margin: 0 0 13px;
}
.hub-intro h1, .hub-feature h3, .hub-section-title h2, .hub-ranks h1 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--hub-text);
    font-weight: 600;
    margin: 0;
    line-height: .97;
    letter-spacing: -.045em;
}
.hub-intro { min-width: 0; container-type: inline-size; }
.hub-intro h1 { font-size: clamp(2.25rem, 6.2vw, 6.55rem); font-size: clamp(1.75rem, 13cqi, 7.2rem); white-space: nowrap; }
.hub-intro h1 em { color: var(--hub-gold); font-weight: 500; }
.hub-intro > p:not(.hub-eyebrow) { max-width: 46ch; margin: 24px 0; font-size: 1.12rem; line-height: 1.55; }
.hub-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hub-button, .hub-rank-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 45px;
    padding: .6rem 1.05rem;
    color: #181310;
    background: var(--hub-gold);
    border: 1px solid var(--hub-gold);
    font: inherit;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
}
.hub-button:hover, .hub-rank-form button:hover { background: #ffe2a4; color: #181310; }
.hub-text-link { color: var(--hub-text); font-weight: 700; }
.hub-text-link span, .hub-text-link:hover { color: var(--hub-gold); }
.hub-live { padding: 18px 18px 6px; border: 1px solid var(--hub-rule); background: #141b24; }
.hub-live-heading, .hub-live li a, .hub-live-game { display: flex; align-items: center; }
.hub-live-heading { justify-content: space-between; gap: 12px; padding-bottom: 13px; }
.hub-live-heading h2 { margin: 0; font-size: 1.05rem; color: var(--hub-text); }
.hub-live-heading > span { font-size: .72rem; color: var(--hub-muted); white-space: nowrap; }
.hub-live-heading i { display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: 4px; border: 1px solid var(--hub-green); border-radius: 50%; }
.hub-live ul { margin: 0; padding: 0; list-style: none; }
.hub-live li { border-top: 1px solid var(--hub-rule); }
.hub-live li a { justify-content: space-between; min-height: 48px; padding-inline: 2px; color: var(--hub-text); }
.hub-live li a:hover { color: var(--hub-gold); }
.hub-live-game { gap: 10px; font-size: .95rem; }
.hub-live-game img { width: 38px; height: 28px; object-fit: cover; border-radius: 2px; }
.hub-live-value { color: var(--hub-muted); font-variant-numeric: tabular-nums; }
.hub-live-value.has-players { color: var(--hub-green); }
.hub-section-title { display: flex; justify-content: space-between; align-items: last baseline; gap: 10px 24px; border-bottom: 1px solid var(--hub-rule); padding-bottom: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.hub-section-title h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.hub-section-title > span { color: var(--hub-muted); font-size: .82rem; }
.hub-feature { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; min-height: clamp(320px, 37vw, 466px); overflow: hidden; background: #242333; }
.hub-feature > img, .hub-game-cover > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.hub-feature > img { object-position: 62% 42%; z-index: -2; }
.hub-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#10151df9 5%,#10151dce 34%,#10151d20 88%),linear-gradient(0deg,#10151de3,transparent 58%); }
.hub-feature-copy { width: min(100%, 610px); box-sizing: border-box; container-type: inline-size; padding: clamp(25px, 5vw, 65px); padding-bottom: 30px; }
.hub-feature h3 { font-size: clamp(1.875rem, 4.2vw, 3.9rem); font-size: clamp(1.65rem, 13.3cqi, 4.2rem); white-space: nowrap; }
.hub-feature-copy > p:not(.hub-eyebrow) { font-size: 1.05rem; max-width: 44ch; margin-block: 15px 24px; color: #e0e4ec; }
.hub-feature-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 13px clamp(25px,5vw,65px); border-top: 1px solid #ffffff29; background: #10151dc2; }
.hub-feature-nav a { color: var(--hub-muted); font-size: .85rem; padding-block: 5px; }
.hub-feature-nav a:hover { color: var(--hub-gold); }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hub-game { display: grid; grid-template-columns: 40% minmax(0, 1fr); position: relative; border: 1px solid var(--hub-rule); background: var(--hub-panel); min-height: 210px; }
.hub-game-cover { position: relative; display: block; overflow: hidden; background: #272c39; }
.hub-game-cover > img { transition: transform .35s ease; }
.hub-game:hover .hub-game-cover > img { transform: scale(1.045); }
.hub-game--murderarena .hub-game-cover img { object-position: 48% 48%; }
.hub-game--murderlands .hub-game-cover img { object-position: 55% 50%; }
.hub-game--murderhotel .hub-game-cover img { object-position: 63% 50%; }
.hub-game-copy { padding: clamp(15px, 2vw, 27px); display: flex; flex-direction: column; align-items: flex-start; }
.hub-game-copy .hub-eyebrow { font-size: .67rem; margin: 0 0 7px; }
.hub-game h3 { font: 600 clamp(1.45rem, 3vw, 2.3rem)/1 Georgia, serif; margin: 0; color: var(--hub-text); overflow-wrap: normal; }
.hub-game-copy > p:not(.hub-eyebrow) { font-size: .92rem; margin: 10px 0 16px; line-height: 1.45; }
.hub-game-actions { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; font-size: .89rem; }
.hub-game-details { color: var(--hub-muted); }
.hub-game-details:hover { color: var(--hub-gold); }
.hub-game:focus-within { outline: 2px solid var(--hub-gold); outline-offset: 4px; }
.hub-extras, .hub-faq { margin-top: 57px; }
.hub-extras-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hub-extra { display: grid; grid-template-columns: minmax(100px, 30%) 1fr; align-items: stretch; border-block: 1px solid var(--hub-rule); color: var(--hub-text); }
.hub-extra > img { width: 100%; height: 100%; min-height: 125px; object-fit: cover; }
.hub-extra > span { display: grid; gap: 6px; padding: 13px 16px; align-content: center; }
.hub-extra strong { font-size: 1.17rem; }
.hub-extra b, .hub-extra:hover strong { color: var(--hub-gold); }
.hub-faq details { padding-block: 13px; border-bottom: 1px solid var(--hub-rule); }
.hub-faq summary { cursor: pointer; width: fit-content; }
.hub-faq p { max-width: 75ch; margin: 12px 0 2px; line-height: 1.55; }
.hub-ranks { max-width: 1040px; }
.hub-ranks h1 { font-size: clamp(2.6rem, 7.5vw, 5.5rem); }
.hub-ranks > p { margin: 17px 0 26px; }
.hub-rank-tabs { display: flex; flex-wrap: wrap; gap: 4px 25px; border-bottom: 1px solid var(--hub-rule); margin-bottom: 20px; }
.hub-rank-tabs a { padding: 10px 3px; font-weight: 700; color: var(--hub-muted); border-bottom: 2px solid transparent; }
.hub-rank-tabs a[aria-current] { color: var(--hub-gold); border-color: var(--hub-gold); }
.hub-rank-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-block: 22px; }
.hub-rank-form label { display: grid; gap: 5px; color: var(--hub-muted); font-size: .82rem; }
.hub-rank-form :is(input, select) { min-height: 45px; max-width: 100%; padding: .5rem .75rem; color: var(--hub-text); background: var(--hub-panel); border: 1px solid var(--hub-rule); }
.hub-rank-table { overflow-x: auto; }
.hub-rank-table table { width: 100%; min-width: 0; color: var(--hub-text); border-collapse: collapse; }
.hub-rank-table :is(th,td) { padding: 13px; text-align: left; border-bottom: 1px solid var(--hub-rule); }
.hub-rank-table thead { color: var(--hub-gold); background: var(--hub-panel); }
.hub-rank-table details summary { cursor: pointer; color: var(--hub-gold); font-weight: 650; }
.hub-rank-table tbody :is(th,td) { vertical-align: top; }
.hub-rank-skills { margin-top: 4px; font-size: .875rem; font-weight: 400; }
.hub-skill-levels { list-style: none; margin: 8px 0 0; padding: 0; max-width: 15rem; min-width: 7.5rem; }
.hub-skill-levels li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 2px; }
.hub-skill-levels strong { min-width: 2ch; color: var(--hub-gold); text-align: right; font-variant-numeric: tabular-nums; }
.hub-rank-stats { display: flex; flex-wrap: wrap; gap: 14px 38px; border-top: 1px solid var(--hub-rule); margin: 28px 0; padding-top: 12px; }
.hub-rank-stats dd { margin: 6px 0 0; font: 600 2.1rem/1 Georgia, serif; color: var(--hub-gold); }
@media (max-width: 900px) {
    .hub-shell { width: calc(100% - 40px); }
    .hub-opening { gap: 25px; }
    .hub-game { grid-template-columns: 33% minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .hub-shell { width: calc(100% - 26px); padding-top: 30px; }
    .hub-opening, .hub-grid, .hub-extras-grid { grid-template-columns: 1fr; }
    .hub-opening { margin-bottom: 39px; }
    .hub-live { margin-top: 5px; }
    .hub-feature::after { background: linear-gradient(90deg,#10151de8,#10151d40),linear-gradient(0deg,#10151dfa,transparent); }
    .hub-actions { gap: 12px 16px; }
    .hub-rank-table :is(th, td) { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hub-game-cover > img { transition: none; } }
