:root {
    color-scheme: light dark;
    --site-bg: #fdfdfc;
    --site-panel: #ffffff;
    --site-text: #1b1b18;
    --site-muted: #706f6c;
    --site-border: rgba(25, 20, 0, 0.21);
    --site-border-strong: rgba(25, 21, 1, 0.29);
    --site-accent: #f53003;
    --site-soft: #fff2f2;
    --site-shadow: inset 0 0 0 1px rgba(26, 26, 0, 0.16);
    --site-font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

body {
    font-family: var(--site-font);
}

.site-body {
    min-height: 100vh;
    margin: 0;
    padding: 1.5rem;
    color: var(--site-text);
    background: var(--site-bg);
}

.site-header {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto 1.5rem;
    font-size: 0.875rem;
}


.faq-shell,
.contact-shell {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}

.faq-hero,
.faq-list,
.faq-note,
.contact-hero,
.contact-grid,
.contact-note {
    background: var(--site-panel);
    box-shadow: var(--site-shadow);
}

.faq-hero,
.contact-hero {
    padding: 2rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.faq-eyebrow,
.contact-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--site-accent);
    font-size: 0.8125rem;
    font-weight: 600;
}

.faq-hero h1,
.contact-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 7vw, 4.25rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
}

.faq-hero p,
.contact-hero p {
    max-width: 39rem;
    margin: 1rem 0 0;
    color: var(--site-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--site-border);
}

.faq-list details {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--site-border);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    line-height: 1.4;
}

.faq-list p {
    max-width: 44rem;
    margin: 0.75rem 0 0;
    color: var(--site-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.faq-note,
.contact-note {
    padding: 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    background: var(--site-soft);
}

.faq-note h2,
.contact-note h2 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.faq-note p,
.contact-note p {
    max-width: 42rem;
    margin: 0 0 1rem;
    color: var(--site-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.faq-note a,
.contact-note a {
    display: inline-block;
    padding: 0.375rem 1.25rem;
    color: #ffffff;
    background: var(--site-text);
    border: 1px solid var(--site-text);
    border-radius: 0.125rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
}

.faq-note a:hover,
.contact-note a:hover {
    background: #000000;
    border-color: #000000;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--site-border);
}

.contact-card {
    min-width: 0;
    padding: 1.5rem;
    border-right: 1px solid var(--site-border);
    border-bottom: 1px solid var(--site-border);
}

.contact-card:nth-child(3n) {
    border-right: 0;
}

.contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.contact-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.contact-note p {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .site-body {
        padding: 1.5rem;
    }

    .faq-hero,
    .faq-list details,
    .faq-note,
    .contact-hero,
    .contact-card,
    .contact-note {
        padding-inline: 1.25rem;
    }

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

    .contact-card {
        border-right: 0;
    }

    .contact-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Global top header + default dark theme */
:root {
    --brand-blue-700: #1d4ed8;
    --brand-blue-600: #2563eb;
    --brand-blue-500: #3b82f6;
    --brand-surface: #0b172a;
    --brand-border: rgba(96, 165, 250, 0.24);
    --brand-text: #e5edf9;
    --brand-page-bg: linear-gradient(180deg, #050914 0%, #091121 36%, #0b1325 100%);
    --brand-panel: #0b172a;
    --brand-panel-soft: #0f1f39;
    --brand-muted: #94a3b8;
}

:root[data-theme="light"] {
    --brand-surface: #ffffff;
    --brand-border: rgba(37, 99, 235, 0.22);
    --brand-text: #0f172a;
    --brand-page-bg: linear-gradient(180deg, #f2f7ff 0%, #f8fbff 36%, #ffffff 100%);
    --brand-panel: #ffffff;
    --brand-panel-soft: #f8fbff;
    --brand-muted: #475569;
}

.site-body {
    color: var(--brand-text);
    background: var(--brand-page-bg);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 3000;
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
}

.trade-body,
.article-body,
.codes-body,
.item-body {
    color: var(--brand-text);
    background: var(--brand-page-bg);
}

.item-body {
    background: var(--brand-page-bg);
}

.article-body {
    color: #111827;
    background:
        linear-gradient(180deg, #eef4f0 0%, #f8fafc 42%, #fff7ed 100%);
}

.article-shell {
    width: 100%;
    max-width: 76rem;
    margin: 0 auto;
}

.article-hero,
.article-board,
.template-section,
.article-guidelines {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.82);
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.12);
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16rem;
    gap: 1.5rem;
    align-items: end;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 1.5rem;
    background:
        linear-gradient(135deg, rgba(7, 17, 38, 0.98), rgba(16, 47, 63, 0.94) 54%, rgba(124, 45, 18, 0.9));
    color: #ffffff;
}

.article-eyebrow {
    margin: 0 0 0.75rem;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.article-hero h1,
.article-section-heading h2,
.article-guidelines h2 {
    margin: 0;
    letter-spacing: 0;
}

.article-hero h1 {
    max-width: 48rem;
    font-size: clamp(2.45rem, 5vw, 5rem);
    line-height: 0.96;
}

.article-hero p {
    max-width: 45rem;
    margin: 1rem 0 0;
    color: rgba(226, 232, 240, 0.86);
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-hero__panel {
    display: grid;
    gap: 0.45rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.09);
}

.article-hero__panel span,
.article-card span,
.template-card__intro span {
    color: #0891b2;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-hero__panel span {
    color: #fde68a;
}

.article-hero__panel strong {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
}

.article-hero__panel small {
    color: rgba(226, 232, 240, 0.8);
    font-weight: 700;
}

.article-hero__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.article-hero__actions a {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    color: #071126;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0.65rem;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.article-hero__actions a + a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.article-board,
.template-section,
.article-guidelines {
    margin-top: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.25rem;
}

.article-section-heading {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.article-section-heading h2,
.article-guidelines h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.article-section-heading p {
    max-width: 45rem;
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.article-card {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid #dbe4ef;
    border-radius: 0.85rem;
    background: #f8fafc;
}

a.article-card:hover {
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow: 0 0.65rem 1.6rem rgba(37, 99, 235, 0.14);
}

.article-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.article-card strong {
    padding: 0.28rem 0.55rem;
    color: #14532d;
    background: #dcfce7;
    border-radius: 999px;
    font-size: 0.72rem;
}

.article-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
}

.article-card p {
    margin: 0;
    color: #53657f;
    font-size: 0.92rem;
    line-height: 1.6;
}

.article-card small {
    color: #0f766e;
    font-weight: 800;
}

.article-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 1.25rem;
    background: #071126;
    color: #ffffff;
}

.article-workflow article {
    min-width: 0;
    padding: 1.25rem;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
}

.article-workflow article:last-child {
    border-right: 0;
}

.article-workflow span {
    color: #facc15;
    font-weight: 800;
}

.article-workflow h2 {
    margin: 0.55rem 0 0.35rem;
    font-size: 1.05rem;
}

.article-workflow p {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}

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

.template-card {
    display: grid;
    min-width: 0;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe4ef;
    border-radius: 0.9rem;
    background: #ffffff;
}

.template-card__intro {
    display: grid;
    gap: 0.45rem;
}

.template-card__intro h3 {
    margin: 0;
    color: #071126;
    font-size: 1.25rem;
}

.template-card__intro p {
    margin: 0;
    color: #596b85;
    line-height: 1.6;
}

.template-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.template-form label {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.template-form span {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
}

.template-form input,
.template-form textarea {
    width: 100%;
    box-sizing: border-box;
    color: #071126;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    font: inherit;
}

.template-form input {
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
}

.template-form textarea {
    resize: vertical;
    min-height: 6.5rem;
    padding: 0.7rem;
    line-height: 1.55;
}

.template-form__wide,
.template-form button {
    grid-column: 1 / -1;
}

.template-form button {
    min-height: 2.55rem;
    color: #ffffff;
    background: #071126;
    border: 0;
    border-radius: 0.65rem;
    font: inherit;
    font-weight: 800;
}

.template-outline {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.9rem;
}

.template-outline h4 {
    margin: 0 0 0.6rem;
    color: #0f766e;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.template-outline ol {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.55;
}

.article-guidelines {
    display: grid;
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.article-guidelines ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .article-hero,
    .article-guidelines {
        grid-template-columns: 1fr;
    }

    .article-grid,
    .article-workflow,
    .template-grid {
        grid-template-columns: 1fr;
    }

    .article-workflow article {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    }

    .article-workflow article:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .article-body {
        padding: 0.85rem;
    }

    .article-hero {
        padding: 1.35rem;
        border-radius: 1rem;
    }

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

/* Guides showcase */
.article-showcase {
    padding-bottom: 2.5rem;
}

.guides-featured {
    margin-top: 1.1rem;
}

.guide-feature-card {
    display: grid;
    gap: 0.8rem;
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 1rem;
    box-shadow: 0 1.15rem 2.8rem rgba(15, 23, 42, 0.1);
}

.guide-feature-card__category {
    margin: 0;
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.guide-feature-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
}

.guide-feature-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.guide-feature-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.guide-feature-card__meta span {
    display: inline-flex;
    min-height: 1.9rem;
    align-items: center;
    padding: 0.3rem 0.65rem;
    color: #0f172a;
    background: #eef6ff;
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.guides-topics {
    margin-top: 1.1rem;
    padding: clamp(1.1rem, 2.8vw, 1.8rem);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 1rem;
    box-shadow: 0 1.15rem 2.8rem rgba(15, 23, 42, 0.1);
}

.guides-topics__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.guides-topic-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem;
    color: inherit;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 0.85rem;
}

.guides-topic-card h3 {
    margin: 0;
    font-size: 1rem;
}

.guides-topic-card p {
    margin: 0;
    color: #53657f;
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 920px) {
    .guides-topics__grid {
        grid-template-columns: 1fr;
    }
}

:root[data-theme="dark"] .guide-feature-card,
:root[data-theme="dark"] .guides-topics {
    background: rgba(7, 15, 31, 0.92);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 1.15rem 2.8rem rgba(2, 6, 23, 0.42);
}

:root[data-theme="dark"] .guide-feature-card p,
:root[data-theme="dark"] .guides-topic-card p {
    color: #9fb3cc;
}

:root[data-theme="dark"] .guide-feature-card__meta span {
    color: #dbeafe;
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.24);
}

:root[data-theme="dark"] .guides-topic-card {
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.25);
}

/* Guides theme alignment */
.article-body {
    color: var(--brand-text);
    background: var(--brand-page-bg);
}

.article-hero,
.article-board,
.guides-topics,
.guide-feature-card {
    background: var(--brand-panel);
    border-color: rgba(59, 130, 246, 0.24);
    box-shadow: 0 1rem 2.5rem rgba(37, 99, 235, 0.1);
}

.article-hero {
    color: var(--brand-text);
}

.article-eyebrow,
.guide-feature-card__category {
    color: var(--brand-blue-600);
}

.article-hero h1,
.article-section-heading h2,
.guide-feature-card h2,
.guides-topic-card h3 {
    color: var(--brand-text);
}

.article-hero p,
.article-section-heading p,
.guide-feature-card p,
.guides-topic-card p {
    color: var(--brand-muted);
}

.article-hero__panel {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.26);
}

.article-hero__panel span {
    color: var(--brand-blue-700);
}

.article-hero__panel strong {
    color: var(--brand-text);
}

.article-hero__panel small {
    color: #334155;
}

.article-hero__actions a {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
}

.article-hero__actions a + a {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.3);
}

.article-card,
.guides-topic-card {
    background: var(--brand-panel-soft);
    border-color: #dbe7f8;
}

:root[data-theme="dark"] .article-body {
    color: #e5edf9;
    background: var(--brand-page-bg);
}

:root[data-theme="dark"] .article-hero,
:root[data-theme="dark"] .article-board,
:root[data-theme="dark"] .guides-topics,
:root[data-theme="dark"] .guide-feature-card {
    background: #0b172a;
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 1rem 2.2rem rgba(2, 6, 23, 0.44);
}

:root[data-theme="dark"] .article-eyebrow,
:root[data-theme="dark"] .guide-feature-card__category {
    color: #93c5fd;
}

:root[data-theme="dark"] .article-hero h1,
:root[data-theme="dark"] .article-section-heading h2,
:root[data-theme="dark"] .guide-feature-card h2,
:root[data-theme="dark"] .guides-topic-card h3,
:root[data-theme="dark"] .article-hero__panel strong {
    color: #f8fbff;
}

:root[data-theme="dark"] .article-hero p,
:root[data-theme="dark"] .article-section-heading p,
:root[data-theme="dark"] .guide-feature-card p,
:root[data-theme="dark"] .guides-topic-card p,
:root[data-theme="dark"] .article-hero__panel small {
    color: #9fb3cc;
}

:root[data-theme="dark"] .article-hero__panel,
:root[data-theme="dark"] .article-card,
:root[data-theme="dark"] .guides-topic-card {
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.26);
}

:root[data-theme="dark"] .article-hero__panel span,
:root[data-theme="dark"] .article-card small {
    color: #bfdbfe;
}

:root[data-theme="dark"] .article-hero__actions a {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
}

:root[data-theme="dark"] .article-hero__actions a + a {
    color: #dbeafe;
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.34);
}

/* TRADE PAGE TRUE FINAL OVERRIDE */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(13rem, 0.85fr) minmax(16rem, 1fr) minmax(16rem, 1fr) minmax(7rem, 0.45fr) 1.5rem;
}

.trade-listing {
    min-height: 15.5rem;
}

.trader-profile {
    align-items: flex-start;
}

.trader-profile > div {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.trader-profile h2 span,
.trader-profile > div > p:not(.trader-rating) {
    display: none;
}

.trader-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #51698a;
    font-size: 0.76rem;
    line-height: 1.2;
}

.trader-rating span {
    color: #f59e0b;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.trader-rating strong {
    color: #071126;
    font-size: 0.78rem;
}

.trader-rating small {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.trader-profile .trade-outcome {
    display: inline-flex;
    justify-self: start;
    margin-top: 0.1rem;
}

.trade-listing__actions {
    grid-column: 5;
}

.trade-listings__header span:nth-child(5)::before {
    content: "";
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 5rem);
    grid-auto-rows: 5rem;
    gap: 0.22rem;
    align-content: center;
    justify-content: start;
}

.market-slot {
    display: none;
}

.market-item {
    width: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 0.86rem;
}

.market-item::before {
    inset: 12%;
    border-radius: 0.66rem;
}

.market-item > strong {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.market-item > small {
    right: 0.18rem;
    bottom: 0.18rem;
    padding: 0.13rem 0.3rem;
    font-size: 0.54rem;
}

@media (max-width: 1120px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 70rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }

    .trade-item-grid {
        grid-template-columns: repeat(3, 4.25rem);
        grid-auto-rows: 4.25rem;
    }

    .market-item {
        width: 4.25rem;
        min-width: 4.25rem;
        min-height: 4.25rem;
    }
}

/* Trade page final override: readable item tiles, condensed sparse trades */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(13rem, 0.85fr) minmax(16rem, 1fr) minmax(16rem, 1fr) minmax(7rem, 0.45fr) 1.5rem;
}

.trade-listing {
    min-height: 15.5rem;
}

.trader-profile {
    align-items: flex-start;
}

.trader-profile > div {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.trader-profile h2 span,
.trader-profile > div > p:not(.trader-rating) {
    display: none;
}

.trader-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #51698a;
    font-size: 0.76rem;
    line-height: 1.2;
}

.trader-rating span {
    color: #f59e0b;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.trader-rating strong {
    color: #071126;
    font-size: 0.78rem;
}

.trader-rating small {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.trader-profile .trade-outcome {
    display: inline-flex;
    justify-self: start;
    margin-top: 0.1rem;
}

.trade-listing__actions {
    grid-column: 5;
}

.trade-listings__header span:nth-child(5)::before {
    content: "";
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 5rem);
    grid-auto-rows: 5rem;
    gap: 0.22rem;
    align-content: center;
    justify-content: start;
}

.market-slot {
    display: none;
}

.market-item {
    width: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 0.86rem;
}

.market-item::before {
    inset: 12%;
    border-radius: 0.66rem;
}

.market-item > strong {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.market-item > small {
    right: 0.18rem;
    bottom: 0.18rem;
    padding: 0.13rem 0.3rem;
    font-size: 0.54rem;
}

@media (max-width: 1120px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 70rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }

    .trade-item-grid {
        grid-template-columns: repeat(3, 4.25rem);
        grid-auto-rows: 4.25rem;
    }

    .market-item {
        width: 4.25rem;
        min-width: 4.25rem;
        min-height: 4.25rem;
    }
}

/* Final readable market item sizing */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(13rem, 0.85fr) minmax(16rem, 1fr) minmax(16rem, 1fr) minmax(7rem, 0.45fr) 1.5rem;
}

.trade-listing {
    min-height: 15.5rem;
}

.trader-profile {
    align-items: flex-start;
}

.trader-profile > div {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.trader-profile h2 span,
.trader-profile > div > p:not(.trader-rating) {
    display: none;
}

.trader-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #51698a;
    font-size: 0.76rem;
    line-height: 1.2;
}

.trader-rating span {
    color: #f59e0b;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.trader-rating strong {
    color: #071126;
    font-size: 0.78rem;
}

.trader-rating small {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.trader-profile .trade-outcome {
    display: inline-flex;
    justify-self: start;
    margin-top: 0.1rem;
}

.trade-listing__actions {
    grid-column: 5;
}

.trade-listings__header span:nth-child(5)::before {
    content: "";
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 5rem);
    grid-auto-rows: 5rem;
    gap: 0.22rem;
    align-content: center;
    justify-content: start;
}

.market-slot {
    display: none;
}

.market-item {
    width: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 0.86rem;
}

.market-item::before {
    inset: 12%;
    border-radius: 0.66rem;
}

.market-item > strong {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.market-item > small {
    right: 0.18rem;
    bottom: 0.18rem;
    padding: 0.13rem 0.3rem;
    font-size: 0.54rem;
}

@media (max-width: 1120px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 70rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }

    .trade-item-grid {
        grid-template-columns: repeat(3, 4.25rem);
        grid-auto-rows: 4.25rem;
    }

    .market-item {
        width: 4.25rem;
        min-width: 4.25rem;
        min-height: 4.25rem;
    }
}

/* Active trade grid size: 50% larger boxes, preserved 3x3 layout */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(12rem, 0.95fr) minmax(12.25rem, 1fr) minmax(12.25rem, 1fr) minmax(7rem, 0.55fr) minmax(7rem, 0.6fr) 1.5rem;
}

