/* Disable pull-to-refresh on mobile */
html, body {
    overscroll-behavior-y: contain;
}

/* Dark neutral body behind the location backdrop image.
   Overrides per-page purple gradients so no tint shows through. */
body {
    background: #1a1a2e !important;
    background-attachment: fixed;
}

/* Ensure all page content renders above the fixed backdrop.
   Content starts hidden and fades in once the backdrop image is ready. */
.container, .main-content, .store-container {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.backdrop-ready .container,
body.backdrop-ready .main-content,
body.backdrop-ready .store-container {
    opacity: 1;
}

/* Make content wrappers transparent so location backdrop shows through.
   Individual cards/items should use solid backgrounds instead. */
.content {
    background: transparent !important;
    box-shadow: none !important;
}

/* Override for pages that need solid white content (guide, integrations) */
.content.solid-bg {
    background: white !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 15px;
}

/* Location Backdrop - appears instantly once loaded.
   Slightly oversized to absorb scrollbar/viewport shifts without visible resize. */
#location-backdrop,
#location-backdrop-next {
    position: fixed;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

#location-backdrop.visible {
    opacity: 1;
}

/* Next backdrop sits on top for crossfade */
#location-backdrop-next {
    z-index: 0;
}

#location-backdrop-next.crossfade-in {
    opacity: 1;
    transition: opacity 8s ease;
}

#location-backdrop.crossfade-out {
    opacity: 0;
    transition: opacity 8s ease;
}

/* Simple Top Header Styles */
.simple-top-header {
    background: transparent;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.simple-top-header .header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.simple-top-header .header-logo > img {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.simple-top-header .header-logo h1 {
    font-size: 1.8em;
    color: #667eea;
    margin: 0;
}

.page-info-btn {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.page-info-btn img { border-radius: 6px; }
.page-info-btn:hover { border-color: #fff; }

.simple-top-header .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.simple-top-header .home-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 11px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.72em;
    font-weight: 600;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* CSS-based hamburger icon */
.home-button .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.home-button .hamburger-icon span {
    display: block;
    height: 3.5px;
    background: white;
    border-radius: 2px;
}

.simple-top-header .home-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 300px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1001;
    margin-top: 10px;
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.dropdown-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-item-icon {
    font-size: 1.2em;
    width: 30px;
    text-align: center;
}

.dropdown-item-text {
    flex: 1;
    font-size: 0.95em;
    color: #333;
}

.dropdown-item-time {
    font-size: 0.8em;
    color: #999;
    white-space: nowrap;
}

.dropdown-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9em;
}

.dropdown-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
}

.mark-all-read-button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mark-all-read-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.mark-all-read-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Gold Display (header) */
.gold-display-header {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    color: #7a5c00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gold-display-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.gold-icon-header {
    font-size: 1.38em;
}

.gold-count {
    font-size: 1.15em;
    min-width: 30px;
    text-align: center;
}

/* Motes Display */
.motes-display {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.motes-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.motes-icon {
    font-size: 1.38em;
}

.motes-count {
    font-size: 1.15em;
    min-width: 30px;
    text-align: center;
}

/* Shards Display */
.shards-display {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.shards-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.shards-icon {
    font-size: 1.38em;
}

.shards-count {
    font-size: 1.15em;
    min-width: 30px;
    text-align: center;
}

/* === Trials button (header) ===
   Teal so it doesn't clash with shards (purple). Same height as the currency
   pills. Count shown as a notification-style corner badge, not inline. */
/* Rewards button — single icon-only header entry point to the canonical
   Rewards panel (replaces the old gold/motes/shards pills). */
.rewards-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 9px 16px;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 1.15em;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
}
.rewards-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.45);
}
.rewards-button .rewards-icon { font-size: 1.38em; line-height: 1; }

.trials-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    padding: 9px 16px;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.15em;
    line-height: 1;
    height: auto;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    box-sizing: border-box;
}
.trials-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.45);
}
.trials-button .trials-icon { font-size: 1.38em; line-height: 1; }

.schedule-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    padding: 9px 14px;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.18s, box-shadow 0.18s;
}
.schedule-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}
.schedule-button .schedule-icon { font-size: 1.38em; line-height: 1; }

/* Connection status — a signal-bars button that sits beside the logo. The bar
   colour reflects the live reachability of the server: green (connected), red
   (offline), amber (checking). A diagonal slash overlays the bars when offline
   so the "no connection" read holds even without colour. */
.conn-status {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.18s, box-shadow 0.18s;
}
.conn-status:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Signal bars — coloured via currentColor so the state class recolours all
   three at once. Idle/unknown = grey. */
