/* D2LFG Homepage V1
   Purpose: evolve the registration doorway into a useful, low-maintenance community dashboard.
*/

:root {
    --bg: #090d13;
    --bg-2: #0e141d;
    --panel: rgba(18, 26, 37, 0.88);
    --panel-solid: #121a25;
    --panel-soft: #151f2c;
    --line: rgba(155, 205, 224, 0.18);
    --line-strong: rgba(92, 193, 211, 0.45);
    --text: #f4f7fa;
    --muted: #a9b4c1;
    --muted-2: #7f8b99;
    --accent: #55b8c8;
    --accent-2: #8edce7;
    --accent-soft: rgba(85, 184, 200, 0.13);
    --good: #79d7aa;
    --warning: #e5c77b;
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
    --radius: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body.home-v2 {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 15% 10%, rgba(66, 133, 155, 0.08), transparent 32rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    text-align: left;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(7, 11, 16, 0.96), rgba(7, 11, 16, 0.78));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(var(--max), calc(100% - 36px));
    height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    width: 178px;
    max-width: 34vw;
    height: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #c7d1dc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 11px 15px;
    border: 1px solid rgba(116, 211, 224, 0.45);
    border-radius: 9px;
    background: var(--accent-soft);
    color: #eafcff;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: rgba(85, 184, 200, 0.22);
    border-color: var(--accent);
}

.mobile-menu-button,
.mobile-menu {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 760px;
    height: min(88vh, 940px);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-background,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-background {
    background-image: var(--hero-bg, url('/image_proxy.php?image=background6'));
    background-size: cover;
    background-position: center;
    transform: scale(1.025);
    filter: saturate(0.84) contrast(1.03);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(4, 7, 12, 0.92) 0%, rgba(4, 7, 12, 0.73) 38%, rgba(4, 7, 12, 0.28) 68%, rgba(4, 7, 12, 0.58) 100%),
        linear-gradient(0deg, #090d13 0%, transparent 34%),
        linear-gradient(180deg, rgba(6, 10, 15, 0.28) 0%, transparent 25%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--max), calc(100% - 36px));
    margin: 65px auto 0;
}

.eyebrow {
    color: var(--accent-2);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin: 18px 0 22px;
    font-size: clamp(3.05rem, 7.2vw, 6.5rem);
    line-height: 0.96;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.hero-copy {
    max-width: 690px;
    margin: 0;
    color: #c3ccd6;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    font-weight: 460;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #e7f8fb;
    color: #0c171c;
    border: 1px solid #e7f8fb;
}

.button-primary:hover {
    background: #fff;
}

.button-secondary {
    color: #f0fbfd;
    border: 1px solid rgba(177, 225, 232, 0.45);
    background: rgba(8, 15, 21, 0.42);
    backdrop-filter: blur(8px);
}

.button-secondary:hover {
    border-color: var(--accent-2);
    background: rgba(21, 42, 51, 0.66);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: #aab9c5;
    font-size: 0.83rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 4px rgba(121, 215, 170, 0.11);
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: 2px;
    color: #c4d0da;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.62rem;
    font-weight: 850;
    opacity: 0.8;
}

/* Sections */

.section {
    width: min(var(--max), calc(100% - 36px));
    margin: 0 auto;
    padding: 92px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 460px);
    gap: 56px;
    align-items: end;
    margin-bottom: 34px;
}

.section-heading h2,
.pulse-heading h2 {
    margin: 9px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.section-heading p,
.pulse-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

/* Right Now */

.section-right-now {
    position: relative;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.status-card {
    position: relative;
    min-height: 210px;
    padding: 23px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(31, 47, 64, 0.76), rgba(15, 22, 31, 0.92));
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.15);
}

.status-card::after {
    content: "";
    position: absolute;
    inset: auto -45px -55px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85, 184, 200, 0.12), transparent 68%);
}

.status-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 10px;
    border: 1px solid rgba(116, 211, 224, 0.22);
    background: rgba(85, 184, 200, 0.08);
    color: var(--accent-2);
    font-size: 0.86rem;
    font-weight: 900;
}

.status-kicker {
    color: #8d9bab;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-value {
    margin-top: 7px;
    color: #f5f9fb;
    font-size: 1.42rem;
    font-weight: 830;
    letter-spacing: -0.025em;
}

.status-detail {
    margin-top: 8px;
    color: #8f9caa;
    font-size: 0.78rem;
}

.source-note {
    margin: 15px 2px 0;
    color: var(--muted-2);
    font-size: 0.76rem;
}

/* Resources */

.resources-section {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.resource-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 36px;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 0% 0%, rgba(85, 184, 200, 0.12), transparent 34rem),
        linear-gradient(145deg, #121d2a, #0e151f);
    box-shadow: var(--shadow);
}

.resource-copy {
    align-self: center;
}