.trade-listing {
    min-height: 12.75rem;
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 3.55rem);
    grid-auto-rows: 3.55rem;
    gap: 0.35rem;
    align-content: center;
    justify-content: start;
}

.market-slot {
    display: block;
    width: 3.55rem;
    min-width: 3.55rem;
    min-height: 3.55rem;
    border-radius: 0.65rem;
}

.market-item {
    width: 3.55rem;
    min-width: 3.55rem;
    min-height: 3.55rem;
    border-radius: 0.65rem;
}

.market-item::before {
    inset: 14%;
    border-radius: 0.48rem;
}

.market-item > strong {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}

.market-item > small {
    right: 0.12rem;
    bottom: 0.12rem;
    font-size: 0.48rem;
}

@media (max-width: 980px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 58rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }
}

/* 3x3 compact trade windows with outcome badges */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(12rem, 0.95fr) minmax(12rem, 1fr) minmax(12rem, 1fr) minmax(7rem, 0.55fr) minmax(7rem, 0.6fr) 1.5rem;
    gap: 0.65rem;
}

.trade-listings__header span:nth-child(5)::before {
    content: "Result";
}

.trade-listing {
    min-height: 12.2rem;
}

.trade-listing::after {
    grid-column: 4;
}

.trade-listing__actions {
    grid-column: 5 / span 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: end;
    gap: 0.5rem;
}

.trade-listing__actions::after {
    grid-column: 2;
}

.trade-outcome {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.45rem 0.65rem;
    color: #071126;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.trade-outcome b {
    font: inherit;
}

.trade-outcome--win {
    color: #065f46;
    background: #d1fae5;
    border-color: #99f6e4;
}

.trade-outcome--loss {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fecaca;
}

.trade-outcome--even {
    color: #365314;
    background: #ecfccb;
    border-color: #d9f99d;
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 3.55rem);
    grid-auto-rows: 3.55rem;
    gap: 0.35rem;
    align-content: center;
    justify-content: start;
}

.market-slot {
    display: block;
    width: 3.55rem;
    min-width: 3.55rem;
    min-height: 3.55rem;
    border-radius: 0.65rem;
}

.market-item {
    width: 3.55rem;
    min-width: 3.55rem;
    min-height: 3.55rem;
    border-radius: 0.65rem;
}

.market-item::before {
    inset: 14%;
    border-radius: 0.48rem;
}

.market-item > strong {
    font-size: 0.92rem;
}

.market-item > small {
    right: 0.12rem;
    bottom: 0.12rem;
    font-size: 0.48rem;
}

@media (max-width: 980px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 58rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }

    .trade-listing__actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .trade-listing__actions::after {
        display: none;
    }
}

/* Final trade sizing and trader summary placement */
.trade-listings__header,
.trade-listing {
    grid-template-columns: minmax(13rem, 0.9fr) minmax(16rem, 1.08fr) minmax(16rem, 1.08fr) minmax(7rem, 0.5fr) 1.5rem;
}

.trade-listings__header span:nth-child(5)::before {
    content: "";
}

.trade-listing {
    min-height: 15.5rem;
}

.trader-profile {
    align-items: flex-start;
}

.trader-profile > div {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.trader-profile h2 span {
    display: none;
}

.trader-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #51698a;
    font-size: 0.76rem;
    line-height: 1.2;
}

.trader-rating span {
    color: #f59e0b;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.trader-rating strong {
    color: #071126;
    font-size: 0.78rem;
}

.trader-rating small {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.trader-profile > div > p:not(.trader-rating) {
    display: none;
}

.trader-profile .trade-outcome {
    justify-self: start;
    margin-top: 0.1rem;
}

.trade-listing__actions {
    grid-column: 5;
    grid-template-columns: 1fr;
}

.trade-listing__actions::after {
    grid-column: 1;
}

.trade-item-grid {
    grid-template-columns: repeat(3, 4.75rem);
    grid-auto-rows: 4.75rem;
    gap: 0.42rem;
}

.market-slot,
.market-item {
    width: 4.75rem;
    min-width: 4.75rem;
    min-height: 4.75rem;
    border-radius: 0.82rem;
}

.market-item::before {
    inset: 13%;
    border-radius: 0.62rem;
}

.market-item > strong {
    font-size: 1.12rem;
}

.market-item > small {
    right: 0.18rem;
    bottom: 0.18rem;
    padding: 0.13rem 0.28rem;
    font-size: 0.52rem;
}

@media (max-width: 1120px) {
    .trade-listings {
        overflow-x: auto;
    }

    .trade-listings__header,
    .trade-listing {
        min-width: 68rem;
    }
}

@media (max-width: 860px) {
    .trade-listing {
        min-width: 0;
        min-height: 0;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --site-bg: #0a0a0a;
        --site-panel: #161615;
        --site-text: #ededec;
        --site-muted: #a1a09a;
        --site-border: #3e3e3a;
        --site-border-strong: #62605b;
        --site-accent: #ff4433;
        --site-soft: #1d0002;
        --site-shadow: inset 0 0 0 1px #fffaed2d;
    }

    .faq-note a,
    .contact-note a {
        color: #1c1c1a;
        background: #eeeeec;
        border-color: #eeeeec;
    }

    .faq-note a:hover,
    .contact-note a:hover {
        background: #ffffff;
        border-color: #ffffff;
    }
}

.home-body {
    min-height: 100vh;
    padding: 0;
    color: #eef4ff;
    background: #050611;
}

.home-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.38), transparent 31rem),
        radial-gradient(circle at 16% 36%, rgba(14, 165, 233, 0.2), transparent 23rem),
        linear-gradient(180deg, #090522 0%, #041022 46%, #060817 100%);
}

.home-hero {
    position: relative;
    display: grid;
    min-height: 92svh;
    padding: 0.875rem clamp(1rem, 3vw, 2rem) 2.25rem;
    isolation: isolate;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 6rem 6rem;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.home-hero::after {
    position: absolute;
    inset: auto 0 0;
    z-index: -2;
    height: 14rem;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(5, 6, 17, 0.92));
}