.conn-status { color: #9ca3af; }
.conn-status .conn-bars .conn-bar {
    fill: currentColor;
    transition: fill 0.25s, opacity 0.25s;
}
.conn-status.online  { color: #16a34a; }
.conn-status.offline { color: #ef4444; }
.conn-status.checking { color: #f59e0b; }

/* Offline: dim the taller bars so it reads as "signal lost", and show the slash. */
.conn-status.offline .conn-bars .b2 { opacity: 0.4; }
.conn-status.offline .conn-bars .b3 { opacity: 0.4; }
.conn-status .conn-slash {
    position: absolute;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #ef4444;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}
.conn-status.offline .conn-slash { opacity: 1; }

/* Checking: gentle pulse on the whole icon. */
.conn-status.checking .conn-bars { animation: conn-status-pulse 1s ease-in-out infinite; }
@keyframes conn-status-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* --- Connection modal (in-game style) ------------------------------------- */
.conn-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.conn-modal {
    width: 100%;
    max-width: 380px;
    background: #1a1a2e;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.conn-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.conn-modal-head h3 { margin: 0; font-size: 1.15em; color: #fff; }
.conn-modal-close {
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 20px;
    line-height: 1; cursor: pointer;
}
.conn-modal-close:hover { background: rgba(255, 255, 255, 0.2); }
.conn-modal-body { padding: 18px; }
.conn-modal-status { display: flex; align-items: center; gap: 10px; }
.conn-modal-dot {
    width: 14px; height: 14px; border-radius: 50%; background: #9ca3af;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    flex: 0 0 auto;
}
.conn-modal-word { font-size: 1.1em; font-weight: 700; color: #fff; }
.conn-modal-blurb { margin: 8px 0 16px; font-size: 0.9em; line-height: 1.5; opacity: 0.8; }
.conn-modal-rows {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.conn-modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
}
.conn-modal-row + .conn-modal-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.conn-modal-label { font-size: 0.9em; opacity: 0.75; }
.conn-modal-value { font-size: 0.95em; font-weight: 600; color: #fff; }
.conn-modal-value.good { color: #22c55e; }
.conn-modal-value.fair { color: #f59e0b; }
.conn-modal-value.poor { color: #ef4444; }
.conn-modal-recheck {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.98em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.conn-modal-recheck:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.45);
}
.conn-modal-recheck:disabled { opacity: 0.55; cursor: default; }

/* Notification-style corner badge for the Trials count. Distinct colour from
   the bell badge (red), so the two reads are unambiguous side by side. */
.trials-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    background: #f59e0b; /* amber — distinct from bell red, doesn't clash with currency pills */
    color: #1a1a2e;
    border-radius: 10.5px;
    border: 2px solid white;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    animation: trials-pulse 2.4s ease-in-out infinite;
}
@keyframes trials-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* Make every header pill the same height as the new Trials button.
   Buttons have a different default line-height than divs, so we
   normalise here. */
.gold-display-header,
.motes-display,
.shards-display,
.trials-button {
    line-height: 1;
    box-sizing: border-box;
}
.gold-icon-header,
.motes-icon,
.shards-icon,
.trials-icon { line-height: 1; }
.gold-count,
.motes-count,
.shards-count {
    line-height: 1;
    /* min-width allows compact "1.2k" etc. without jumping width when below 1000 */
    min-width: 28px;
}

/* === Trials modal === */
.trials-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 40px;
    z-index: 9600;
    animation: trials-fade 0.18s ease;
}
@keyframes trials-fade { from { opacity: 0; } to { opacity: 1; } }

.trials-modal {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    color: #e0e0e0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: trials-pop 0.2s ease-out;
    /* Match the Rewards modal's text scale: it sets 1.5em on its root and sizes
       all children in em, so they scale off this. The trials children are em-based
       too, so one root bump brings them in line. */
    font-size: 1.5em;
}
@keyframes trials-pop {
    from { transform: scale(0.96); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.trials-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trials-modal-head h3 {
    color: #fff;
    font-size: 1.1em;
    margin: 0;
}
.trials-modal-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-radius: 6px;
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
}
.trials-modal-close:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.trials-modal-body {
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trials-empty {
    text-align: center;
    padding: 40px 20px;
    color: #cbd5e1;
    font-size: 0.95em;
    line-height: 1.55;
}

.trials-item {
    display: block;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #6366f1;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
}
.trials-item:hover {
    background: rgba(99, 102, 241, 0.12);
    border-left-color: #8b5cf6;
    transform: translateX(2px);
}
.trials-item-kind {
    font-size: 0.75em;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.trials-item-title {
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 4px;
}
.trials-item-sub {
    color: #94a3b8;
    font-size: 0.85em;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .trials-modal-overlay { padding: 60px 8px 20px; }
    .trials-button .trials-count { display: none; }
}

/* Header icon buttons - shared style */
.bell-button,
.zoom-toggle-button,
.mute-toggle-button {
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 1.72em;
    cursor: pointer;
    padding: 9px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bell-button:hover,
.zoom-toggle-button:hover,
.mute-toggle-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    background: #e74c3c;
    color: white;
    border-radius: 10.5px;
    border: 2px solid white;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.bell-ringing {
    animation: bellRing 2s ease-in-out infinite;
    transform-origin: top center;
}

/* User Avatar */
.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.38em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Install indicator - flashing dot on avatar when app not installed */
.user-avatar.install-available::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #27ae60;
    border: 2px solid white;
    border-radius: 50%;
    animation: installPulse 1.5s ease-in-out infinite;
}

.user-avatar.install-available {
    position: relative;
}

@keyframes installPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(39, 174, 96, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .simple-top-header {
        padding: 10px 15px;
    }

    .simple-top-header .header-logo h1 {
        font-size: 1.3em;
    }

    .simple-top-header .header-logo img {
        width: 46px;
        height: 46px;
    }

    .simple-top-header .home-button {
        font-size: 1.04em;
        padding: 9px 14px;
    }

    .bell-button,
    .zoom-toggle-button,
    .mute-toggle-button {
        width: 44px;
        height: 44px;
        font-size: 1.5em;
    }

    .user-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.15em;
    }

    .dropdown-content {
        min-width: 250px;
    }

    .team-icons {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .simple-top-header .header-logo h1 {
        font-size: 1.1em;
    }

    .simple-top-header .header-logo {
        gap: 10px;
    }

    .simple-top-header .header-right {
        gap: 8px;
    }

    .bell-button,
    .zoom-toggle-button,
    .mute-toggle-button {
        width: 39px;
        height: 39px;
        font-size: 1.38em;
    }

    .user-avatar {
        width: 39px;
        height: 39px;
        font-size: 1.04em;
    }

    .motes-display,
    .gold-display-header,
    .shards-display {
        padding: 7px 12px;
        font-size: 1.04em;
    }

    .home-button span:last-child {
        display: none;
    }
}