.resource-badge {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 5px;
    background: rgba(85, 184, 200, 0.13);
    border: 1px solid rgba(85, 184, 200, 0.23);
    color: var(--accent-2);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.resource-copy h3 {
    margin: 15px 0 13px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.resource-copy p {
    max-width: 650px;
    margin: 0;
    color: #b0bdc9;
    font-size: 1rem;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 21px 0;
}

.resource-meta span {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    color: #a5b4c2;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.7rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dffaff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 850;
}

.text-link:hover {
    color: var(--accent-2);
}

.resource-terminal {
    align-self: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(179, 222, 230, 0.17);
    background: #091016;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    transform: rotate(1.1deg);
}

.terminal-bar {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    background: #111a23;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #40505e;
}

.terminal-bar strong {
    margin-left: 6px;
    color: #8997a5;
    font-size: 0.68rem;
    font-weight: 800;
}

.terminal-body {
    padding: 24px;
    color: #aebcc7;
    font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.76rem;
    line-height: 1.9;
}

.terminal-ok {
    color: var(--good);
}

.terminal-skip {
    color: var(--warning);
}

.terminal-rule {
    color: #34424f;
}

.resource-future {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding: 15px 18px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #8492a0;
    font-size: 0.78rem;
}

.resource-future strong {
    color: #b7c4d0;
}

/* Pulse */

.pulse-section {
    width: 100%;
    padding: 80px max(18px, calc((100% - var(--max)) / 2));
    background:
        linear-gradient(180deg, rgba(10, 15, 22, 0.15), rgba(7, 11, 16, 0.88)),
        radial-gradient(circle at 72% 45%, rgba(72, 154, 174, 0.09), transparent 34rem);
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.pulse-panel {
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(133, 205, 217, 0.2);
    border-radius: var(--radius);
    background: rgba(14, 21, 31, 0.78);
}

.pulse-heading {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    align-items: start;
    margin-bottom: 34px;
}

.pulse-heading p {
    max-width: 680px;
    margin-top: 14px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(121, 215, 170, 0.2);
    border-radius: 999px;
    color: #a7cfbc;
    background: rgba(121, 215, 170, 0.06);
    font-size: 0.7rem;
    font-weight: 850;
}

.pulse-grid {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 12px;
}

.pulse-stat {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 23px;
    border-radius: 12px;
    background: rgba(7, 12, 18, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.065);
}

.pulse-label {
    color: #8795a3;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pulse-stat strong {
    display: block;
    margin: 7px 0 3px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.pulse-sub {
    color: #758391;
    font-size: 0.73rem;
}

.pulse-action strong {
    max-width: 350px;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.pulse-action a {
    margin-top: 13px;
    color: var(--accent-2);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 850;
}

.pulse-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 13px;
    color: #687684;
    font-size: 0.69rem;
}

/* Partner / ad */

.partner-section,
.ad-section {
    width: min(970px, calc(100% - 36px));
    margin: 0 auto;
}

.partner-section {
    padding: 58px 0 22px;
    text-align: center;
}

.partner-label {
    margin-bottom: 10px;
    color: #6f7d8a;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.partner-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ad-section {
    min-height: 90px;
    padding: 10px 0 46px;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #070a0f;
}

.footer-inner {
    width: min(var(--max), calc(100% - 36px));
    min-height: 170px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    width: 145px;
    height: auto;
    opacity: 0.76;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.footer-links a {
    color: #8e9ba8;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    max-width: 300px;
    color: #596573;
    font-size: 0.67rem;
    text-align: right;
}

/* Responsive */

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .nav-shell {
        grid-template-columns: auto 1fr auto;
    }

    .nav-cta {
        justify-self: end;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }

    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-feature {
        grid-template-columns: 1fr;
    }

    .resource-terminal {
        max-width: 620px;
        transform: none;
    }

    .pulse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pulse-action {
        grid-column: 1 / -1;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 38px 0;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .site-header {
        background: rgba(7, 11, 16, 0.94);
    }

    .nav-shell {
        width: min(100% - 26px, var(--max));
        height: 66px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .brand img {
        width: 145px;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-button {
        justify-self: end;
        width: 42px;
        height: 42px;
        display: grid;
        place-content: center;
        gap: 4px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.035);
        cursor: pointer;
    }

    .mobile-menu-button span:not(.sr-only) {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 3px;
        background: #d5e0e8;
    }

    .mobile-menu {
        width: calc(100% - 26px);
        margin: 0 auto 12px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: #101722;
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .mobile-menu:not([hidden]) {
        display: grid;
    }

    .mobile-menu a {
        padding: 11px 10px;
        border-radius: 7px;
        color: #c0ccd7;
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 750;
    }

    .mobile-menu .mobile-register {
        margin-top: 6px;
        background: var(--accent-soft);
        color: #ecfdff;
    }

    .hero {
        min-height: 680px;
        height: auto;
        padding: 120px 0 90px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.8rem);
    }

    .hero-copy {
        max-width: 560px;
    }

    .hero-actions {
        display: grid;
        width: min(100%, 420px);
    }

    .button {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        width: min(100% - 26px, var(--max));
        padding: 66px 0;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        min-height: 174px;
    }

    .resource-feature {
        padding: 24px;
    }

    .resource-future {
        display: grid;
        gap: 4px;
    }

    .pulse-section {
        padding: 64px 13px;
    }

    .pulse-heading {
        display: grid;
        gap: 18px;
    }

    .live-badge {
        justify-self: start;
    }

    .pulse-grid {
        grid-template-columns: 1fr;
    }

    .pulse-action {
        grid-column: auto;
    }

    .pulse-foot {
        display: grid;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Destiny 2 live detail cards — V1.2 */
.reset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 13px;
}

.reset-card {
    min-height: 126px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
}

.reset-card .status-icon {
    margin: 0;
}

.reset-card .status-value {
    font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.live-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.live-detail-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 90% 0%, rgba(85, 184, 200, 0.10), transparent 25rem),
        linear-gradient(145deg, rgba(27, 40, 55, 0.86), rgba(12, 18, 27, 0.96));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.20);
}

.xur-card {
    padding: 26px;
}

.live-card-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.live-card-head h3 {
    margin: 5px 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.activity-badge {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.activity-badge.is-live {
    color: #baf2d3;
    background: rgba(121, 215, 170, 0.10);
    border-color: rgba(121, 215, 170, 0.28);
}

.activity-badge.is-away {
    color: #9aa7b4;
    background: rgba(255, 255, 255, 0.035);
}

.activity-badge.is-loading {
    color: #b6c5d1;
    background: rgba(85, 184, 200, 0.08);
    border-color: rgba(85, 184, 200, 0.20);
}

.activity-badge.is-warning {
    color: #e9d49a;
    background: rgba(229, 199, 123, 0.08);
    border-color: rgba(229, 199, 123, 0.20);
}

.live-card-label {
    color: #81909e;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.xur-location-row {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    margin: 25px 0 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.xur-location-row strong {
    font-size: 1rem;
}

.xur-inventory {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.xur-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 9px;
    background: rgba(5, 10, 16, 0.45);
}

.xur-item.is-exotic {
    border-color: rgba(226, 192, 96, 0.24);
    background: linear-gradient(110deg, rgba(94, 72, 20, 0.18), rgba(5, 10, 16, 0.48));
}

.xur-item-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #151d27;
    color: #738391;
}

.xur-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xur-item-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.xur-item-copy strong {
    overflow: hidden;
    color: #e8eef3;
    font-size: 0.78rem;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xur-item-copy span {
    overflow: hidden;
    color: #778694;
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-card-empty {
    grid-column: 1 / -1;
    min-height: 128px;
    display: grid;
    place-items: center;
    padding: 22px;
    border: 1px dashed rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #8795a3;
    text-align: center;
    font-size: 0.82rem;
}

.inventory-details {
    position: relative;
    z-index: 3;
    margin-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.inventory-details summary {
    padding: 13px 1px 1px;
    color: var(--accent-2);
    cursor: pointer;
    list-style: none;
    font-size: 0.76rem;
    font-weight: 850;
}

.inventory-details summary::-webkit-details-marker {
    display: none;
}

.inventory-details[open] summary {
    margin-bottom: 11px;
}

.xur-inventory-full {
    max-height: 330px;
    padding-right: 5px;
    overflow: auto;
    scrollbar-width: thin;
}

.live-card-foot {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #8a98a5;
    font-size: 0.72rem;
}

.data-freshness {
    flex: 0 0 auto;
    color: #657481;
}

.trials-card {
    background: #101722;
}

.trials-art,
.trials-shade {
    position: absolute;
    inset: 0;
}

.trials-art {
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    opacity: 0;
    transition: opacity 220ms ease;
}

.trials-art.has-image {
    opacity: 0.76;
}

.trials-shade {
    background:
        linear-gradient(180deg, rgba(7, 11, 17, 0.50), rgba(7, 11, 17, 0.68) 43%, rgba(7, 11, 17, 0.97) 100%),
        linear-gradient(90deg, rgba(7, 11, 17, 0.70), transparent 75%);
}

.trials-content {
    position: relative;
    z-index: 2;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 26px;
}

.trials-map-block {
    margin-top: auto;
    padding-top: 92px;
}

.trials-map-block strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.trials-subtitle {
    display: block;
    margin-top: 8px;
    color: #a2afba;
    font-size: 0.8rem;
}

.trials-foot {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .live-detail-grid {
        grid-template-columns: 1fr;
    }

    .live-detail-card,
    .trials-content {
        min-height: 390px;
    }
}

@media (max-width: 720px) {
    .reset-grid {
        grid-template-columns: 1fr;
    }

    .reset-card {
        min-height: 112px;
    }

    .xur-card,
    .trials-content {
        padding: 21px;
    }

    .xur-inventory {
        grid-template-columns: 1fr;
    }

    .xur-item-copy strong {
        white-space: normal;
    }

    .live-card-foot {
        display: grid;
        gap: 5px;
    }

    .trials-map-block {
        padding-top: 74px;
    }
}