.home-hero__glow {
    position: absolute;
    z-index: -1;
    width: 28rem;
    height: 28rem;
    filter: blur(1.5rem);
    opacity: 0.58;
    pointer-events: none;
}

.home-hero__glow--one {
    top: 3rem;
    left: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.7), transparent 68%);
    transform: translateX(-72%);
}

.home-hero__glow--two {
    top: 4rem;
    right: 8%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.54), transparent 65%);
}

.home-nav {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(100%, 60rem);
    min-height: 3.75rem;
    margin: 0 auto;
    padding: 0.625rem 1rem;
    background: rgba(20, 17, 85, 0.56);
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 0.875rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.home-nav__icon {
    display: inline-grid;
    align-content: center;
    justify-self: start;
    width: 2.5rem;
    height: 2.5rem;
    gap: 0.375rem;
    color: #ffffff;
    text-decoration: none;
}

.home-nav__icon span {
    display: block;
    width: 1.8rem;
    height: 0.125rem;
    background: currentColor;
    border-radius: 999px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.home-brand__mark {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1;
    background: linear-gradient(135deg, #60a5fa, #ec4899);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.375rem;
    transform: rotate(45deg);
}

.home-brand__mark span {
    transform: rotate(-45deg);
}

.home-brand__name {
    font-size: 0.9rem;
}

.home-nav__links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    color: #dce8ff;
    font-size: 0.875rem;
    font-weight: 600;
}

.home-nav__links a {
    color: inherit;
    text-decoration: none;
}

.home-nav__links a:hover {
    color: #ffffff;
}

.home-hero__content {
    width: min(100%, 58rem);
    margin: clamp(3rem, 8vh, 5.5rem) auto 2.25rem;
    text-align: center;
}

.home-kicker,
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0.45rem 0.875rem;
    color: #bcd8ff;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.home-kicker::before,
.section-pill::before {
    width: 0.5rem;
    height: 0.5rem;
    content: "";
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 1rem rgba(96, 165, 250, 0.9);
}

.home-hero h1 {
    max-width: 56rem;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: 0;
}

.home-hero h1 span {
    display: block;
    margin-bottom: 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.75rem, 10vw, 7rem);
    line-height: 0.85;
    font-weight: 700;
}

.home-hero h1 span + * {
    display: block;
}

.home-hero__content > p:not(.home-kicker) {
    max-width: 45rem;
    margin: 1.1rem auto 0;
    color: rgba(229, 237, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.55;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
    margin-top: 2rem;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.95rem 1.45rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.home-button--primary {
    min-width: 15.5rem;
    gap: 0.65rem;
    background: linear-gradient(135deg, #3b82f6, #9d3bea 56%, #f24a9d);
    box-shadow: 0 1rem 2.5rem rgba(79, 70, 229, 0.36);
}

.home-button--secondary {
    min-width: 11rem;
    background: rgba(255, 255, 255, 0.07);
}

.home-button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.quick-access {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: min(100%, 34rem);
    margin: 1.5rem auto 0;
    padding: 0.55rem;
    color: #c5d4ef;
    background: rgba(8, 12, 32, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
}

.quick-access span {
    margin-inline: 0.75rem 0.25rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.quick-access a {
    padding: 0.45rem 0.7rem;
    color: inherit;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.quick-access a:hover {
    color: #ffffff;
    background: rgba(96, 165, 250, 0.16);
}

.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: min(100%, 69rem);
    min-height: 20rem;
    margin: 0 auto;
}

.dashboard-frame,
.phone-frame {
    color: #eef4ff;
    background:
        linear-gradient(180deg, rgba(28, 45, 99, 0.94), rgba(5, 10, 30, 0.96)),
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.24), transparent 60%);
    border: 1px solid rgba(147, 197, 253, 0.22);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-frame {
    width: min(100%, 48rem);
    min-height: 19rem;
    padding: 1rem;
    border-radius: 1.25rem 1.25rem 0 0;
}

.dashboard-frame::before {
    display: block;
    width: 100%;
    height: 0.45rem;
    margin-bottom: 0.75rem;
    content: "";
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.2), rgba(236, 72, 153, 0.32), rgba(16, 185, 129, 0.2));
    border-radius: 999px;
}

.dashboard-topbar,
.dashboard-welcome,
.dashboard-stats,
.dashboard-grid,
.stock-list,
.trade-stack,
.phone-status,
.phone-service-list,
.launch-list {
    display: flex;
}

.dashboard-topbar {
    align-items: center;
    gap: 0.9rem;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
}

.dashboard-logo {
    margin-right: auto;
    color: #ffffff;
    font-weight: 800;
}

.dashboard-pill {
    padding: 0.25rem 0.55rem;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
}

.dashboard-welcome {
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.1rem;
    background: rgba(1, 7, 25, 0.64);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 0.5rem;
}

.dashboard-welcome span {
    display: block;
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-welcome strong {
    display: block;
    margin-top: 0.3rem;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.15;
}

.dashboard-stats {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.dashboard-stats span {
    color: #dbeafe;
    padding: 0.4rem 0.55rem;
    background: rgba(96, 165, 250, 0.12);
    border-radius: 0.375rem;
}

.dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.mini-panel {
    min-height: 8.5rem;
    padding: 0.9rem;
    overflow: hidden;
    background: rgba(3, 7, 18, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 0.5rem;
}

.mini-panel span {
    display: inline-flex;
    margin-bottom: 0.65rem;
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.trade-stack,
.stock-list {
    flex-direction: column;
    gap: 0.45rem;
}

.trade-stack b,
.stock-list b {
    padding: 0.5rem;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.mini-panel--codes strong {
    display: block;
    color: #fde68a;
    font-size: 1.45rem;
}

.mini-panel--codes small {
    display: block;
    margin-top: 0.45rem;
    color: #cbd5e1;
}

.phone-frame {
    position: absolute;
    right: clamp(0rem, 2vw, 2rem);
    bottom: -1rem;
    width: min(31vw, 14rem);
    min-width: 11rem;
    min-height: 21rem;
    padding: 2.2rem 1rem 1rem;
    border-radius: 1.75rem 1.75rem 0 0;
}

.phone-speaker {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    width: 3.75rem;
    height: 1.05rem;
    background: #020617;
    border-radius: 999px;
    transform: translateX(-50%);
}

.phone-status {
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.phone-status span {
    padding: 0.3rem 0.45rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.phone-frame h2 {
    margin: 2rem 0 0.55rem;
    color: #bfdbfe;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
}

.phone-frame p {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.78rem;
    line-height: 1.45;
}

.phone-service-list {
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.phone-service-list span {
    padding: 0.55rem;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.feature-section,
.games-section,
.launch-section {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.feature-section {
    background: linear-gradient(180deg, #060817 0%, #07112b 100%);
    border-top: 1px solid rgba(96, 165, 250, 0.12);
}

.section-heading {
    width: min(100%, 48rem);
    margin: 0 auto 2.75rem;
    text-align: center;
}

.section-heading h2,
.launch-section h2 {
    margin: 0;
    color: #eaf2ff;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.section-heading > p:not(.section-pill),
.launch-section p {
    max-width: 42rem;
    margin: 0.9rem auto 0;
    color: rgba(203, 213, 225, 0.72);
    font-size: 1rem;
    line-height: 1.65;
}

.feature-rail {
    display: grid;
    grid-auto-columns: minmax(17.5rem, 1fr);
    grid-auto-flow: column;
    gap: 1rem;
    width: min(94rem, 100%);
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    scrollbar-width: thin;
}

.feature-card {
    min-height: 17.2rem;
    overflow: hidden;
    background: rgba(13, 24, 61, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.5rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.24);
}

.feature-preview {
    display: grid;
    min-height: 9.5rem;
    align-content: end;
    gap: 0.4rem;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(2, 6, 23, 0.88)),
        radial-gradient(circle at 18% 18%, rgba(96, 165, 250, 0.38), transparent 42%),
        #071029;
}

.feature-preview span {
    width: max-content;
    max-width: 100%;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-preview b {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.25;
}

.feature-preview--trading span {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.18);
}

.feature-preview--stock span {
    color: #fde68a;
    background: rgba(234, 179, 8, 0.18);
}

.feature-preview--codes span {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.18);
}

.feature-preview--services span {
    color: #fbcfe8;
    background: rgba(236, 72, 153, 0.18);
}

.feature-preview--calculator span {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.18);
}

.feature-card h3 {
    margin: 1.1rem 1rem 0.5rem;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 800;
}

.feature-card p {
    margin: 0 1rem 1.25rem;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.94rem;
    line-height: 1.55;
}

.games-section {
    background:
        radial-gradient(circle at 50% 22%, rgba(124, 58, 237, 0.18), transparent 28rem),
        linear-gradient(180deg, #07112b 0%, #050611 100%);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    width: min(100%, 64rem);
    margin: 0 auto;
}

.game-card {
    min-width: 0;
    overflow: hidden;
    background: rgba(11, 18, 43, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
}

.game-card--featured {
    transform: translateY(-1.5rem);
}

.game-card img,
.roblox-tile {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #111827;
}

.game-card div:not(.roblox-tile) {
    padding: 1rem;
}

.game-card span {
    display: block;
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.game-card h3 {
    margin: 0.3rem 0 0.45rem;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
}

.game-card p {
    margin: 0;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.9rem;
    line-height: 1.5;
}

.roblox-tile {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(148, 163, 184, 0.24), transparent 45%),
        linear-gradient(145deg, #111827, #020617);
}

.roblox-tile span {
    display: block;
    width: 42%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #cbd5e1, #64748b);
    border-radius: 0.25rem;
    transform: rotate(14deg);
}

.roblox-tile span::after {
    display: block;
    width: 34%;
    aspect-ratio: 1 / 1;
    margin: 33%;
    content: "";
    background: #020617;
}

.launch-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem;
    align-items: center;
    width: min(100%, 68rem);
    margin: 0 auto;
}

.launch-section::before {
    position: absolute;
    inset: 2rem clamp(1rem, 4vw, 2rem);
    z-index: -1;
    content: "";
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(236, 72, 153, 0.1)),
        rgba(15, 23, 42, 0.54);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.5rem;
}

.launch-section p {
    margin-inline: 0;
}

.launch-list {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.launch-list span {
    padding: 0.75rem 0.85rem;
    color: #eaf2ff;
    background: rgba(2, 6, 23, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 800;
}

@media (min-width: 1180px) {
    .feature-rail {
        grid-auto-flow: initial;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow: visible;
    }
}

@media (max-width: 880px) {
    .home-nav {
        grid-template-columns: auto 1fr auto;
    }

    .home-brand {
        justify-self: center;
    }

    .home-brand__name {
        display: none;
    }

    .home-nav__links {
        gap: 0.65rem;
        font-size: 0.8rem;
    }

    .home-nav__links a:not(:last-child) {
        display: none;
    }

    .home-hero {
        min-height: auto;
    }

    .hero-showcase {
        min-height: 28rem;
    }

    .dashboard-frame {
        min-height: 23rem;
    }

    .phone-frame {
        right: 50%;
        width: 13rem;
        transform: translateX(70%);
    }

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

    .mini-panel {
        min-height: auto;
    }

    .game-grid,
    .launch-section {
        grid-template-columns: 1fr;
    }

    .game-card--featured {
        transform: none;
    }
}

@media (max-width: 560px) {
    .home-hero {
        padding-inline: 0.875rem;
    }

    .home-nav {
        min-height: 3.25rem;
        border-radius: 0.75rem;
    }

    .home-hero__content {
        margin-top: 2.5rem;
    }

    .home-hero h1 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

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

    .home-button {
        width: 100%;
    }

    .quick-access {
        border-radius: 0.75rem;
    }

    .quick-access span {
        width: 100%;
        margin-inline: 0;
    }

    .hero-showcase {
        min-height: 33rem;
        align-items: flex-start;
    }

    .dashboard-frame {
        min-height: 26rem;
        padding: 0.85rem;
    }

    .dashboard-topbar span:not(.dashboard-logo):not(.dashboard-pill) {
        display: none;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-stats {
        justify-content: flex-start;
    }

    .phone-frame {
        right: auto;
        left: 50%;
        bottom: 0;
        width: 12.5rem;
        min-height: 20rem;
        transform: translateX(-50%);
    }

    .feature-section,
    .games-section,
    .launch-section {
        padding-inline: 0.875rem;
    }
}

.home-hero--direct {
    min-height: auto;
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.home-nav--brand-first {
    grid-template-columns: auto 1fr;
    width: min(100%, 74rem);
    margin-top: 0.25rem;
}

.home-brand--top {
    justify-self: start;
}

.home-brand--top .home-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, #22c55e, #38bdf8 48%, #facc15);
}

.home-brand--top .home-brand__name {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 0.04em;
}

.home-hero__content--direct {
    width: min(100%, 68rem);
    margin-top: clamp(3.5rem, 8vw, 6rem);
}

.home-hero__content--direct h1 {
    max-width: 68rem;
}

.home-hero__content--direct > p:not(.home-kicker) {
    max-width: 54rem;
}

.hero-offer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    width: min(100%, 74rem);
    margin: 2.4rem auto 0;
}

.hero-offer article {
    min-width: 0;
    padding: 1rem;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 35, 0.82)),
        radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.18), transparent 50%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
}

.hero-offer span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: #facc15;
    border-radius: 0.375rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-offer h2 {
    margin: 0.95rem 0 0.45rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-offer p {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

.home-actions--direct {
    margin-top: 1.5rem;
}

.games-section--picker {
    padding-top: clamp(4rem, 7vw, 5.5rem);
    background:
        radial-gradient(circle at 18% 8%, rgba(34, 197, 94, 0.16), transparent 24rem),
        radial-gradient(circle at 82% 18%, rgba(250, 204, 21, 0.12), transparent 22rem),
        linear-gradient(180deg, #07112b 0%, #050611 100%);
}

.game-picker {
    display: grid;
    gap: 1.1rem;
    width: min(100%, 74rem);
    margin: 0 auto;
}

.game-details {
    overflow: hidden;
    background: rgba(9, 17, 43, 0.74);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 0.5rem;
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.22);
}

.game-details[open] {
    border-color: rgba(56, 189, 248, 0.38);
    background: rgba(10, 21, 54, 0.84);
}

.game-details summary {
    display: grid;
    grid-template-columns: 11.5rem minmax(0, 1fr) auto;
    grid-template-areas:
        "image label arrow"
        "image title arrow"
        "image copy arrow";
    gap: 0.3rem 1rem;
    align-items: center;
    min-height: 8rem;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    cursor: pointer;
    list-style: none;
}

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

.game-details summary::after {
    grid-area: arrow;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: #dbeafe;
    content: "+";
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 0.375rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.game-details[open] summary::after {
    content: "-";
}

.game-details summary > img,
.game-details summary > .roblox-tile {
    grid-area: image;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.375rem;
}

.game-details summary > span:not(.roblox-tile) {
    grid-area: label;
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.game-details summary > strong {
    grid-area: title;
    color: #ffffff;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.1;
}

.game-details summary > small {
    grid-area: copy;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.94rem;
    line-height: 1.45;
}

.game-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 0 1rem 1rem;
}

.game-options--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-option {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 7.5rem;
    overflow: hidden;
    color: inherit;
    background: rgba(5, 10, 30, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.game-option:hover {
    border-color: rgba(56, 189, 248, 0.42);
    background: rgba(7, 16, 43, 0.9);
    transform: translateY(-2px);
}

.game-option img,
.game-option__image {
    width: 100%;
    height: 100%;
    min-height: 7.5rem;
    object-fit: cover;
    background: #0f172a;
}

.game-option > span:last-child {
    min-width: 0;
    padding: 0.75rem 0.85rem 0.75rem 0;
}

.game-option strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.25;
}

.game-option small {
    display: block;
    margin-top: 0.45rem;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

.game-option__image {
    display: block;
}

.game-option__image--pets {
    background:
        radial-gradient(circle at 24% 28%, #fb7185 0 13%, transparent 14%),
        radial-gradient(circle at 70% 22%, #38bdf8 0 12%, transparent 13%),
        linear-gradient(135deg, #312e81, #0f766e);
}

.game-option__image--values {
    background:
        linear-gradient(90deg, rgba(250, 204, 21, 0.78) 0 18%, transparent 18% 100%),
        repeating-linear-gradient(180deg, #10214d 0 0.9rem, #172554 0.9rem 1.8rem);
}

.game-option__image--services {
    background:
        radial-gradient(circle at 50% 36%, #facc15 0 18%, transparent 19%),
        linear-gradient(135deg, #be123c, #1d4ed8);
}

.game-option__image--server {
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.86), transparent 42%),
        radial-gradient(circle at 70% 34%, #facc15 0 16%, transparent 17%),
        linear-gradient(145deg, #172554, #020617);
}

.game-option__image--mirage {
    background:
        linear-gradient(90deg, rgba(250, 204, 21, 0.8) 0 14%, transparent 14%),
        repeating-linear-gradient(180deg, #052e16 0 0.8rem, #134e4a 0.8rem 1.6rem),
        #0f172a;
}

.game-option__image--trades {
    background:
        radial-gradient(circle at 34% 38%, #60a5fa 0 12%, transparent 13%),
        radial-gradient(circle at 66% 58%, #f472b6 0 12%, transparent 13%),
        linear-gradient(135deg, #111827, #1e1b4b);
}

.game-option__image--codes {
    background:
        linear-gradient(135deg, #0f766e, #84cc16),
        radial-gradient(circle, #ffffff 0 10%, transparent 11%);
}

.game-option__image--stock {
    background:
        repeating-linear-gradient(90deg, #0c4a6e 0 1rem, #075985 1rem 2rem),
        linear-gradient(180deg, #22c55e, #38bdf8);
}

@media (max-width: 980px) {
    .hero-offer,
    .game-options,
    .game-options--featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-nav--brand-first {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.8rem;
    }

    .home-nav--brand-first .home-nav__links {
        justify-content: center;
    }

    .home-nav--brand-first .home-nav__links a:not(:last-child) {
        display: inline-flex;
    }

    .hero-offer,
    .game-options,
    .game-options--featured {
        grid-template-columns: 1fr;
    }

    .game-details summary {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "image image"
            "label arrow"
            "title arrow"
            "copy arrow";
        padding: 0.75rem;
    }

    .game-option {
        grid-template-columns: 6.5rem minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .home-hero--direct {
        padding-top: 0.75rem;
    }

    .home-nav--brand-first .home-nav__links {
        gap: 0.75rem;
    }

    .home-nav--brand-first .home-nav__links a:nth-child(1),
    .home-nav--brand-first .home-nav__links a:nth-child(3),
    .home-nav--brand-first .home-nav__links a:nth-child(4) {
        display: none;
    }

    .game-option {
        grid-template-columns: 1fr;
    }

    .game-option img,
    .game-option__image {
        min-height: 8.5rem;
    }

    .game-option > span:last-child {
        padding: 0 0.9rem 1rem;
    }
}

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

.trade-body {
    min-height: 100vh;
    padding: clamp(1rem, 3vw, 2.25rem);
    color: #071126;
    background:
        radial-gradient(circle at 12% 12%, rgba(135, 160, 130, 0.28), transparent 26rem),
        radial-gradient(circle at 90% 18%, rgba(244, 210, 194, 0.32), transparent 24rem),
        linear-gradient(135deg, #dfe7de 0%, #eee7df 100%);
}

.trade-page {
    width: min(100%, 76rem);
    margin: 0 auto;
}

.trade-hero,
.trade-filters,
.trade-listing {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.7);
    border-radius: 2rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.14);
}

.trade-hero {
    padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1.25rem, 4vw, 2rem);
}

.trade-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.7rem;
    color: #4a5f7e;
    font-size: 0.82rem;
    font-weight: 800;
}

.trade-nav a {
    color: inherit;
    text-decoration: none;
}

.trade-nav a:first-child {
    margin-right: auto;
    color: #071126;
}

.trade-eyebrow {
    margin: 0 0 1rem;
    color: #24456f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.trade-hero__row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.trade-hero h1 {
    margin: 0;
    color: #010b20;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.trade-hero p {
    max-width: 43rem;
    margin: 0.95rem 0 0;
    color: #24405f;
    font-size: 1rem;
    line-height: 1.7;
}

.trade-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 15rem;
}

.trade-hero__actions a,
.trade-listing__actions a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    color: #071126;
    background: #ffffff;
    border: 1px solid #cbd7e8;
    border-radius: 0.75rem;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.trade-hero__actions .trade-hero__primary,
.trade-listing__actions .accept-link {
    color: #ffffff;
    background: #071126;
    border-color: #071126;
}

.trade-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11.5rem;
    gap: 0.75rem;
    margin-top: 1.85rem;
}

.trade-search label {
    display: block;
    min-width: 0;
}

.trade-search input,
.trade-search select,
.value-fields input {
    width: 100%;
    min-height: 2.85rem;
    padding: 0 1rem;
    color: #22324d;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #cdd8e7;
    border-radius: 0.9rem;
    outline: 0;
}

.trade-search input {
    border-color: #f1c9bb;
}

.trade-search input:focus,
.trade-search select:focus,
.value-fields input:focus {
    border-color: #5b7faa;
    box-shadow: 0 0 0 3px rgba(91, 127, 170, 0.16);
}

.trade-count {
    margin-top: 1rem;
    color: #071126;
    font-size: 0.9rem;
    font-weight: 800;
}

.trade-layout {
    display: grid;
    grid-template-columns: 18.75rem minmax(0, 1fr);
    gap: 1.55rem;
    align-items: start;
    margin-top: 2rem;
}

.trade-filters {
    position: sticky;
    top: 1rem;
    padding: 1.5rem;
    border-radius: 1.9rem;
}

.trade-filter__heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.trade-filter__heading h2,
.trade-filters h3 {
    margin: 0;
    color: #121c30;
    font-size: 1.1rem;
    font-weight: 800;
}

.trade-filter__heading p,
.trade-filters p {
    margin: 0.25rem 0 0;
    color: #637693;
    font-size: 0.9rem;
    line-height: 1.45;
}

.trade-filter__heading button {
    color: #766f68;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
}

.trade-filters section {
    margin-top: 1.65rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.filter-chips button {
    min-height: 2.4rem;
    padding: 0.55rem 1rem;
    color: #35455e;
    background: #ffffff;
    border: 1px solid #d9e3f0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.filter-chips button:hover {
    border-color: #8fa5c1;
}

.value-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.value-fields span {
    display: block;
    margin-bottom: 0.5rem;
    color: #35455e;
    font-size: 0.82rem;
}

.trade-listings {
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding-bottom: 3rem;
}

.trade-listing {
    padding: 1.5rem;
    overflow: visible;
}

.trade-listing__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.trader-profile {
    display: flex;
    min-width: 0;
    gap: 0.85rem;
}

.trader-avatar {
    flex: 0 0 auto;
    width: 2.55rem;
    height: 2.55rem;
    background: linear-gradient(135deg, #111827, #64748b);
    border: 2px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.16);
}

.trader-avatar--two {
    background: linear-gradient(135deg, #0f766e, #f59e0b);
}

.trader-avatar--three {
    background: linear-gradient(135deg, #312e81, #06b6d4);
}

.trader-profile h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #071126;
    font-size: 1rem;
    font-weight: 800;
}

.trader-profile h2 span {
    padding: 0.35rem 0.7rem;
    color: #425672;
    background: #f0f4f8;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.profile-level-indicator {
    display: inline-grid;
    min-width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    padding: 0 0.35rem;
    color: #f8fbff;
    background: linear-gradient(165deg, #6ec0de 0%, #57a9cf 100%);
    border: 1px solid rgba(125, 191, 220, 0.92);
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.trader-profile p {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 0.45rem 0 0;
    color: #51698a;
    font-size: 0.78rem;
}

.trade-listing__actions {
    display: grid;
    justify-items: end;
    gap: 0.75rem;
}

.trade-listing__actions > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.fair-pill {
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    padding: 0.35rem 1rem;
    color: #ffffff;
    background: #56677f;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.fair-pill--hot {
    background: #b45309;
}

.trade-windows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.trade-window {
    padding: 1.25rem 1rem 1rem;
    overflow: visible;
    background: #f8fafc;
    border: 1px solid #d9e3ef;
    border-radius: 1.35rem;
}

.trade-window__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trade-window__top h3 {
    margin: 0;
    color: #007064;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.trade-window:nth-child(2) .trade-window__top h3 {
    color: #005da7;
}

.trade-window__top span {
    padding: 0.45rem 0.85rem;
    color: #071126;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 0.5rem 1.6rem rgba(15, 23, 42, 0.08);
    font-weight: 800;
}

.trade-item-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
}

.market-item,
.market-slot {
    aspect-ratio: 1 / 1;
    min-height: 6.7rem;
    border-radius: 1rem;
}

.market-item {
    position: relative;
    display: grid;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 1rem 2rem rgba(15, 23, 42, 0.12);
    cursor: help;
    outline: 0;
}

.market-item::before {
    position: absolute;
    inset: 12%;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
}

.market-item > strong {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    letter-spacing: 0.14em;
}

.market-item > small {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    z-index: 1;
    padding: 0.18rem 0.36rem;
    color: #ffffff;
    background: #0f172a;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
}

.market-slot {
    border: 1px dashed #d9e3ef;
    background: rgba(255, 255, 255, 0.42);
}

.market-item--dragon {
    background: linear-gradient(135deg, #f59e0b, #ef4444 55%, #8b5cf6);
}

.market-item--leopard,
.market-item--cow {
    background: linear-gradient(135deg, #f9a8d4, #d946ef);
}

.market-item--kitsune,
.market-item--frost {
    background: linear-gradient(135deg, #67e8f9, #3b82f6);
}

.market-item--bat {
    background: linear-gradient(135deg, #facc15, #f97316 52%, #ef4444);
}

.market-item--darkblade {
    background: linear-gradient(135deg, #0f172a, #312e81 54%, #0ea5e9);
}

.market-item--dough {
    background: linear-gradient(135deg, #fbcfe8, #fb7185);
}

.market-item--mammoth {
    background: linear-gradient(135deg, #92400e, #f59e0b);
}

.item-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.75rem);
    z-index: 20;
    display: grid;
    min-width: 12.7rem;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    color: #ffffff;
    background: #070d1e;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.9rem;
    box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.35rem);
    transition: opacity 140ms ease, transform 140ms ease;
}

.item-tooltip::after {
    position: absolute;
    left: 50%;
    bottom: -0.45rem;
    width: 0.9rem;
    height: 0.9rem;
    content: "";
    background: #070d1e;
    transform: translateX(-50%) rotate(45deg);
}

.item-tooltip strong {
    font-size: 1rem;
    line-height: 1.2;
}

.item-tooltip b {
    width: max-content;
    padding: 0.35rem 0.75rem;
    color: #ffffff;
    background: #f59e0b;
    border-radius: 999px;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.item-tooltip small {
    color: #dce6f6;
    font-size: 0.78rem;
    font-weight: 800;
}

.item-tooltip small:last-child {
    color: #5eead4;
}

.market-item:hover .item-tooltip,
.market-item:focus .item-tooltip,
.market-item:focus-visible .item-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
    .trade-layout {
        grid-template-columns: 1fr;
    }

    .trade-filters {
        position: static;
    }
}

@media (max-width: 820px) {
    .trade-hero__row,
    .trade-listing__header,
    .trade-windows {
        grid-template-columns: 1fr;
        display: grid;
    }

    .trade-hero__actions,
    .trade-listing__actions {
        justify-content: start;
        justify-items: start;
        min-width: 0;
    }

    .trade-search {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .trade-body {
        padding: 0.75rem;
    }

    .trade-hero,
    .trade-filters,
    .trade-listing {
        border-radius: 1.25rem;
    }

    .trade-listing {
        padding: 1rem;
    }

    .trade-item-grid {
        gap: 0.5rem;
    }

    .market-item,
    .market-slot {
        min-height: 5.6rem;
        border-radius: 0.75rem;
    }

    .item-tooltip {
        min-width: 11rem;
        left: 0;
        transform: translate(0, 0.35rem);
    }

    .item-tooltip::after {
        left: 2rem;
    }

    .market-item:hover .item-tooltip,
    .market-item:focus .item-tooltip,
    .market-item:focus-visible .item-tooltip {
        transform: translate(0, 0);
    }
}

/* Compact marketplace layout */
.trade-hero {
    padding: 1.45rem clamp(1.25rem, 4vw, 2rem);
}

.trade-hero__row {
    align-items: end;
}

.trade-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.35rem);
}

.trade-search {
    margin-top: 1.2rem;
}

.trade-layout {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
}

.trade-filters {
    position: static;
    display: grid;
    grid-template-columns: minmax(10rem, 1.2fr) repeat(4, minmax(9rem, 1fr));
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1.35rem;
}

.trade-filter__heading,
.trade-filters section {
    min-width: 0;
}

.trade-filters section {
    margin-top: 0;
}

.trade-filter__heading h2,
.trade-filters h3 {
    font-size: 0.95rem;
}

.trade-filter__heading p,
.trade-filters p {
    font-size: 0.78rem;
    line-height: 1.35;
}

.filter-chips {
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.filter-chips button {
    min-height: 2rem;
    padding: 0.4rem 0.72rem;
    font-size: 0.78rem;
}

.value-fields {
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.value-fields span {
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
}

.value-fields input {
    min-height: 2.35rem;
}

.trade-listings {
    gap: 0.75rem;
}

.trade-listing {
    padding: 0.9rem;
}

.trade-listing__header {
    align-items: start;
    margin-bottom: 0.7rem;
}

.trader-avatar {
    width: 2.25rem;
    height: 2.25rem;
}

.trader-profile h2 {
    font-size: 0.95rem;
}

.trader-profile h2 span {
    padding: 0.28rem 0.58rem;
    font-size: 0.64rem;
}

.trader-profile p {
    gap: 0.65rem;
    margin-top: 0.3rem;
    font-size: 0.72rem;
}

.trade-listing__actions {
    gap: 0.45rem;
}

.trade-listing__actions a {
    min-height: 2.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 0.76rem;
}

.fair-pill {
    min-height: 1.55rem;
    padding: 0.28rem 0.75rem;
    font-size: 0.7rem;
}

.trade-windows {
    gap: 0.65rem;
}

.trade-window {
    padding: 0.72rem;
    border-radius: 1rem;
}

.trade-window__top {
    margin-bottom: 0.55rem;
}

.trade-window__top h3 {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
}

.trade-window__top span {
    padding: 0.28rem 0.62rem;
    font-size: 0.78rem;
}

.trade-item-grid {
    gap: 0.42rem;
}

.market-item,
.market-slot {
    min-height: 3.75rem;
    border-radius: 0.65rem;
}

.market-item::before {
    inset: 14%;
    border-radius: 0.5rem;
}

.market-item > strong {
    font-size: 0.98rem;
}

.market-item > small {
    right: 0.25rem;
    bottom: 0.25rem;
    padding: 0.14rem 0.3rem;
    font-size: 0.48rem;
}

@media (max-width: 1060px) {
    .trade-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .trade-filters {
        grid-template-columns: 1fr;
    }

    .trade-windows {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid;
    }
}

@media (max-width: 640px) {
    .trade-windows {
        grid-template-columns: 1fr;
    }

    .market-item,
    .market-slot {
        min-height: 4.25rem;
    }
}

/* Final dense trade-row overrides */
.trade-listings {
    gap: 0;
    overflow: visible;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.7);
    border-radius: 1.1rem;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.1);
}

.trade-listings__header,
.trade-listing {
    display: grid;
    grid-template-columns: minmax(13rem, 1.1fr) minmax(12rem, 1.2fr) minmax(12rem, 1.2fr) minmax(7rem, 0.65fr) 2rem;
    gap: 0.75rem;
    align-items: center;
}

.trade-listings__header {
    position: sticky;
    top: 0;
    z-index: 3;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    color: #071126;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 1.1rem 1.1rem 0 0;
    font-size: 1.02rem;
    font-weight: 800;
}

.trade-listing {
    position: relative;
    min-height: 5.4rem;
    padding: 0.65rem 1rem;
    background: rgba(248, 250, 252, 0.7);
    border: 0;
    border-bottom: 1px solid #e7edf5;
    border-radius: 0;
    box-shadow: none;
}

.trade-listing:last-child {
    border-bottom: 0;
    border-radius: 0 0 1.1rem 1.1rem;
}

.trade-listing::after {
    grid-column: 4;
    content: attr(data-posted);
    color: #071126;
    font-size: 0.82rem;
    font-weight: 800;
}

.trade-listing__header,
.trade-windows {
    display: contents;
}

.trader-profile {
    grid-column: 1;
    align-items: center;
}

.trader-profile h2 {
    font-size: 0.9rem;
}

.trader-profile h2 span,
.trader-profile p {
    display: none;
}

.trader-avatar {
    width: 1.75rem;
    height: 1.75rem;
}

.trade-window {
    display: block;
    min-width: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.trade-window:first-child {
    grid-column: 3;
}

.trade-window:nth-child(2) {
    grid-column: 2;
}

.trade-window__top {
    display: none;
}

.trade-item-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    align-items: center;
    overflow: visible;
}

.market-slot {
    display: none;
}

.market-item {
    width: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    border-radius: 0.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.market-item::before {
    inset: 18%;
    border-radius: 0.35rem;
}

.market-item > strong {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
}

.market-item > small {
    right: -0.15rem;
    bottom: -0.15rem;
    padding: 0.1rem 0.22rem;
    font-size: 0.42rem;
}

.trade-listing__actions {
    grid-column: 5;
    display: grid;
    justify-items: center;
}

.trade-listing__actions .fair-pill,
.trade-listing__actions a {
    display: none;
}

.trade-listing__actions::after {
    content: "...";
    color: #071126;
    font-size: 1rem;
    font-weight: 800;
}

.item-tooltip {
    min-width: 11.5rem;
    gap: 0.35rem;
    padding: 0.75rem 0.85rem;
}

@media (max-width: 860px) {
    .trade-listings {
        display: grid;
        gap: 0.75rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .trade-listings__header {
        display: none;
    }

    .trade-listing {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        min-height: 0;
        padding: 0.85rem;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #dbe4ef;
        border-radius: 1rem;
    }

    .trade-listing::after {
        grid-column: 1;
    }

    .trade-listing__header,
    .trade-windows {
        display: grid;
    }

    .trade-windows {
        grid-template-columns: 1fr 1fr;
    }

    .trade-window:first-child,
    .trade-window:nth-child(2),
    .trader-profile,
    .trade-listing__actions {
        grid-column: auto;
    }

    .trade-window__top {
        display: flex;
    }

    .trade-listing__actions {
        display: none;
    }
}

/* App header + theme */
:root[data-theme="dark"] {
    --brand-page-bg: linear-gradient(180deg, #050914 0%, #091121 36%, #0b1325 100%);
    --brand-text: #e5edf9;
    --brand-muted: #94a3b8;
    --brand-panel: #0b172a;
    --brand-panel-soft: #0f1f39;
    --brand-border: rgba(96, 165, 250, 0.24);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 4000;
    margin-bottom: 1rem;
}

.app-nav {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 4rem;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--brand-border);
    border-radius: 0.9rem;
    box-shadow: 0 0.9rem 2rem rgba(29, 78, 216, 0.12);
    backdrop-filter: blur(8px);
}

:root[data-theme="dark"] .app-nav {
    background: rgba(7, 15, 31, 0.92);
    box-shadow: 0 0.9rem 2rem rgba(2, 6, 23, 0.45);
}

.app-brand {
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
}

.app-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-game-switcher {
    position: relative;
}

.app-game-switcher summary {
    display: grid;
    gap: 0.1rem;
    min-width: 8.2rem;
    padding: 0.45rem 0.75rem;
    color: var(--brand-text);
    background: #f8fbff;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.7rem;
    cursor: pointer;
    list-style: none;
}

.app-game-switcher summary::-webkit-details-marker {
    display: none;
}

.app-game-switcher summary strong {
    font-size: 0.9rem;
    line-height: 1.15;
}

.app-game-switcher summary span {
    color: var(--brand-muted);
    font-size: 0.75rem;
    line-height: 1.1;
}

:root[data-theme="dark"] .app-game-switcher summary {
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.34);
}

.app-game-switcher__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 4200;
    display: grid;
    min-width: 10rem;
    padding: 0.35rem;
    background: var(--brand-panel);
    border: 1px solid var(--brand-border);
    border-radius: 0.7rem;
    box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.25);
}

.app-game-switcher__menu a {
    padding: 0.42rem 0.5rem;
    color: var(--brand-text);
    border-radius: 0.42rem;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.app-game-switcher__menu a:hover,
.app-game-switcher__menu a.is-active {
    background: #eaf2ff;
    color: #0f2f85;
}

:root[data-theme="dark"] .app-game-switcher__menu a:hover,
:root[data-theme="dark"] .app-game-switcher__menu a.is-active {
    background: rgba(96, 165, 250, 0.18);
    color: #dbeafe;
}

.app-nav-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
}

.app-nav-links a,
.app-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.82rem;
    color: var(--brand-text);
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.app-nav-links a:hover,
.app-nav-links a.is-active {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.34);
    color: #0f2f85;
}

:root[data-theme="dark"] .app-nav-links a:hover,
:root[data-theme="dark"] .app-nav-links a.is-active {
    background: rgba(96, 165, 250, 0.16);
    color: #dbeafe;
}

.app-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.62rem;
    color: var(--brand-text);
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 0.62rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.theme-toggle__dark {
    opacity: 0.45;
}

.theme-toggle[data-theme="dark"] .theme-toggle__light {
    opacity: 0.45;
}

.theme-toggle[data-theme="dark"] .theme-toggle__dark {
    opacity: 1;
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .app-profile {
    background: #0f1f39;
    border-color: rgba(96, 165, 250, 0.34);
    color: #dbeafe;
}

.app-profile {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
}

:root[data-theme="dark"] .app-profile {
    color: #eaf2ff;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

@media (max-width: 980px) {
    .app-nav {
        grid-template-columns: auto 1fr auto;
        gap: 0.55rem;
    }

    .app-game-switcher {
        grid-column: 2 / 3;
    }

    .app-nav-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .app-nav-actions {
        grid-column: 3 / 4;
    }
}

/* Neblio-style homepage */
.neblio-home {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #e5e7eb;
    background:
        radial-gradient(circle at 12% -8%, rgba(88, 101, 242, 0.18), transparent 30rem),
        linear-gradient(180deg, #0d0f15 0%, #0b0d12 100%);
}

.neblio-home__header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto minmax(18rem, 28rem) auto;
    align-items: center;
    gap: 1rem;
    min-height: 4.45rem;
    padding: 0 1rem;
    background: rgba(10, 12, 18, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.neblio-home__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
}

.neblio-home__brand img {
    width: 1.5rem;
    height: 1.5rem;
}

.neblio-home__brand strong {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0;
}

.neblio-home__brand span {
    display: inline-flex;
    min-height: 1.35rem;
    align-items: center;
    padding: 0 0.45rem;
    color: #8aa0ff;
    border: 1px solid rgba(88, 101, 242, 0.55);
    border-radius: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.neblio-home__search {
    justify-self: center;
    width: 100%;
}

.neblio-home__search label {
    display: flex;
    min-height: 2.4rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.7rem;
    background: rgba(17, 21, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.4rem;
}

.neblio-home__search span {
    color: #8f98a7;
    font-size: 0.9rem;
}

.neblio-home__search input {
    width: 100%;
    color: #e5e7eb;
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
}

.neblio-home__search input::placeholder {
    color: #8f98a7;
}

.neblio-home__verify {
    display: inline-flex;
    min-height: 2.3rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.8rem;
    color: #f3f4f6;
    border-radius: 0.45rem;
    font-weight: 800;
    text-decoration: none;
}

.neblio-home__verify:hover {
    background: rgba(255, 255, 255, 0.08);
}

.neblio-home__main {
    width: min(66rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.2rem 0 4rem;
}

.neblio-home__hero {
    margin-bottom: 1.6rem;
    padding: 1.25rem 1.2rem 1.35rem;
    background:
        linear-gradient(160deg, rgba(17, 21, 29, 0.9) 0%, rgba(10, 14, 24, 0.95) 100%),
        radial-gradient(circle at 18% 0%, rgba(88, 101, 242, 0.18), transparent 18rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 1.2rem 2.4rem rgba(2, 4, 10, 0.35);
}

.neblio-home__eyebrow {
    margin: 0;
    color: #9eb2ff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.neblio-home__hero h1 {
    margin: 0.6rem 0 0.6rem;
    color: #f8fafc;
    font-size: clamp(1.7rem, 3.5vw, 2.45rem);
    line-height: 1.12;
}

.neblio-home__hero > p:not(.neblio-home__eyebrow) {
    margin: 0;
    color: #bac8df;
    font-size: 0.95rem;
    line-height: 1.55;
}

.neblio-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.neblio-home__hero-actions a {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.85rem;
    color: #e5e7eb;
    background: rgba(17, 21, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.48rem;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.neblio-home__hero-actions button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.85rem;
    color: #e5e7eb;
    background: rgba(17, 21, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.48rem;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.neblio-home__hero-actions .neblio-home__hero-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #4258ff 0%, #5f72ff 100%);
    border-color: rgba(126, 149, 255, 0.9);
}

.neblio-home__section {
    margin-bottom: 2rem;
}

.neblio-home__section h1,
.neblio-home__section h2 {
    margin: 0 0 1rem;
    color: #f3f4f6;
    letter-spacing: 0;
}

.neblio-home__section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.neblio-home__section h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 850;
}

.neblio-home__section-head--tight {
    margin-top: 0.6rem;
}

.neblio-home__add-inline {
    display: inline-flex;
    min-height: 2.1rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.85rem;
    color: #dbeafe;
    background: rgba(66, 88, 255, 0.2);
    border: 1px solid rgba(126, 149, 255, 0.55);
    border-radius: 0.45rem;
    border-width: 1px;
    border-style: solid;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.neblio-home__add-game {
    display: grid;
    width: 7.3rem;
    height: 9.5rem;
    place-items: center;
    gap: 0.35rem;
    color: #f3f4f6;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.45rem;
    text-decoration: none;
}

.neblio-home__add-game span {
    font-size: 3rem;
    line-height: 0.85;
}

.neblio-home__add-game small {
    font-size: 1rem;
    font-weight: 700;
}

.neblio-home__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.neblio-home__section-head h2 {
    margin: 0;
}

.neblio-home__section-head a {
    display: inline-flex;
    min-height: 2.3rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    color: #f3f4f6;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.45rem;
    font-weight: 800;
    text-decoration: none;
}

.neblio-home__section-head a:hover {
    border-color: rgba(88, 101, 242, 0.45);
}

.neblio-home__tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.neblio-home__tool-card {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    min-height: 10.8rem;
    padding: 1rem;
    color: #f8fafc;
    background:
        linear-gradient(175deg, rgba(18, 24, 36, 0.95) 0%, rgba(10, 14, 22, 0.9) 100%),
        radial-gradient(circle at 12% -10%, rgba(88, 101, 242, 0.2), transparent 12rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0.58rem;
    text-decoration: none;
    transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.neblio-home__tool-card:hover {
    border-color: rgba(126, 149, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 1.8rem rgba(21, 28, 50, 0.42);
}

.neblio-home__tool-card small {
    color: #9eb2ff;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.neblio-home__tool-card h3 {
    margin: 0;
    font-size: 1.22rem;
    letter-spacing: 0;
}

.neblio-home__tool-card p {
    margin: 0;
    color: #b8c4da;
    font-size: 0.86rem;
    line-height: 1.5;
}

.neblio-home__tool-card span {
    display: inline-flex;
    width: max-content;
    margin-top: auto;
    padding: 0.28rem 0.55rem;
    color: #f8fafc;
    background: rgba(66, 88, 255, 0.35);
    border: 1px solid rgba(126, 149, 255, 0.55);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.neblio-home__game-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
}

.neblio-home__game-grid--personal {
    min-height: 6rem;
    margin-bottom: 0.25rem;
}

.neblio-home__empty-personal {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0 0.65rem;
    color: #9fb3cc;
    background: rgba(17, 21, 29, 0.72);
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.neblio-home__game-card {
    display: grid;
    justify-items: start;
    gap: 0.45rem;
    width: 6.8rem;
    color: #f3f4f6;
    text-decoration: none;
}

.neblio-home__game-card img {
    width: 4.9rem;
    height: 4.9rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.neblio-home__game-card span {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.neblio-home__game-card strong {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.neblio-home__game-card small {
    color: #8f98a7;
    font-size: 0.74rem;
    font-weight: 700;
}

.neblio-home__picker-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4500;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(3px);
}

.neblio-home__picker {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 4600;
    width: min(42rem, calc(100vw - 1.5rem));
    transform: translate(-50%, -50%);
    padding: 1.2rem;
    background: #0b172a;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 1rem;
    box-shadow: 0 1.3rem 2.8rem rgba(2, 6, 23, 0.55);
}

.neblio-home__picker header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.95rem;
}

.neblio-home__picker h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.2rem;
}

.neblio-home__picker header button {
    width: 2rem;
    height: 2rem;
    color: #dbeafe;
    background: rgba(15, 31, 57, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 0.5rem;
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.neblio-home__picker-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.neblio-home__picker-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 4.2rem;
    padding: 0.62rem 0.68rem;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.75rem;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.neblio-home__picker-option img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: cover;
    border-radius: 0.62rem;
    flex: 0 0 auto;
}

.neblio-home__picker-option span {
    display: grid;
    gap: 0.08rem;
}

.neblio-home__picker-option strong {
    font-size: 1rem;
    font-weight: 800;
}

.neblio-home__picker-option small {
    color: #9fb3cc;
    font-size: 0.78rem;
    font-weight: 700;
}

.neblio-home__feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.neblio-home__feature-card {
    min-width: 0;
    padding: 1rem;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.55rem;
}

.neblio-home__feature-card > span {
    display: inline-grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    margin-bottom: 0.8rem;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.neblio-home__feature-card h3 {
    margin: 0 0 0.45rem;
    color: #f3f4f6;
    font-size: 1.35rem;
}

.neblio-home__feature-card p {
    margin: 0;
    color: #b8bfcb;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .neblio-home__tool-grid,
    .neblio-home__feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .neblio-home__header {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.75rem;
    }

    .neblio-home__search {
        justify-self: stretch;
    }

    .neblio-home__main {
        width: calc(100% - 1.5rem);
        padding-top: 1.2rem;
    }

    .neblio-home__hero {
        padding: 1rem;
    }

    .neblio-home__hero-actions a {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .neblio-home__hero-actions button {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .neblio-home__section {
        margin-bottom: 1.45rem;
    }

    .neblio-home__tool-grid,
    .neblio-home__feature-grid {
        grid-template-columns: 1fr;
    }

    .neblio-home__game-grid {
        gap: 0.7rem;
    }

    .neblio-home__game-card {
        width: 5.6rem;
    }

    .neblio-home__game-card img {
        width: 3.8rem;
        height: 3.8rem;
    }

    .neblio-home__picker {
        width: calc(100vw - 1.1rem);
        padding: 0.9rem;
    }

    .neblio-home__picker-list {
        grid-template-columns: 1fr;
    }
}

/* Neblio-style game app shell */
.game-shell-page {
    min-height: 100vh;
    margin: 0;
    padding: 5rem 1.15rem 1.15rem calc(15.6rem + 1.15rem);
    color: #e5e7eb;
    background:
        radial-gradient(circle at 6% -10%, rgba(88, 101, 242, 0.14), transparent 28rem),
        linear-gradient(180deg, #0d0f15 0%, #0b0d12 100%);
}

.game-shell-page .game-shell-header {
    margin: 0;
}

.game-shell-page .game-shell-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4000;
    display: grid;
    grid-template-columns: auto minmax(18rem, 28rem) auto;
    align-items: center;
    gap: 1rem;
    min-height: 4.45rem;
    padding: 0 1rem;
    background: rgba(10, 12, 18, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.game-shell-page .game-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
}

.game-shell-page .game-shell-brand img {
    width: 1.55rem;
    height: 1.55rem;
}

.game-shell-page .game-shell-brand strong {
    font-size: 1.95rem;
    font-weight: 900;
    letter-spacing: 0;
}

.game-shell-page .game-shell-brand span {
    display: inline-flex;
    min-height: 1.35rem;
    align-items: center;
    padding: 0 0.45rem;
    color: #8aa0ff;
    border: 1px solid rgba(88, 101, 242, 0.55);
    border-radius: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.game-shell-page .game-shell-search {
    justify-self: center;
    width: 100%;
}

.game-shell-page .game-shell-search label {
    display: flex;
    min-height: 2.4rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.7rem;
    background: rgba(17, 21, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.4rem;
}

.game-shell-page .game-shell-search span {
    color: #8f98a7;
    font-size: 0.9rem;
}

.game-shell-page .game-shell-search input {
    width: 100%;
    color: #e5e7eb;
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
}

.game-shell-page .game-shell-search input::placeholder {
    color: #8f98a7;
}

.game-shell-page .game-shell-topbar-spacer {
    width: 100%;
    min-height: 1px;
}

.game-shell-page .game-shell-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.game-shell-page .game-shell-actions a,
.game-shell-page .game-shell-actions .theme-toggle {
    display: inline-flex;
    min-height: 2.3rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.8rem;
    color: #f3f4f6;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.45rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.game-shell-page .game-shell-actions a:hover,
.game-shell-page .game-shell-actions .theme-toggle:hover {
    border-color: rgba(88, 101, 242, 0.45);
}

.game-shell-page .game-shell-actions .theme-toggle {
    gap: 0.35rem;
    cursor: pointer;
}

.game-shell-page .game-shell-mobile-toggle {
    display: none;
    min-height: 2.2rem;
    min-width: 2.2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #f3f4f6;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.45rem;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.game-shell-page .game-shell-roblox-login {
    display: none;
}

.game-shell-page .game-shell-mobile-backdrop {
    display: none;
}

.game-shell-page .game-shell-mobile-dock {
    display: none;
}

.game-shell-page .game-shell-sidebar {
    position: fixed;
    top: 4.45rem;
    bottom: 0;
    left: 0;
    z-index: 3900;
    display: flex;
    flex-direction: column;
    width: 15.6rem;
    padding: 0.85rem 0.7rem 1.1rem;
    overflow-y: auto;
    background: rgba(10, 12, 18, 0.94);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.game-shell-page .game-shell-switcher {
    position: relative;
    margin: 0;
}

.game-shell-page .game-shell-switcher summary {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.55rem;
    color: #f3f4f6;
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.45rem;
    cursor: pointer;
    list-style: none;
}

.game-shell-page .game-shell-switcher summary:focus-visible {
    outline: 2px solid rgba(88, 101, 242, 0.7);
    outline-offset: 1px;
}

.game-shell-page .game-shell-switcher summary::-webkit-details-marker {
    display: none;
}

.game-shell-page .game-shell-switcher__icon {
    display: inline-grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    overflow: hidden;
    background: #101522;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.35rem;
}

.game-shell-page .game-shell-switcher__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-shell-page .game-shell-switcher__meta {
    display: grid;
    gap: 0.1rem;
}

.game-shell-page .game-shell-switcher__chevron {
    margin-left: auto;
    color: #9aa3b3;
    font-size: 0.72rem;
    transition: transform 140ms ease, color 140ms ease;
}

.game-shell-page .game-shell-switcher[open] .game-shell-switcher__chevron {
    color: #dbeafe;
    transform: rotate(180deg);
}

.game-shell-page .game-shell-switcher__meta strong {
    font-size: 0.95rem;
}

.game-shell-page .game-shell-switcher__meta small {
    color: #9aa3b3;
    font-size: 0.72rem;
    font-weight: 700;
}

.game-shell-page .game-shell-switcher__menu {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0.3rem;
    background: rgba(17, 21, 29, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.45rem;
}

.game-shell-page .game-shell-switcher:not([open]) .game-shell-switcher__menu {
    display: none;
}

.game-shell-page .game-shell-switcher__menu a {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.1rem;
    padding: 0.35rem 0.45rem;
    color: #d1d5db;
    border-radius: 0.35rem;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.game-shell-page .game-shell-switcher__menu a img {
    width: 1.45rem;
    height: 1.45rem;
    object-fit: cover;
    border-radius: 0.3rem;
}

.game-shell-page .game-shell-switcher__menu a small {
    color: #8f98a7;
    font-size: 0.7rem;
}

.game-shell-page .game-shell-switcher__menu a:hover,
.game-shell-page .game-shell-switcher__menu a.is-active {
    color: #f3f4f6;
    background: rgba(88, 101, 242, 0.2);
}

.game-shell-page .game-shell-links {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.75rem;
}

.game-shell-page .game-shell-links a {
    display: inline-flex;
    min-height: 2.3rem;
    align-items: center;
    padding: 0.45rem 0.6rem;
    color: #d1d5db;
    border-radius: 0.42rem;
    font-size: 0.92rem;
    font-weight: 770;
    text-decoration: none;
}

.game-shell-page .game-shell-links a:hover,
.game-shell-page .game-shell-links a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.game-shell-page .game-shell-sidebar-divider {
    width: 100%;
    height: 1px;
    margin: 0.8rem 0 0.78rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.03) 100%);
}

.game-shell-page .game-shell-global-tools {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 0;
}

.game-shell-page .game-shell-global-tools__title {
    margin: 0;
    color: #9aa3b3;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-shell-page .game-shell-global-tools__list {
    display: grid;
    gap: 0.28rem;
    padding: 0.34rem;
    background: rgba(17, 21, 29, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.48rem;
}

.game-shell-page .game-shell-global-tools__list a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.25rem;
    padding: 0.42rem 0.54rem;
    color: #d1d5db;
    border-radius: 0.4rem;
    font-size: 0.86rem;
    font-weight: 760;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 25, 0.45);
}

.game-shell-page .game-shell-global-tools__list a small {
    padding: 0.08rem 0.35rem;
    color: #8ec5ff;
    background: rgba(44, 111, 255, 0.16);
    border: 1px solid rgba(75, 143, 255, 0.45);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.game-shell-page .game-shell-global-tools__list a:hover,
.game-shell-page .game-shell-global-tools__list a.is-active {
    color: #ffffff;
    border-color: rgba(117, 167, 255, 0.48);
    background: rgba(56, 95, 221, 0.22);
}

.game-shell-page .game-shell-global-tools__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: auto;
}

.game-shell-page .game-shell-global-tools__legal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.34rem 0.52rem;
    color: #cbd5e1;
    border-radius: 0.4rem;
    font-size: 0.73rem;
    font-weight: 760;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(11, 16, 25, 0.32);
}

.game-shell-page .game-shell-global-tools__legal a:hover,
.game-shell-page .game-shell-global-tools__legal a.is-active {
    color: #ffffff;
    border-color: rgba(117, 167, 255, 0.46);
    background: rgba(56, 95, 221, 0.18);
}

.game-shell-page main {
    width: min(71rem, calc(100vw - 18.2rem));
    margin: 0 auto;
}

.game-shell-page .trade-hero,
.game-shell-page .values-hero,
.game-shell-page .calculator-hero,
.game-shell-page .codes-hero,
.game-shell-page .giveaways-hero,
.game-shell-page .item-hero {
    color: #f3f4f6;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.game-shell-page .trade-hero h1,
.game-shell-page .values-hero h1,
.game-shell-page .calculator-hero h1,
.game-shell-page .codes-hero h1,
.game-shell-page .giveaways-hero h1,
.game-shell-page .item-hero h1 {
    color: #f3f4f6;
}

.game-shell-page .trade-eyebrow,
.game-shell-page .values-eyebrow,
.game-shell-page .codes-eyebrow,
.game-shell-page .giveaways-hero__eyebrow {
    color: #9aa3b3;
}

.game-shell-page .trade-search input,
.game-shell-page .trade-search select,
.game-shell-page .trade-listings,
.game-shell-page .trade-listing,
.game-shell-page .trade-window,
.game-shell-page .value-card,
.game-shell-page .calculator-board,
.game-shell-page .calculator-balance,
.game-shell-page .giveaway-card,
.game-shell-page .code-card,
.game-shell-page .item-card {
    background: rgba(17, 21, 29, 0.82);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.game-shell-page .trade-listings__header {
    background: rgba(10, 12, 18, 0.94);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.1);
}

.game-shell-page .trade-listing::after {
    color: #9aa3b3;
}

.game-shell-page .trader-rating strong,
.game-shell-page .trader-profile h2,
.game-shell-page .trade-window__top span,
.game-shell-page .trade-window__top h3 {
    color: #f3f4f6;
}

.game-shell-page .trade-window__top span {
    background: rgba(255, 255, 255, 0.08);
}

.game-shell-page .trade-hero__actions a,
.game-shell-page .trade-listing__actions a,
.game-shell-page .calculator-trade-link,
.game-shell-page .giveaway-btn--primary {
    color: #ffffff;
    background: #5865f2;
    border-color: rgba(88, 101, 242, 0.8);
}

.game-shell-page .trade-listing__actions::after {
    color: #d1d5db;
}

.game-shell-page .faq-hero,
.game-shell-page .faq-list,
.game-shell-page .faq-note {
    background: rgba(17, 21, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.game-shell-page .faq-hero h1,
.game-shell-page .faq-list summary,
.game-shell-page .faq-note h2 {
    color: #f3f4f6;
}

.game-shell-page .faq-hero p,
.game-shell-page .faq-list p,
.game-shell-page .faq-note p {
    color: #9aa3b3;
}

.game-shell-page .faq-list details {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.game-shell-page .faq-list {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.game-shell-page .faq-note {
    background: rgba(15, 25, 43, 0.78);
}

.game-shell-page .faq-note a {
    color: #ffffff;
    background: rgba(56, 95, 221, 0.28);
    border-color: rgba(117, 167, 255, 0.55);
}

.game-shell-page .faq-note a:hover {
    background: rgba(56, 95, 221, 0.4);
    border-color: rgba(117, 167, 255, 0.72);
}

:root[data-theme="light"] .game-shell-page .faq-hero,
:root[data-theme="light"] .game-shell-page .faq-list,
:root[data-theme="light"] .game-shell-page .faq-note {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.2);
}

:root[data-theme="light"] .game-shell-page .faq-hero h1,
:root[data-theme="light"] .game-shell-page .faq-list summary,
:root[data-theme="light"] .game-shell-page .faq-note h2 {
    color: #0f172a;
}

:root[data-theme="light"] .game-shell-page .faq-hero p,
:root[data-theme="light"] .game-shell-page .faq-list p,
:root[data-theme="light"] .game-shell-page .faq-note p {
    color: #475569;
}

:root[data-theme="light"] .game-shell-page .faq-list details {
    border-bottom-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .game-shell-page .faq-list {
    border-top-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .game-shell-page .faq-note {
    background: #f8fbff;
}

:root[data-theme="light"] .game-shell-page .faq-note a {
    color: #0f172a;
    background: #dbeafe;
    border-color: #93c5fd;
}

:root[data-theme="light"] .game-shell-page .faq-note a:hover {
    background: #bfdbfe;
    border-color: #60a5fa;
}

@media (max-width: 1024px) {
    .game-shell-page {
        padding: 0.9rem;
    }

    .game-shell-page .game-shell-topbar {
        position: sticky;
        top: 0;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.7rem;
    }

    .game-shell-page .game-shell-search {
        justify-self: stretch;
    }

    .game-shell-page .game-shell-topbar-spacer {
        display: none;
    }

    .game-shell-page .game-shell-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .game-shell-page .game-shell-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 0.9rem;
        padding: 0.7rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .game-shell-page .game-shell-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-shell-page .game-shell-global-tools__list a {
        min-height: 2.15rem;
    }

    .game-shell-page main {
        width: 100%;
    }
}

/* Profile page */
.profile-page {
    display: grid;
    gap: 0.9rem;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(10rem, 11rem) minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1rem;
    background:
        radial-gradient(circle at 12% 14%, rgba(88, 101, 242, 0.24), transparent 26rem),
        linear-gradient(180deg, rgba(20, 24, 33, 0.95) 0%, rgba(13, 17, 25, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.profile-hero__identity {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.profile-hero__avatar {
    display: inline-grid;
    width: 8.5rem;
    height: 8.5rem;
    place-items: center;
    color: #dbeafe;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 0;
}

.profile-hero__identity a {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: #ffffff;
    background: rgba(88, 101, 242, 0.7);
    border: 1px solid rgba(147, 159, 255, 0.7);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.profile-hero__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.profile-hero__head h1 {
    margin: 0;
    color: #f3f4f6;
    font-size: clamp(2.2rem, 5vw, 3.3rem);
    line-height: 1;
}

.profile-hero__head span {
    padding: 0.32rem 0.68rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.profile-level-indicator--hero {
    min-width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.55rem;
    font-size: 0.95rem;
}

.profile-hero__content > p {
    margin: 0.5rem 0 0;
    color: #a5b4c6;
    font-weight: 700;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.profile-stat {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
}

.profile-stat strong {
    font-size: 2.2rem;
    line-height: 1;
}

.profile-stat span {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 700;
}

.profile-stat--blue strong { color: #38bdf8; }
.profile-stat--amber strong { color: #facc15; }
.profile-stat--green strong { color: #22c55e; }
.profile-stat--rose strong { color: #fb7185; }

.profile-board {
    min-width: 0;
    padding: 1rem;
    background: rgba(16, 20, 28, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.profile-board__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-board__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.profile-board__tabs button,
.profile-board__sort {
    min-height: 2.5rem;
    padding: 0.45rem 0.95rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.6rem;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
}

.profile-board__tabs .is-active {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.5);
}
.profile-notice {
    margin: 0.8rem 0 0.2rem;
    padding: 0.65rem 0.75rem;
    color: #bfdbfe;
    background: rgba(30, 64, 175, 0.24);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 0.6rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.profile-board__empty {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 2.2rem 1rem 1.9rem;
    text-align: center;
}

.profile-board__empty span {
    color: #64748b;
    font-size: 3rem;
    line-height: 1;
}

.profile-board__empty h2 {
    margin: 0;
    color: #e2e8f0;
    font-size: 2rem;
}

.profile-board__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 1rem;
}
.profile-active-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.profile-trade-card {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
}
.profile-trade-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
}
.profile-trade-card__header strong {
    display: block;
    color: #f8fafc;
    font-size: 0.98rem;
}
.profile-trade-card__header small {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
}
.profile-trade-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
}
.profile-trade-card__arrow {
    color: #64748b;
    font-size: 1.2rem;
}
.profile-trade-side {
    min-width: 0;
}
.profile-trade-side h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin: 0 0 0.45rem;
    color: #dbeafe;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.profile-trade-side h3 span {
    color: #8b5cf6;
    font-size: 0.8rem;
}
.profile-trade-side .trade-item-grid {
    gap: 0.3rem;
}
.profile-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.2rem, 1fr));
    gap: 0.45rem;
}
.profile-wishlist-card {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
    padding: 0.38rem;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
}
.profile-wishlist-card__art {
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 0.42rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.profile-wishlist-card__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.22rem;
    background: rgba(2, 6, 23, 0.18);
}
.profile-wishlist-card__art--portal { background: linear-gradient(135deg, #0ea5e9, #6366f1 52%, #67e8f9); }
.profile-wishlist-card__art--blizzard { background: linear-gradient(135deg, #93c5fd, #0ea5e9); }
.profile-wishlist-card__art--dragon { background: linear-gradient(135deg, #ef4444, #8b5cf6 58%, #38bdf8); }
.profile-wishlist-card__art--kitsune { background: linear-gradient(140deg, #06b6d4, #3b82f6 58%, #8b5cf6); }
.profile-wishlist-card__art--leopard { background: linear-gradient(140deg, #f59e0b, #fb7185 58%, #d946ef); }
.profile-wishlist-card__art--shadow { background: linear-gradient(140deg, #020617, #4338ca 58%, #e11d48); }
.profile-wishlist-card__art--bat { background: linear-gradient(140deg, #f97316, #ef4444 58%, #8b5cf6); }
.profile-wishlist-card__art--giraffe { background: linear-gradient(140deg, #f59e0b, #fde68a 58%, #92400e); }
.profile-wishlist-card__art--owl { background: linear-gradient(135deg, #92400e, #fbbf24 52%, #fef3c7); }
.profile-wishlist-card__art--cow { background: linear-gradient(135deg, #f9a8d4, #d946ef); }
.profile-wishlist-card__art--turtle { background: linear-gradient(135deg, #065f46, #14b8a6); }
.profile-wishlist-card__art--limited { background: linear-gradient(135deg, #0f172a, #475569 52%, #f8fafc); }
.profile-wishlist-card__art--ugc { background: linear-gradient(140deg, #6d28d9, #db2777 58%, #f9a8d4); }
.profile-wishlist-card__art--gear { background: linear-gradient(135deg, #334155, #64748b 52%, #cbd5e1); }
.profile-wishlist-card__art--pass { background: linear-gradient(135deg, #14532d, #22c55e 52%, #bbf7d0); }
.profile-wishlist-card__art--default { background: linear-gradient(135deg, #1d4ed8, #7c3aed 52%, #38bdf8); }
.profile-wishlist-card strong {
    color: #f1f5f9;
    font-size: 0.74rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-wishlist-card b {
    color: #f8fafc;
    font-size: 0.78rem;
    line-height: 1;
}
.profile-wishlist-card small {
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-history__empty {
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.55rem;
}
.profile-history__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 700;
}

.profile-history {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.35rem;
}

.profile-history__panel {
    min-width: 0;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
    overflow: visible;
}

.profile-history__panel h3 {
    margin: 0 0 0.65rem;
    color: #f1f5f9;
    font-size: 1.15rem;
}

.profile-history__panel > div {
    display: grid;
    gap: 0.45rem;
    overflow: visible;
}

.profile-history__panel > div > div {
    display: grid;
    gap: 0.15rem;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.55rem;
    overflow: visible;
}

/* Keep profile trade tooltips above surrounding cards/panels */
.profile-page [data-profile-panel],
.profile-page .profile-active-list,
.profile-page .trade-listings,
.profile-page .trade-listing,
.profile-page .trade-windows,
.profile-page .trade-window,
.profile-page .trade-item-grid {
    overflow: visible !important;
}

.profile-page .trade-listing {
    position: relative;
    isolation: isolate;
    z-index: 1;
}

.profile-page .trade-listing:hover,
.profile-page .trade-listing:focus-within {
    z-index: 90;
}

.profile-page .market-item {
    position: relative;
    z-index: 1;
}

.profile-page .market-item .item-tooltip {
    z-index: 120 !important;
}

/* Ensure profile listing item images render reliably */
.profile-page .market-item__image {
    position: absolute;
    inset: 0.38rem;
    z-index: 1;
    display: block;
    width: calc(100% - 0.76rem);
    height: calc(100% - 0.76rem);
    object-fit: contain;
    border-radius: 0.45rem;
    background: rgba(15, 23, 42, 0.14);
}

.profile-history__panel strong {
    color: #e2e8f0;
    font-size: 0.92rem;
}

.profile-history__panel small {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
}

.trader-profile__link {
    color: inherit;
    text-decoration: none;
}

.trader-profile__link:hover {
    text-decoration: underline;
}

@media (max-width: 1040px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-hero__identity {
        justify-items: start;
    }

    .profile-stats,
    .profile-history {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-trade-card__body {
        grid-template-columns: 1fr;
    }

    .profile-trade-card__arrow {
        display: none;
    }
}

@media (max-width: 680px) {
    .profile-stats,
    .profile-history {
        grid-template-columns: 1fr;
    }

    .profile-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-board__top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Mobile hardening */
@media (max-width: 760px) {
    .game-shell-page {
        padding: 0.75rem;
        padding-bottom: calc(5.9rem + env(safe-area-inset-bottom, 0px));
    }

    .game-shell-page .game-shell-topbar {
        position: sticky;
        top: 0.5rem;
        z-index: 4300;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        min-height: 0;
        gap: 0.45rem;
        padding: 0.6rem;
        border-radius: 0.75rem;
    }

    .game-shell-page .game-shell-mobile-toggle {
        display: inline-flex;
    }

    .game-shell-page .game-shell-brand strong {
        font-size: 1.55rem;
    }

    .game-shell-page .game-shell-brand span {
        min-height: 1.18rem;
        font-size: 0.62rem;
    }

    .game-shell-page .game-shell-search {
        display: none;
    }

    .game-shell-page .game-shell-topbar-spacer {
        display: none;
    }

    .game-shell-page .game-shell-actions {
        display: flex;
        justify-content: flex-end;
        width: auto;
        gap: 0;
    }

    .game-shell-page .game-shell-actions > :not(.game-shell-roblox-login) {
        display: none !important;
    }

    .game-shell-page .game-shell-roblox-login {
        display: inline-flex;
        min-height: 2.1rem;
        align-items: center;
        justify-content: center;
        padding: 0 0.65rem;
        color: #ffffff;
        background: rgba(17, 21, 29, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 0.45rem;
        font-size: 0.72rem;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
    }

    .game-shell-page .game-shell-links {
        grid-template-columns: 1fr;
    }

    .game-shell-page .game-shell-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(84vw, 18rem);
        margin: 0;
        padding: 5rem 0.7rem 1rem;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: 0;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        z-index: 4200;
    }

    .game-shell-page .game-shell-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 4100;
        border: 0;
        background: rgba(2, 6, 23, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .game-shell-page .game-shell-mobile-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 4400;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.2rem;
        padding: 0.38rem 0.42rem calc(0.38rem + env(safe-area-inset-bottom, 0px));
        background: rgba(5, 9, 20, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
    }

    .game-shell-page .game-shell-mobile-dock a {
        display: grid;
        justify-items: center;
        gap: 0.18rem;
        min-height: 3.05rem;
        align-content: center;
        color: #cbd5e1;
        text-decoration: none;
        border-radius: 0.55rem;
        font-weight: 700;
    }

    .game-shell-page .game-shell-mobile-dock a span {
        font-size: 1.05rem;
        line-height: 1;
    }

    .game-shell-page .game-shell-mobile-dock a b {
        font-size: 0.72rem;
        line-height: 1;
    }

    .game-shell-page .game-shell-mobile-dock a.is-active {
        color: #ffffff;
        background: rgba(67, 97, 238, 0.24);
    }

    .game-shell-page.is-nav-open {
        overflow: hidden;
    }

    .game-shell-page.is-nav-open .game-shell-sidebar {
        transform: translateX(0);
    }

    .game-shell-page.is-nav-open .game-shell-mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .profile-hero {
        padding: 0.8rem;
    }

    .profile-hero__avatar {
        width: 6.8rem;
        height: 6.8rem;
    }

    .profile-board {
        padding: 0.75rem;
    }

    .profile-board__tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.1rem;
    }

    .profile-board__tabs button {
        flex: 0 0 auto;
        min-height: 2.2rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .profile-board__sort {
        min-height: 2.2rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.86rem;
    }

    .profile-page .trade-listings__header {
        display: none;
    }

    .profile-page .trade-listing {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        min-width: 0;
        min-height: 0;
        padding: 0.75rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .profile-page .trade-listing::after {
        grid-column: 1;
        justify-self: start;
        padding: 0.15rem 0.45rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .profile-page .trade-listing__header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .profile-page .trade-windows {
        display: grid;
        gap: 0.5rem;
    }

    .profile-page .trade-window--looking,
    .profile-page .trade-window--offering {
        grid-column: 1;
        width: 100%;
    }

    .profile-page .trade-item-grid {
        grid-template-columns: repeat(auto-fill, minmax(2.9rem, 1fr));
        grid-auto-rows: 2.9rem;
        width: 100%;
        max-width: none;
        gap: 0.28rem;
    }

    .profile-level-indicator--hero {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }

    .profile-page .market-item {
        width: 2.9rem;
        min-width: 2.9rem;
        min-height: 2.9rem;
    }
}

.game-shell-announcement {
    width: 100%;
    max-width: 76rem;
    margin: 0.15rem auto 0.7rem;
    padding: 0.45rem 0.7rem;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}
