/*
 * E-MU Launcher V12 — final readability and layout pass.
 * Loaded after app.css / launcher.css and intentionally acts as the single
 * final override layer. All text sizes use whole pixels to render cleanly in
 * Qt WebEngine and Chromium at common Windows display scaling values.
 */

:root {
    --ui-bg: #080a0f;
    --ui-panel: rgba(15, 18, 25, .96);
    --ui-panel-soft: rgba(20, 23, 31, .93);
    --ui-panel-hover: rgba(25, 29, 39, .97);
    --ui-border: rgba(255, 255, 255, .11);
    --ui-border-strong: rgba(255, 255, 255, .19);
    --ui-text: #f4f6f8;
    --ui-copy: #d0d5dd;
    --ui-muted: #a5adb9;
    --ui-dim: #7f8794;
    --ui-gold: #e3a943;
    --ui-gold-light: #f5c66d;
    --ui-green: #35b66f;
    --ui-discord: #5865f2;
    --ui-radius-sm: 10px;
    --ui-radius: 14px;
    --ui-radius-lg: 18px;
    --ui-shadow: 0 18px 48px rgba(0, 0, 0, .30);
    --ui-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html,
body,
button,
input,
textarea,
select,
a {
    font-family: var(--ui-font);
    text-rendering: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    font-kerning: normal;
}

body {
    color: var(--ui-text);
}

button,
input,
textarea,
select {
    letter-spacing: normal;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(245, 198, 109, .92);
    outline-offset: 2px;
}

::selection {
    color: #1b1206;
    background: var(--ui-gold-light);
}

/* Blur on a parent forces Qt/Chromium to composite its text into a texture.
   Removing it keeps glyphs sharp, especially at 125% and 150% scaling. */
.launcher-body *,
.eauth-body * {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.launcher-body {
    color: var(--ui-text);
    font-size: 14px;
    line-height: 1.5;
}

.launcher-body .launcher-bg,
.eauth-body .eauth-bg {
    filter: saturate(.88) brightness(.76);
}

.launcher-body .launcher-shade {
    background:
        radial-gradient(circle at 35% 36%, rgba(10, 12, 18, .22), rgba(5, 7, 11, .72) 70%),
        linear-gradient(90deg, rgba(5, 7, 11, .88), rgba(6, 8, 13, .48) 48%, rgba(4, 6, 10, .92));
}

/* ---------- Global launcher shell ---------- */
.launcher-body .launcher-stage {
    grid-template-rows: 76px minmax(0, 1fr) 30px;
}

.launcher-body .launcher-main {
    gap: 20px;
    padding: 14px 24px 10px;
}

.launcher-body.without-launcher-chat .launcher-main {
    grid-template-columns: minmax(0, 1fr) !important;
}

.launcher-body .launcher-page-area,
.launcher-body .launcher-page-content {
    min-width: 0;
    min-height: 0;
}

.launcher-body .launcher-content-page {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
    padding: 18px 32px 10px;
}

.launcher-body .launcher-page-hero {
    min-height: 108px;
    align-items: flex-start;
}

.launcher-body .launcher-page-intro {
    width: min(720px, 100%);
    max-width: 720px;
}

.launcher-body .launcher-page-kicker,
.launcher-body .home-kicker,
.launcher-body .page-kicker {
    min-height: 14px;
    gap: 9px;
    color: var(--ui-gold-light);
    font-size: 11px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: .10em;
}

.launcher-body .launcher-page-kicker i,
.launcher-body .home-kicker i,
.launcher-body .page-kicker i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
}

.launcher-body .launcher-page-title,
.launcher-body .home-copy h1,
.launcher-body .rankings-hero h1,
.launcher-body .market-hero h1,
.launcher-body .guides-hero h1,
.launcher-body .donate-hero h1 {
    margin: 14px 0 10px;
    color: #f7f8fa;
    font-size: clamp(48px, 4.7vw, 64px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.045em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.launcher-body .launcher-page-description,
.launcher-body .home-copy > p,
.launcher-body .rankings-hero p,
.launcher-body .market-hero p,
.launcher-body .guides-hero p,
.launcher-body .donate-hero p {
    width: min(700px, 100%);
    max-width: 700px;
    margin: 0;
    color: var(--ui-copy);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.launcher-body .launcher-sync-state {
    min-width: 250px;
    height: 48px;
    border-color: var(--ui-border);
    background: rgba(14, 17, 24, .97);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .035);
}

.launcher-body .launcher-sync-state:hover {
    border-color: var(--ui-border-strong);
    background: #171b24;
}

.launcher-body .launcher-sync-copy small {
    color: #8f98a7;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: .08em;
}

.launcher-body .launcher-sync-copy b {
    margin-top: 2px;
    color: #eef1f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
}

.launcher-body .launcher-sync-percent {
    font-size: 11px;
    font-weight: 700;
}

.launcher-body .launcher-account-avatar {
    border-color: var(--ui-border);
    background: rgba(14, 17, 24, .97);
}

.launcher-body .launcher-account-avatar:hover {
    border-color: rgba(245, 198, 109, .42);
    background: #171b24;
}

.launcher-body .launcher-account-popover,
.launcher-body .eauth-drawer,
.launcher-body .settings-modal,
.launcher-body .news-modal,
.launcher-body .system-status-modal,
.launcher-body .guide-modal {
    border-color: var(--ui-border-strong);
    background: #12151c;
    box-shadow: 0 26px 72px rgba(0, 0, 0, .52);
}

.launcher-body .launcher-account-profile b,
.launcher-body .launcher-account-action b {
    color: #f0f2f5;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .launcher-account-profile small,
.launcher-body .launcher-account-action small {
    color: var(--ui-muted);
    font-size: 11px;
    line-height: 15px;
}

.launcher-body .launcher-account-logout {
    font-size: 12px;
    font-weight: 600;
}

.launcher-body .launcher-footer {
    color: #747d8a;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: .03em;
}

/* ---------- Dashboard ---------- */
.launcher-body .home-experience.launcher-content-page {
    max-width: none;
    padding: 24px clamp(26px, 4vw, 58px) 0;
}

.launcher-body .home-copy {
    width: min(760px, 100%);
}

.launcher-body .home-copy h1 {
    font-size: clamp(54px, 5.6vw, 78px);
}

.launcher-body .home-actions {
    gap: 12px;
    margin-top: 22px;
}

.launcher-body .home-play,
.launcher-body .home-player-status {
    border-radius: 13px;
    transform: none !important;
}

.launcher-body .home-play {
    min-width: 176px;
    height: 56px;
    background: linear-gradient(135deg, #f5c66d, #df9e34);
    box-shadow: 0 14px 34px rgba(189, 121, 28, .25), inset 0 1px rgba(255, 255, 255, .35);
}

.launcher-body .home-play:hover {
    filter: brightness(1.04);
}

.launcher-body .home-play-copy b {
    font-size: 15px;
    font-weight: 800;
    line-height: 17px;
    letter-spacing: .03em;
}

.launcher-body .home-play-copy small,
.launcher-body .home-player-status-copy small {
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .07em;
}

.launcher-body .home-player-status {
    height: 56px;
    border-color: var(--ui-border);
    background: rgba(15, 18, 25, .97);
}

.launcher-body .home-player-status:hover {
    border-color: rgba(245, 198, 109, .31);
    background: #171b24;
}

.launcher-body .home-player-status-copy strong {
    color: #f0f2f5;
    font-size: 15px;
    font-weight: 700;
}

.launcher-body .news-slider {
    margin-top: 20px;
    height: min(33vh, 310px);
    min-height: 240px;
    border-color: var(--ui-border);
    background: rgba(13, 16, 22, .97);
    box-shadow: var(--ui-shadow);
}

.launcher-body .news-slide-media img,
.launcher-body .news-slide:hover .news-slide-media img {
    transform: none;
}

.launcher-body .news-slide-copy > span,
.launcher-body .news-slide-date {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.launcher-body .news-slide-copy h3 {
    color: #f5f6f8;
    font-size: 22px;
    font-weight: 700;
    line-height: 27px;
}

.launcher-body .news-slide-copy p {
    color: #c9ced6;
    font-size: 13px;
    line-height: 20px;
}

.launcher-body .news-slide-copy em {
    font-size: 12px;
    font-weight: 600;
}

.launcher-body .launcher-license-bar {
    height: 32px;
    flex: 0 0 32px;
    color: var(--ui-muted);
}

.launcher-body .launcher-license-copy small,
.launcher-body .launcher-license-expiry small {
    color: #8992a0;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .07em;
}

.launcher-body .launcher-license-copy strong,
.launcher-body .launcher-license-expiry b {
    color: #c4cad3;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
}

.launcher-body .launcher-license-bar > em {
    color: #8f98a5;
    font-size: 10px;
    font-weight: 600;
}

/* ---------- Chat ---------- */
.launcher-body .launcher-chat {
    border-color: var(--ui-border);
    background: rgba(13, 16, 22, .98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .30);
}

.launcher-body .launcher-chat-head,
.launcher-body .launcher-chat-form {
    border-color: var(--ui-border);
}

.launcher-body .launcher-chat-title small {
    color: #919aa8;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .08em;
}

.launcher-body .launcher-chat-title strong {
    color: #f1f3f6;
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
}

.launcher-body .launcher-chat-presence,
.launcher-body .launcher-chat-online span {
    color: var(--ui-muted);
    font-size: 11px;
    line-height: 15px;
}

.launcher-body .launcher-chat-online b {
    color: #eef1f5;
    font-size: 12px;
    font-weight: 700;
}

.launcher-body .chat-message-meta b {
    color: #f0f2f5;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .chat-message-meta time {
    color: #8a93a1;
    font-size: 10px;
    font-weight: 500;
}

.launcher-body .chat-message-text {
    color: #d2d7df;
    font-size: 13px;
    line-height: 19px;
}

.launcher-body .chat-react-count {
    font-size: 10px;
    font-weight: 700;
}

.launcher-body .launcher-chat-input-wrap textarea {
    color: #f0f2f5;
    font-size: 13px;
    line-height: 19px;
}

.launcher-body .launcher-chat-input-wrap textarea::placeholder {
    color: #858e9b;
}

.launcher-body .launcher-chat-input-wrap > span {
    color: #737c89;
    font-size: 9px;
}

.launcher-body .launcher-chat-note {
    color: #858e9b;
    font-size: 10px;
    line-height: 14px;
}

.launcher-body .chat-system-note {
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 18px;
}

/* ---------- Shared secondary-page panels ---------- */
.launcher-body .rankings-updated,
.launcher-body .market-preview-state,
.launcher-body .guides-hero-stat,
.launcher-body .donate-preview-state {
    border-color: var(--ui-border);
    background: rgba(15, 18, 25, .97);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

.launcher-body .rankings-updated small,
.launcher-body .market-preview-state small,
.launcher-body .guides-hero-stat small,
.launcher-body .donate-preview-state small {
    color: #8c95a3;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .08em;
}

.launcher-body .rankings-updated b,
.launcher-body .market-preview-state strong,
.launcher-body .guides-hero-stat strong,
.launcher-body .donate-preview-state strong {
    color: #eef1f5;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.launcher-body .rankings-updated span,
.launcher-body .market-preview-state em,
.launcher-body .guides-hero-stat span,
.launcher-body .donate-preview-state em {
    color: var(--ui-muted);
    font-size: 10px;
    line-height: 14px;
}

/* ---------- Rankings ---------- */
.launcher-body .rankings-page {
    max-width: 1280px;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
}

.launcher-body .rankings-hero {
    align-items: center;
}

.launcher-body .rankings-updated {
    min-width: 150px;
    padding: 12px 14px;
    border-radius: 12px;
}

.launcher-body .rankings-toolbar {
    min-height: 46px;
}

.launcher-body .ranking-tabs {
    gap: 4px;
    padding: 4px;
    border-color: var(--ui-border);
    background: rgba(15, 18, 25, .97);
}

.launcher-body .ranking-tabs button {
    height: 34px;
    padding: 0 14px;
    color: #a8b0bc;
    font-size: 12px;
    font-weight: 600;
    transform: none !important;
}

.launcher-body .ranking-tabs button:hover {
    color: #f1f3f6;
    background: rgba(255, 255, 255, .055);
}

.launcher-body .ranking-tabs button.is-active {
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
}

.launcher-body .ranking-search,
.launcher-body .ranking-refresh {
    height: 40px;
    border-color: var(--ui-border);
    background: rgba(15, 18, 25, .97);
}

.launcher-body .ranking-search {
    min-width: 240px;
}

.launcher-body .ranking-search span {
    color: #8d96a4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
}

.launcher-body .ranking-search input,
.launcher-body .ranking-refresh {
    color: #e1e5eb;
    font-size: 12px;
    font-weight: 500;
}

.launcher-body .ranking-search input::placeholder {
    color: #7c8592;
}

.launcher-body .ranking-podium {
    min-height: 96px;
    gap: 10px;
}

.launcher-body .ranking-podium-card,
.launcher-body .ranking-table-shell {
    border-color: var(--ui-border);
    background: rgba(13, 16, 22, .97);
}

.launcher-body .ranking-podium-card {
    padding: 14px 14px 14px 54px;
}

.launcher-body .ranking-podium-card strong {
    color: #f0f2f5;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .ranking-podium-card small {
    color: var(--ui-muted);
    font-size: 11px;
}

.launcher-body .ranking-table-shell {
    border-radius: 14px;
    box-shadow: var(--ui-shadow);
}

.launcher-body .ranking-table thead {
    background: #171a22;
}

.launcher-body .ranking-table th {
    height: 42px;
    padding: 0 15px;
    color: #9aa3b0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.launcher-body .ranking-table td {
    height: 48px;
    padding: 0 15px;
    color: #c5cbd4;
    font-size: 12px;
}

.launcher-body .ranking-name b {
    color: #eef1f4;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .ranking-name i {
    font-size: 10px;
    font-weight: 700;
}

.launcher-body .ranking-empty strong {
    color: #eef1f4;
    font-size: 15px;
}

.launcher-body .ranking-empty p {
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 18px;
}

/* ---------- Market ---------- */
.launcher-body .market-page {
    max-width: 1280px;
    gap: 12px;
    overflow: hidden;
}

.launcher-body .market-hero {
    align-items: center;
}

.launcher-body .market-toolbar,
.launcher-body .market-search,
.launcher-body .market-sort,
.launcher-body .market-listings-panel,
.launcher-body .market-detail-card,
.launcher-body .market-item {
    border-color: var(--ui-border);
}

.launcher-body .market-toolbar,
.launcher-body .market-listings-panel,
.launcher-body .market-detail-card {
    background: rgba(13, 16, 22, .97);
}

.launcher-body .market-tabs button {
    height: 36px;
    padding: 0 14px;
    color: #a7afbb;
    font-size: 11px;
    font-weight: 600;
    transform: none !important;
}

.launcher-body .market-tabs button:hover {
    color: #f0f2f5;
}

.launcher-body .market-tabs button.is-active {
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
}

.launcher-body .market-search,
.launcher-body .market-sort {
    height: 40px;
    background: #151820;
}

.launcher-body .market-search small,
.launcher-body .market-sort small,
.launcher-body .market-panel-head small,
.launcher-body .market-detail-head small,
.launcher-body .market-detail-visual span,
.launcher-body .market-item-copy small {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .06em;
}

.launcher-body .market-search input,
.launcher-body .market-sort select {
    color: #dfe3e9;
    font-size: 12px;
    font-weight: 500;
}

.launcher-body .market-search input::placeholder {
    color: #7b8491;
}

.launcher-body .market-panel-head h2 {
    color: #f0f2f5;
    font-size: 16px;
    font-weight: 700;
}

.launcher-body .market-panel-head > span {
    color: var(--ui-muted);
    font-size: 11px;
}

.launcher-body .market-layout {
    gap: 12px;
}

.launcher-body .market-listings-panel,
.launcher-body .market-detail-card {
    border-radius: 14px;
    box-shadow: var(--ui-shadow);
}

.launcher-body .market-grid {
    gap: 9px;
}

.launcher-body .market-item {
    min-height: 100px;
    background: #151820;
    transform: none !important;
    transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.launcher-body .market-item:hover,
.launcher-body .market-item:focus-visible {
    border-color: rgba(245, 198, 109, .34);
    background: #1a1e27;
}

.launcher-body .market-item.is-active {
    border-color: rgba(245, 198, 109, .62);
    background: linear-gradient(120deg, rgba(100, 68, 27, .32), #171a22 68%);
}

.launcher-body .market-item-copy strong {
    color: #f0f2f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
}

.launcher-body .market-item-copy em {
    color: var(--ui-muted);
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .market-item-foot > span {
    color: #9099a6;
    font-size: 10px;
}

.launcher-body .market-item-foot > strong {
    color: var(--ui-gold-light);
    font-size: 12px;
    font-weight: 700;
}

.launcher-body .market-item-foot > strong small {
    color: #a48a5c;
    font-size: 9px;
}

.launcher-body .market-detail-head h2 {
    color: #f3f4f6;
    font-size: 18px;
    font-weight: 700;
}

.launcher-body .market-detail-head p {
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 18px;
}

.launcher-body .market-detail-meta {
    border-color: var(--ui-border);
    background: #151820;
}

.launcher-body .market-detail-meta p,
.launcher-body .market-detail-meta b {
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .market-detail-meta p {
    color: #929ba8;
}

.launcher-body .market-detail-meta b {
    color: #d3d8df;
    font-weight: 600;
}

.launcher-body .market-detail-price small,
.launcher-body .market-detail-price em {
    color: #929ba8;
    font-size: 10px;
    line-height: 14px;
}

.launcher-body .market-detail-price strong {
    color: var(--ui-gold-light);
    font-size: 18px;
}

.launcher-body .market-preview-buy {
    min-height: 42px;
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
    font-size: 12px;
    font-weight: 700;
}

.launcher-body .market-preview-note {
    color: #9aa3af;
    font-size: 10px;
    line-height: 16px;
}

/* ---------- Guides ---------- */
.launcher-body .guides-page {
    max-width: 1280px;
    gap: 12px;
    overflow: hidden;
}

.launcher-body .guides-hero {
    align-items: center;
}

.launcher-body .guides-search,
.launcher-body .guides-categories,
.launcher-body .guide-featured,
.launcher-body .guide-list-panel,
.launcher-body .guide-card {
    border-color: var(--ui-border);
}

.launcher-body .guides-search,
.launcher-body .guides-categories,
.launcher-body .guide-featured,
.launcher-body .guide-list-panel {
    background: rgba(13, 16, 22, .97);
}

.launcher-body .guides-search {
    height: 40px;
}

.launcher-body .guides-search span {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.launcher-body .guides-search input {
    color: #dfe3e9;
    font-size: 12px;
}

.launcher-body .guides-search input::placeholder {
    color: #7b8491;
}

.launcher-body .guides-categories button {
    height: 36px;
    padding: 0 13px;
    color: #a7afbb;
    font-size: 11px;
    font-weight: 600;
    transform: none !important;
}

.launcher-body .guides-categories button:hover {
    color: #f0f2f5;
}

.launcher-body .guides-categories button.is-active {
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
}

.launcher-body .guides-content {
    gap: 12px;
}

.launcher-body .guide-featured,
.launcher-body .guide-list-panel {
    border-radius: 14px;
    box-shadow: var(--ui-shadow);
}

.launcher-body .guide-featured-copy > span,
.launcher-body .guide-list-head small,
.launcher-body .guide-card small {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .06em;
}

.launcher-body .guide-featured h2 {
    color: #f2f4f6;
    font-size: 23px;
    font-weight: 700;
    line-height: 26px;
}

.launcher-body .guide-featured p {
    color: #c0c6cf;
    font-size: 12px;
    line-height: 19px;
}

.launcher-body .guide-featured button {
    color: var(--ui-gold-light);
    font-size: 11px;
    font-weight: 700;
    transform: none !important;
}

.launcher-body .guide-featured-steps small {
    color: #a6aeba;
    font-size: 10px;
}

.launcher-body .guide-list-head h2 {
    color: #f0f2f5;
    font-size: 17px;
    font-weight: 700;
}

.launcher-body .guide-list-head > span {
    color: var(--ui-muted);
    font-size: 11px;
}

.launcher-body .guide-card-grid {
    gap: 9px;
}

.launcher-body .guide-card {
    min-height: 92px;
    background: #151820;
    transform: none !important;
}

.launcher-body .guide-card:hover {
    border-color: rgba(245, 198, 109, .30);
    background: #1a1e27;
}

.launcher-body .guide-card-index {
    color: rgba(245, 198, 109, .72);
    font-size: 21px;
    font-weight: 800;
}

.launcher-body .guide-card h3 {
    color: #eef1f4;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
}

.launcher-body .guide-card p {
    color: #aeb5c0;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .guides-empty strong {
    color: #eef1f4;
    font-size: 15px;
}

.launcher-body .guides-empty p {
    color: var(--ui-muted);
    font-size: 12px;
}

/* ---------- Donate: rebuilt spacing and hierarchy ---------- */
.launcher-body .donate-page {
    max-width: 1280px;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
}

.launcher-body .donate-hero {
    min-height: 102px;
    align-items: center;
}

.launcher-body .donate-hero-copy {
    max-width: 720px;
}

.launcher-body .donate-preview-state {
    width: 210px;
    min-height: 62px;
    padding: 12px 14px;
    border-color: rgba(53, 182, 111, .25);
    background: #101b18;
}

.launcher-body .donate-preview-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.launcher-body .donate-steps {
    min-height: 60px;
    padding: 5px 8px;
    border-color: var(--ui-border);
    border-radius: 14px;
    background: rgba(13, 16, 22, .97);
}

.launcher-body .donate-steps button {
    min-height: 48px;
    padding: 0 10px;
    border-radius: 10px;
    transform: none !important;
}

.launcher-body .donate-steps button > span {
    font-size: 11px;
    font-weight: 700;
}

.launcher-body .donate-steps button b {
    color: #d2d7df;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.launcher-body .donate-steps button small {
    color: #949daa;
    font-size: 10px;
    line-height: 14px;
}

.launcher-body .donate-steps button.is-active b {
    color: #f1f3f6;
}

.launcher-body .donate-wizard {
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: 16px;
    background: rgba(13, 16, 22, .98);
    box-shadow: var(--ui-shadow);
}

.launcher-body .donate-step-panel,
.launcher-body .donate-step-panel[data-donate-step="1"] {
    height: 100%;
    min-height: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.launcher-body .donate-step-panel[hidden] {
    display: none !important;
}

.launcher-body .donate-panel-head {
    min-height: 58px;
    padding: 0;
    align-items: flex-start;
}

.launcher-body .donate-panel-head small,
.launcher-body .donate-checkout-head small,
.launcher-body .donate-package-top small,
.launcher-body .donate-package-top em,
.launcher-body .donate-selected-package small,
.launcher-body .donate-review-action > small {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: .07em;
}

.launcher-body .donate-panel-head h2,
.launcher-body .donate-checkout-head h2 {
    margin-top: 4px;
    color: #f1f3f6;
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
}

.launcher-body .donate-panel-head p {
    margin-top: 6px;
    color: #aeb5c0;
    font-size: 12px;
    line-height: 18px;
}

.launcher-body .donate-panel-head > span,
.launcher-body .donate-back-link {
    color: #a4acb8;
    font-size: 11px;
    font-weight: 600;
}

.launcher-body .donate-package-grid {
    margin-top: 0;
    align-self: stretch !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.launcher-body .donate-package {
    min-height: 220px;
    padding: 18px 17px 56px;
    border-color: var(--ui-border);
    border-radius: 14px;
    background: #151820;
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    transform: none !important;
}

.launcher-body .donate-package:hover {
    border-color: rgba(245, 198, 109, .34);
    background: #1a1e27;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
}

.launcher-body .donate-package.is-active {
    border-color: rgba(245, 198, 109, .64);
    background: linear-gradient(145deg, rgba(91, 62, 25, .48), #171a22 66%);
    box-shadow: 0 0 0 2px rgba(245, 198, 109, .08);
}

.launcher-body .donate-package-ribbon {
    top: 12px;
    right: -24px;
    width: 90px;
    padding: 4px 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
}

.launcher-body .donate-package > strong {
    margin-top: 25px;
    color: #f4f5f7;
    font-size: 36px;
    font-weight: 800;
    line-height: 38px;
    letter-spacing: -.03em;
}

.launcher-body .donate-package-unit {
    margin-top: 4px;
    color: #a5adb9;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
}

.launcher-body .donate-package > b {
    margin-top: 16px;
    color: var(--ui-gold-light);
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.launcher-body .donate-package > i {
    margin-top: 5px;
    color: #a4acb8;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .donate-package-select {
    left: 17px;
    right: 17px;
    bottom: 15px;
    height: 34px;
    border-color: var(--ui-border);
    color: #b4bbc5;
    background: #191d26;
    font-size: 11px;
    font-weight: 600;
}

.launcher-body .donate-package.is-active .donate-package-select {
    border-color: transparent;
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
}

.launcher-body .donate-package-note {
    margin-top: auto;
    padding: 11px 13px;
    border-color: rgba(53, 182, 111, .20);
    background: #101916;
}

.launcher-body .donate-package-note p {
    color: #aab2bd;
    font-size: 11px;
    line-height: 17px;
}

.launcher-body .donate-package-note b {
    color: #d9dde3;
    font-weight: 600;
}

.launcher-body .donate-payment-grid {
    margin-top: 0;
    gap: 12px;
}

.launcher-body .donate-payment-card {
    min-height: 170px;
    border-color: var(--ui-border);
    background: #151820;
    transform: none !important;
}

.launcher-body .donate-payment-card:hover {
    border-color: rgba(88, 101, 242, .42);
    background: #1a1e27;
}

.launcher-body .donate-payment-card b {
    color: #f0f2f5;
    font-size: 14px;
    font-weight: 700;
}

.launcher-body .donate-payment-card small {
    color: #aab2bd;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .donate-payment-card em {
    color: #9aa3af;
    font-size: 11px;
    font-weight: 600;
}

.launcher-body .donate-security-row {
    margin-top: auto;
    gap: 10px;
}

.launcher-body .donate-security-row article {
    border-color: var(--ui-border);
    background: #151820;
}

.launcher-body .donate-security-row b {
    color: #d5dae1;
    font-size: 12px;
    font-weight: 600;
}

.launcher-body .donate-security-row small {
    color: #9fa7b3;
    font-size: 10px;
    line-height: 15px;
}

.launcher-body .donate-review-layout {
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
}

.launcher-body .donate-review-card,
.launcher-body .donate-review-action {
    padding: 18px;
    border-color: var(--ui-border);
    background: #151820;
}

.launcher-body .donate-selected-package {
    border-color: rgba(245, 198, 109, .24);
    background: rgba(91, 62, 25, .26);
}

.launcher-body .donate-selected-package strong {
    color: #f0f2f5;
    font-size: 14px;
    font-weight: 700;
}

.launcher-body .donate-selected-package > b {
    color: var(--ui-gold-light);
    font-size: 12px;
    font-weight: 700;
}

.launcher-body .donate-summary-lines p,
.launcher-body .donate-summary-lines p b {
    font-size: 12px;
    line-height: 18px;
}

.launcher-body .donate-summary-lines p {
    color: #a4acb8;
}

.launcher-body .donate-summary-lines p b {
    color: #d9dde3;
    font-weight: 600;
}

.launcher-body .donate-summary-lines .donate-summary-total b {
    color: var(--ui-gold-light);
    font-size: 17px;
}

.launcher-body .donate-review-action h3 {
    color: #f0f2f5;
    font-size: 17px;
    font-weight: 700;
}

.launcher-body .donate-review-action p {
    color: #aab2bd;
    font-size: 11px;
    line-height: 17px;
}

.launcher-body .donate-checkout-button {
    min-height: 42px;
    color: #1d1407;
    background: linear-gradient(135deg, var(--ui-gold-light), #dc9a32);
    font-size: 12px;
    font-weight: 700;
}

.launcher-body .donate-start-over {
    color: #a4acb8;
    font-size: 11px;
    font-weight: 600;
}

/* ---------- Drawers, settings and other overlays ---------- */
.launcher-body .eauth-drawer-head h3,
.eauth-body .eauth-drawer-head h3 {
    color: #f0f2f5;
    font-size: 16px;
    font-weight: 700;
}

.launcher-body .eauth-drawer-head-sub,
.eauth-body .eauth-drawer-head-sub {
    color: var(--ui-muted);
    font-size: 11px;
}

.launcher-body .eauth-drawer-section-head,
.eauth-body .eauth-drawer-section-head {
    color: #b1b8c3;
    font-size: 11px;
    font-weight: 700;
}

.launcher-body .eauth-drawer-info b,
.launcher-body .drawer-list-copy b,
.eauth-body .eauth-drawer-info b,
.eauth-body .drawer-list-copy b {
    color: #eef1f4;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .eauth-drawer-info small,
.launcher-body .drawer-list-copy small,
.eauth-body .eauth-drawer-info small,
.eauth-body .drawer-list-copy small {
    color: var(--ui-muted);
    font-size: 11px;
}

.launcher-body .settings-modal-head-title small,
.launcher-body .system-status-head-title small,
.launcher-body .news-modal-body > small {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
}

.launcher-body .settings-modal-head-title h2,
.launcher-body .system-status-head-title h2 {
    color: #f1f3f6;
    font-size: 19px;
    font-weight: 700;
}

.launcher-body .settings-row-copy b {
    color: #eef1f4;
    font-size: 13px;
    font-weight: 600;
}

.launcher-body .settings-row-copy small {
    color: var(--ui-muted);
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .settings-select,
.launcher-body .settings-btn {
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Login ---------- */
.eauth-body {
    color: var(--ui-text);
    font-size: 14px;
}

.eauth-body .eauth-scrim {
    background:
        radial-gradient(circle at 50% 38%, rgba(7, 9, 14, .25), rgba(5, 7, 11, .68) 70%),
        linear-gradient(90deg, rgba(5, 7, 11, .78), rgba(6, 8, 13, .45) 45%, rgba(4, 6, 10, .78));
}

.eauth-body .eauth-card {
    width: min(410px, calc(100vw - 40px));
    padding: 30px 32px 27px;
    border-color: var(--ui-border-strong);
    background: #1a1d25;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .46);
}

.eauth-body .eauth-card h1 {
    color: #f5f6f8;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: -.02em;
}

.eauth-body .eauth-card .eauth-sub {
    color: #b7bec8;
    font-size: 14px;
    line-height: 20px;
}

.eauth-body .eauth-card .eauth-sub b {
    color: #f0f2f5;
    font-weight: 600;
}

.eauth-body .eauth-scopes {
    border-color: var(--ui-border);
    background: #11141a;
}

.eauth-body .eauth-scope > span:last-child {
    color: #d7dbe1;
    font-size: 13px;
    line-height: 18px;
}

.eauth-body .eauth-discord-btn {
    min-height: 48px;
    color: #fff;
    background: #5865f2;
    font-size: 14px;
    font-weight: 700;
    transform: none !important;
}

.eauth-body .eauth-discord-btn:hover {
    border: 0;
    color: #fff;
    background: #4752c4;
    box-shadow: 0 12px 28px rgba(88, 101, 242, .28);
}

.eauth-body .eauth-legal {
    color: #9aa3af;
    font-size: 11px;
    line-height: 17px;
}

.eauth-body .eauth-stats {
    border-color: var(--ui-border);
    background: #151820;
}

.eauth-body .eauth-stat {
    color: #b8c0ca;
    font-size: 12px;
}

.eauth-body .eauth-stat b {
    color: #f0f2f5;
    font-size: 13px;
    font-weight: 600;
}

.eauth-body .eauth-footer {
    color: #a0a8b4;
    font-size: 12px;
}

.eauth-body .eauth-drawer {
    border-color: var(--ui-border-strong);
    background: #12151c;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .launcher-body .launcher-main {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 16px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .launcher-body .launcher-content-page {
        padding-left: 22px;
        padding-right: 22px;
    }

    .launcher-body .market-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .launcher-body .guides-content {
        grid-template-columns: 230px minmax(0, 1fr);
    }
}

@media (max-width: 950px) {
    .launcher-body .launcher-stage {
        min-width: 0;
    }

    .launcher-body .launcher-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .launcher-body .launcher-chat {
        display: none;
    }

    .launcher-body .launcher-content-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .launcher-body .rankings-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .launcher-body .rankings-tools,
    .launcher-body .ranking-search {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .launcher-body .launcher-page-title,
    .launcher-body .home-copy h1,
    .launcher-body .rankings-hero h1,
    .launcher-body .market-hero h1,
    .launcher-body .guides-hero h1,
    .launcher-body .donate-hero h1 {
        font-size: 44px;
    }

    .launcher-body .rankings-updated,
    .launcher-body .market-preview-state,
    .launcher-body .guides-hero-stat,
    .launcher-body .donate-preview-state {
        display: none;
    }

    .launcher-body .market-layout,
    .launcher-body .donate-review-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .launcher-body .market-detail-card {
        display: none;
    }

    .launcher-body .donate-package-grid,
    .launcher-body .donate-payment-grid,
    .launcher-body .donate-security-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-height: 720px) {
    .launcher-body .launcher-stage {
        grid-template-rows: 70px minmax(0, 1fr) 26px;
    }

    .launcher-body .launcher-main {
        padding-top: 8px;
        padding-bottom: 6px;
    }

    .launcher-body .launcher-content-page {
        padding-top: 10px;
        padding-bottom: 6px;
    }

    .launcher-body .launcher-page-hero {
        min-height: 84px;
    }

    .launcher-body .launcher-page-title,
    .launcher-body .home-copy h1,
    .launcher-body .rankings-hero h1,
    .launcher-body .market-hero h1,
    .launcher-body .guides-hero h1,
    .launcher-body .donate-hero h1 {
        margin-top: 10px;
        margin-bottom: 7px;
        font-size: clamp(42px, 4.3vw, 54px);
    }

    .launcher-body .launcher-page-description,
    .launcher-body .home-copy > p,
    .launcher-body .rankings-hero p,
    .launcher-body .market-hero p,
    .launcher-body .guides-hero p,
    .launcher-body .donate-hero p {
        font-size: 12px;
        line-height: 18px;
    }

    .launcher-body .home-experience.launcher-content-page {
        padding-top: 16px;
    }

    .launcher-body .home-actions {
        margin-top: 16px;
    }

    .launcher-body .news-slider {
        min-height: 210px;
        height: min(31vh, 275px);
        margin-top: 16px;
    }

    .launcher-body .ranking-podium {
        display: none;
    }

    .launcher-body .rankings-page {
        grid-template-rows: auto auto minmax(0, 1fr);
        gap: 9px;
    }

    .launcher-body .market-page,
    .launcher-body .guides-page,
    .launcher-body .donate-page {
        gap: 8px;
    }

    .launcher-body .donate-hero {
        min-height: 82px;
    }

    .launcher-body .donate-steps {
        min-height: 54px;
    }

    .launcher-body .donate-steps button {
        min-height: 42px;
    }

    .launcher-body .donate-step-panel,
    .launcher-body .donate-step-panel[data-donate-step="1"] {
        padding: 14px;
        gap: 10px;
    }

    .launcher-body .donate-panel-head {
        min-height: 48px;
    }

    .launcher-body .donate-package {
        min-height: 194px;
        padding-top: 14px;
        padding-bottom: 50px;
    }

    .launcher-body .donate-package > strong {
        margin-top: 16px;
        font-size: 31px;
        line-height: 34px;
    }

    .launcher-body .donate-package > b {
        margin-top: 10px;
    }

    .launcher-body .donate-package-note,
    .launcher-body .donate-security-row {
        display: none;
    }

    .eauth-body .eauth-wrap {
        padding-top: 52px;
        padding-bottom: 48px;
    }
}

/* ========================================================================== 
   V12 final audit — crisp integer typography and overlooked interface states
   ========================================================================== */

/* Avoid fractional rasterisation on the largest, most visible headings. */
.launcher-body .launcher-page-title,
.launcher-body .home-copy h1,
.launcher-body .rankings-hero h1,
.launcher-body .market-hero h1,
.launcher-body .guides-hero h1,
.launcher-body .donate-hero h1 {
    font-size: 62px;
    font-weight: 800;
    line-height: 58px;
}

.launcher-body .home-copy h1 {
    font-size: 72px;
    line-height: 68px;
}

/* The detail column must scroll instead of cutting off its final text/action. */
.launcher-body .market-detail-card {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 16px;
}

/* Keep the first donation step balanced instead of leaving an accidental gap. */
.launcher-body .donate-step-panel[data-donate-step="1"] .donate-package-note {
    margin-top: auto;
}

/* Feature/placeholder screens. */
.launcher-body .feature-tags span {
    color: #b8c0cb;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
}

.launcher-body .feature-status-card small {
    color: #a0a8b4;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .feature-status-card strong {
    color: #f0f2f5;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

.launcher-body .feature-status-card p {
    color: #a9b0ba;
    font-size: 12px;
    line-height: 18px;
}

/* Settings modal. */
.launcher-body .settings-group-title {
    color: #a0a8b4;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .settings-row-copy b {
    color: #edf0f4;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
}

.launcher-body .settings-row-copy small {
    color: #9da5b1;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .settings-select,
.launcher-body .settings-btn {
    color: #d8dde4;
    font-size: 11px;
    font-weight: 600;
}

/* Chat reply metadata was still using 7–8.5 px in the original stylesheet. */
.launcher-body .chat-message-reply-ref small,
.launcher-body .chat-reply-compose small {
    color: #9099a7;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .chat-message-reply-ref b,
.launcher-body .chat-reply-compose b {
    color: #d4d8ff;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
}

.launcher-body .chat-message-reply-ref em,
.launcher-body .chat-reply-compose em {
    color: #a5acb7;
    font-size: 10px;
    line-height: 15px;
}

/* News reader typography. */
.launcher-body .news-modal-body > small {
    color: var(--ui-gold-light);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .news-modal-body h2 {
    color: #f4f5f7;
    font-size: 34px;
    font-weight: 700;
    line-height: 38px;
}

.launcher-body .news-modal-body > div {
    color: #d0d5dc;
    font-size: 14px;
    line-height: 22px;
}

.launcher-body .news-modal-body code {
    font-size: 12px;
    line-height: 18px;
}

/* System-status window and its tooltip. */
.launcher-body .system-status-head-title small {
    color: #9ca5b2;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .system-status-head-title h2 {
    color: #f0f2f5;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

.launcher-body .system-status-refresh {
    color: #d9dde3;
    font-size: 11px;
    font-weight: 600;
}

.launcher-body .system-status-overall strong {
    color: #edf0f4;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
}

.launcher-body .system-status-overall small {
    color: #a1a9b4;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .system-status-overall em {
    color: #8f98a5;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
}

.launcher-body .system-status-overall em span,
.launcher-body .system-status-rail-labels {
    color: #818a97;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
}

.launcher-body .system-status-component strong {
    color: #e9ecf1;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.launcher-body .system-status-current {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .system-status-row > p {
    color: #9da5b1;
    font-size: 11px;
    line-height: 17px;
}

.launcher-body .system-status-metric {
    color: #c2c8d0;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
}

.launcher-body .system-status-loading,
.launcher-body .ranking-loading {
    color: #a0a8b4;
    font-size: 11px;
    line-height: 16px;
}

.launcher-body .system-status-error p {
    color: #a1a9b4;
    font-size: 12px;
    line-height: 18px;
}

.launcher-body .system-status-error button {
    color: #d9dde3;
    font-size: 11px;
    font-weight: 600;
}

.launcher-body .system-status-tooltip {
    background: #11151d;
}

.launcher-body .system-status-tooltip-date {
    color: #929ba8;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .system-status-tooltip-title strong {
    color: #edf0f4;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.launcher-body .system-status-tooltip p {
    color: #a4acb8;
    font-size: 11px;
    line-height: 17px;
}

.launcher-body .system-status-tooltip > small,
.launcher-body .system-status-tooltip > small b {
    font-size: 10px;
    line-height: 14px;
}

.launcher-body .system-status-tooltip > small {
    color: #b4bbc5;
}

.launcher-body .system-status-tooltip > small b {
    color: #858e9b;
    font-weight: 700;
}

/* Guide modal and empty state. */
.launcher-body .guides-empty strong {
    color: #edf0f4;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
}

.launcher-body .guides-empty p {
    color: #9ca5b2;
    font-size: 11px;
    line-height: 17px;
}

.launcher-body .guide-modal header small {
    color: var(--ui-gold-light);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.launcher-body .guide-modal header h2 {
    color: #f1f3f6;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

.launcher-body .guide-modal-summary {
    color: #d1d5db;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.launcher-body .guide-modal-body > p:not(.guide-modal-summary),
.launcher-body .guide-modal-note span {
    color: #a4acb7;
    font-size: 12px;
    line-height: 19px;
}

@media (max-width: 1120px) {
    .launcher-body .launcher-page-title,
    .launcher-body .rankings-hero h1,
    .launcher-body .market-hero h1,
    .launcher-body .guides-hero h1,
    .launcher-body .donate-hero h1 {
        font-size: 54px;
        line-height: 51px;
    }

    .launcher-body .home-copy h1 {
        font-size: 64px;
        line-height: 60px;
    }
}

@media (max-width: 760px) {
    .launcher-body .launcher-page-title,
    .launcher-body .home-copy h1,
    .launcher-body .rankings-hero h1,
    .launcher-body .market-hero h1,
    .launcher-body .guides-hero h1,
    .launcher-body .donate-hero h1 {
        font-size: 44px;
        line-height: 42px;
    }
}

@media (max-height: 720px) {
    .launcher-body .launcher-page-title,
    .launcher-body .rankings-hero h1,
    .launcher-body .market-hero h1,
    .launcher-body .guides-hero h1,
    .launcher-body .donate-hero h1 {
        font-size: 44px;
        line-height: 42px;
    }

    .launcher-body .home-copy h1 {
        font-size: 48px;
        line-height: 45px;
    }

    /* Podium is hidden at this height, therefore the table becomes row 3. */
    .launcher-body .rankings-page .ranking-table-shell {
        grid-row: 3 !important;
    }
}

/* Final visible-text audit: no rendered labels below 10 px. */
.launcher-body .chat-composer-count,
.launcher-body .chat-composer-meta span,
.launcher-body .chat-composer > span {
    font-size: 10px;
    line-height: 14px;
}

.launcher-body .market-item-foot > strong small {
    font-size: 10px;
    line-height: 14px;
}

/* A straight badge stays crisp; rotated text was visibly rasterised. */
.launcher-body .donate-package-ribbon {
    top: 10px;
    right: 10px;
    width: auto;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: .05em;
    transform: none;
}

/* Fit the complete market preview in its column at the normal launcher size. */
@media (min-width: 761px) {
    .launcher-body .market-detail-card {
        padding: 12px;
    }

    .launcher-body .market-detail-visual {
        min-height: 98px;
    }

    .launcher-body .market-detail-head {
        margin-top: 10px;
    }

    .launcher-body .market-detail-meta,
    .launcher-body .market-preview-buy {
        margin-top: 10px;
    }

    .launcher-body .market-preview-note {
        margin-top: 8px;
        padding: 8px;
        line-height: 15px;
    }
}

.launcher-body #chatCounter {
    font-size: 10px;
    line-height: 14px;
}


/* ---------- V13 refinements ---------- */
/* Keep search focus states themed instead of the browser-default square outline. */
.launcher-body .ranking-search,
.launcher-body .guides-search,
.launcher-body .market-search {
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.launcher-body .ranking-search:focus-within,
.launcher-body .guides-search:focus-within,
.launcher-body .market-search:focus-within {
    border-color: rgba(223, 165, 74, .42);
    background: #171b24;
    box-shadow: 0 0 0 3px rgba(223, 165, 74, .10), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.launcher-body .ranking-search input,
.launcher-body .guides-search input,
.launcher-body .market-search input {
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
}

.launcher-body .ranking-search input::-webkit-search-decoration,
.launcher-body .ranking-search input::-webkit-search-cancel-button,
.launcher-body .guides-search input::-webkit-search-decoration,
.launcher-body .guides-search input::-webkit-search-cancel-button,
.launcher-body .market-search input::-webkit-search-decoration,
.launcher-body .market-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* Donate progress: compact, balanced and consistent across all three steps. */
.launcher-body .donate-steps {
    min-height: 62px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    border: 1px solid var(--ui-border);
    border-radius: 15px;
    background: rgba(13, 16, 22, .98);
    box-shadow: var(--ui-shadow);
    backdrop-filter: none;
}

.launcher-body .donate-steps > i {
    width: clamp(30px, 4vw, 58px);
    height: 1px;
    flex: 0 0 auto;
    margin: 0 12px;
    background: rgba(255, 255, 255, .10);
}

.launcher-body .donate-steps button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    padding: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 1px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.launcher-body .donate-steps button > span {
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: #171b23;
    color: #8f98a5;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.launcher-body .donate-steps button b {
    align-self: end;
    overflow: hidden;
    color: #cbd1da;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.launcher-body .donate-steps button small {
    align-self: start;
    overflow: hidden;
    margin: 0;
    color: #7f8997;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.launcher-body .donate-steps button.is-active > span {
    border-color: rgba(241, 191, 98, .40);
    background: linear-gradient(135deg, var(--ui-gold-light), #dfa13c);
    color: #241807;
    box-shadow: 0 8px 20px rgba(209, 141, 46, .20);
}

.launcher-body .donate-steps button.is-active b {
    color: #f4f6f8;
}

.launcher-body .donate-steps button.is-complete > span {
    border-color: rgba(53, 182, 111, .34);
    background: rgba(53, 182, 111, .15);
    color: #b9f0cc;
}

.launcher-body .donate-steps button.is-complete + i {
    background: rgba(53, 182, 111, .34);
}

.launcher-body .donate-steps button:disabled:not(.is-active):not(.is-complete) {
    opacity: .82;
}

/* Align dashboard content with the other pages so switching feels stable. */
.launcher-body .home-experience.launcher-content-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px 0;
}

.launcher-body .home-copy {
    width: min(720px, 100%);
}

@media (max-width: 1100px) {
    .launcher-body .home-experience.launcher-content-page {
        padding: 16px 24px 0;
    }

    .launcher-body .donate-steps {
        padding: 7px 10px;
    }

    .launcher-body .donate-steps > i {
        width: 24px;
        margin: 0 7px;
    }

    .launcher-body .donate-steps button {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 8px;
    }

    .launcher-body .donate-steps button > span {
        width: 30px;
        height: 30px;
    }

    .launcher-body .donate-steps button b {
        font-size: 11px;
    }

    .launcher-body .donate-steps button small {
        font-size: 9px;
    }
}


/* ---------- V14 refinements ---------- */
/* Fully themed custom market sort dropdown. */
.launcher-body .market-sort {
    position: relative;
    z-index: 20;
    padding: 0 8px 0 10px;
    overflow: visible;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.launcher-body .market-sort:focus-within,
.launcher-body .market-sort.is-open {
    border-color: rgba(223, 165, 74, .42);
    background: #171b24;
    box-shadow: 0 0 0 3px rgba(223, 165, 74, .10), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.launcher-body .market-sort-trigger {
    min-width: 0;
    min-height: 34px;
    flex: 1 1 auto;
    padding: 0 3px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #dfe3e9;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.launcher-body .market-sort-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.launcher-body .market-sort-trigger i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.5px solid #949daa;
    border-bottom: 1.5px solid #949daa;
    transform: translateY(-2px) rotate(45deg);
    transition: border-color .16s ease, transform .16s ease;
}

.launcher-body .market-sort.is-open .market-sort-trigger i {
    border-color: var(--ui-gold-light);
    transform: translateY(2px) rotate(225deg);
}

.launcher-body .market-sort-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.launcher-body .market-sort-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 7px);
    right: 0;
    width: 176px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 11px;
    background: #11151d;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.launcher-body .market-sort-menu[hidden] {
    display: none !important;
}

.launcher-body .market-sort-menu button {
    width: 100%;
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #c5cbd4;
    font-size: 11px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.launcher-body .market-sort-menu button:hover,
.launcher-body .market-sort-menu button:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, .065);
    color: #f3f5f7;
}

.launcher-body .market-sort-menu button[aria-selected="true"] {
    background: rgba(223, 165, 74, .14);
    color: var(--ui-gold-light);
}

/* Let the dashboard news slider use the full content-column width. */
.launcher-body .home-copy {
    width: 100%;
    max-width: none;
}

.launcher-body .home-copy > .launcher-page-kicker,
.launcher-body .home-copy > .launcher-page-title,
.launcher-body .home-copy > .launcher-page-description,
.launcher-body .home-copy > .home-actions {
    max-width: 720px;
}

.launcher-body .news-slider-shell {
    width: 100%;
    max-width: none;
}
