/* ==========================================================================
   🎼 Umbrella.Hz (엄브렐라헤르츠 · ON-AIR SOUND ATELIER)
   Dedicated Luxury Hi-Fi Audio Salon & Library Stylesheet (metaverse.css)
   Rosewood, Velvet Espresso, Brushed Champagne Gold & Warm Coral Palette
   ========================================================================== */

:root {
    --hz-bg-atelier: rgba(24, 19, 22, 0.88);
    --hz-bg-card: rgba(33, 25, 29, 0.86);
    --hz-bg-elevated: rgba(46, 35, 40, 0.92);
    --hz-bg-modal: linear-gradient(160deg, rgba(34, 26, 30, 0.96) 0%, rgba(20, 15, 18, 0.98) 100%);
    --hz-border-brass: rgba(212, 175, 55, 0.30);
    --hz-border-soft: rgba(255, 245, 235, 0.12);
    --hz-gold-main: #d4af37;
    --hz-gold-light: #f3d999;
    --hz-coral-accent: #e07a5f;
    --hz-sage-accent: #81b29a;
    --hz-text-ivory: #faf6f0;
    --hz-text-sub: #d0c4bc;
    --hz-text-muted: #9a8b82;
}

/* Full-screen isolation: Hide all existing Globe/Radio/Podcast UI when in Metaverse */
body.metaverse-fullscreen-active .navbar,
body.metaverse-fullscreen-active .top-bar,
body.metaverse-fullscreen-active header,
body.metaverse-fullscreen-active #player-dock,
body.metaverse-fullscreen-active #globe-zoom-controls,
body.metaverse-fullscreen-active #altitude-hud,
body.metaverse-fullscreen-active .reticle-container,
body.metaverse-fullscreen-active #btn-frequency-tuner,
body.metaverse-fullscreen-active .floating-controls,
body.metaverse-fullscreen-active #mobile-bottom-nav,
.grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html:has(body.metaverse-fullscreen-active),
body.metaverse-fullscreen-active {
    background-color: #1a1417 !important;
}

#metaverse-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9800;
    overflow: hidden;
    background: #1a1417;
    background-color: #1a1417 !important;
    font-family: 'Pretendard', 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hz-text-ivory);
    user-select: none;
    -webkit-user-select: none;
}

#metaverse-canvas-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #1a1417;
    touch-action: none;
}

#metaverse-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1a1417;
    touch-action: none;
}

#metaverse-labels-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* ==========================================================================
   1. Top-Left Atelier Status Card (엄브렐라헤르츠 청취 살롱 정보)
   ========================================================================== */
.mv-top-left-wrap {
    position: absolute;
    top: 20px;
    left: 22px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 360px;
    pointer-events: none;
}

.mv-exit-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    touch-action: manipulation;
}

.mv-exit-globe-btn {
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    color: var(--hz-gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 13px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
    transition: all 0.16s ease;
    pointer-events: auto;
}

.mv-exit-globe-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
}

#metaverse-container .mv-channel-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
    background-color: var(--hz-bg-atelier) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f3d999' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 11px center !important;
    background-size: 11px 11px !important;
    border: 1px solid var(--hz-border-brass) !important;
    color: var(--hz-gold-light) !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 28px 0 13px;
    border-radius: 999px !important;
    cursor: pointer;
    outline: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
    transition: all 0.16s ease;
    pointer-events: auto;
}

#metaverse-container .mv-channel-select:hover,
#metaverse-container .mv-channel-select:focus {
    background-color: rgba(212, 175, 55, 0.22) !important;
    border-color: var(--hz-gold-light) !important;
}

.mv-channel-select option {
    background: #1b1417;
    color: var(--hz-text-ivory);
}

.mv-goyo-place-card {
    display: none;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 16px;
    padding: 12px 15px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

.mv-goyo-place-card.is-visible {
    display: block;
    pointer-events: auto;
}

.mv-place-brand {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--hz-gold-main);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.mv-place-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.mv-place-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hz-text-ivory);
}

.mv-place-sub-spec {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hz-gold-light);
}

.mv-place-online-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--hz-text-sub);
    margin-bottom: 6px;
}

.mv-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hz-sage-accent);
    box-shadow: 0 0 10px var(--hz-sage-accent);
}

.mv-place-desc {
    font-size: 0.76rem;
    color: var(--hz-text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   2. Top-Right On-Air Signal & Resonance Dashboard
   ========================================================================== */
.mv-top-right-wrap {
    position: absolute;
    top: 20px;
    right: 22px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.mv-sansa-icon-bar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
    pointer-events: auto;
}

.mv-sansa-icon-btn {
    background: transparent;
    border: none;
    color: var(--hz-text-sub);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.16s ease;
}

.mv-sansa-icon-btn:hover,
.mv-sansa-icon-btn.active {
    background: rgba(212, 175, 55, 0.22);
    color: var(--hz-gold-light);
}

.mv-ui-svg {
    width: 15px;
    height: 15px;
    display: block;
    flex-shrink: 0;
}

.mv-dock-action-btn .mv-ui-svg {
    width: 17px;
    height: 17px;
}

.mv-svg-sun,
.is-night .mv-svg-moon,
.mv-svg-walk,
.is-seated .mv-svg-seat {
    display: none;
}

.is-night .mv-svg-sun,
.is-seated .mv-svg-walk {
    display: block;
}

#metaverse-container.mv-mobile-portrait .mv-exit-globe-btn .mv-ui-svg,
#metaverse-container.mv-mobile-portrait .mv-sansa-icon-btn .mv-ui-svg {
    width: 13px;
    height: 13px;
}

.mv-portrait-more-btn,
.mv-portrait-only-dock-item {
    display: none !important;
}

.mv-goyo-status-card {
    width: 310px;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 16px;
    padding: 13px 15px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.44);
    pointer-events: auto;
}

.mv-goyo-status-card.is-collapsed {
    display: none;
}

.mv-temp-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mv-temp-big {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    letter-spacing: -0.02em;
}

.mv-temp-unit {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hz-text-sub);
    margin-left: 3px;
}

.mv-freq-badge {
    font-size: 0.76rem;
    font-weight: 800;
    color: #181316;
    background: linear-gradient(135deg, #f3d999 0%, #d4af37 100%);
    padding: 4px 10px;
    border-radius: 999px;
}

.mv-stats-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--hz-text-sub);
    margin-bottom: 10px;
}

.mv-warmth-label {
    font-size: 0.68rem;
    color: var(--hz-text-muted);
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.mv-warmth-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.mv-warmth-fill {
    height: 100%;
    width: 42%;
    background: linear-gradient(90deg, #e07a5f 0%, #d4af37 55%, #81b29a 100%);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.mv-zone-tabs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.mv-zone-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    color: var(--hz-text-sub);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.16s ease;
}

.mv-zone-tab-btn:hover,
.mv-zone-tab-btn.active {
    color: var(--hz-gold-light);
    border-color: var(--hz-border-brass);
    background: rgba(212, 175, 55, 0.16);
}

/* ==========================================================================
   3. Umbrella.Hz Studio Entry & Full Character Customizer Modal
      (Refined Hi-Fi Studio Console Design — Fits Single Screen on PC & Mobile)
   ========================================================================== */
.mv-goyo-entry-backdrop {
    position: absolute;
    inset: 0;
    z-index: 60;
    background: rgba(10, 7, 9, 0.76);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
}

.mv-goyo-entry-card {
    width: 100%;
    max-width: 1020px;
    height: min(86dvh, 700px);
    max-height: calc(100% - 16px);
    overflow: hidden;
    background: linear-gradient(165deg, rgba(30, 22, 26, 0.98) 0%, rgba(16, 12, 15, 0.99) 100%);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--hz-text-ivory);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.mv-entry-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mv-preview-toggle-btn {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.14);
    color: #f6dc8b;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.mv-preview-toggle-btn:hover {
    background: rgba(212, 175, 55, 0.28);
}

.mv-entry-split-body {
    display: flex;
    flex-direction: row;
    gap: 16px;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.mv-entry-preview-pane {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    height: 100%;
}

.mv-preview-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.26);
    background: radial-gradient(circle at 50% 42%, rgba(72, 54, 48, 0.45) 0%, rgba(22, 16, 20, 0.92) 78%);
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.mv-preview-stage:active {
    cursor: grabbing;
}

#mv-avatar-preview-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.mv-preview-hint {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(12, 9, 11, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(244, 238, 229, 0.78);
    font-size: 10px;
    white-space: nowrap;
    pointer-events: none;
}

.mv-preview-close-btn {
    display: none;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.16);
    color: #f6dc8b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.mv-entry-controls-pane {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    scrollbar-width: thin;
}

@media (max-width: 820px), (orientation: portrait) {
    .mv-goyo-entry-card {
        max-width: 680px;
        height: auto;
        max-height: calc(100dvh - 16px);
    }

    .mv-preview-toggle-btn {
        display: inline-flex;
    }

    .mv-entry-split-body {
        flex-direction: column;
    }

    .mv-entry-preview-pane {
        display: none;
        flex: 1;
        min-height: 360px;
    }

    .mv-goyo-entry-backdrop.mv-preview-open .mv-entry-preview-pane {
        display: flex;
        flex: 0 0 auto;
        width: 100%;
        height: 72dvh;
        min-height: 440px;
        max-height: 680px;
    }

    .mv-goyo-entry-backdrop.mv-preview-open .mv-preview-stage {
        flex: 1;
        min-height: 0;
    }

    .mv-goyo-entry-backdrop.mv-preview-open .mv-entry-controls-pane {
        display: none;
    }

    .mv-goyo-entry-backdrop.mv-preview-open .mv-preview-close-btn {
        display: block;
    }
}

#metaverse-container.mv-mobile-landscape .mv-goyo-entry-card,
#metaverse-container.mv-force-landscape-rotated .mv-goyo-entry-card {
    max-width: 960px;
    height: min(92dvh, 520px);
    max-height: calc(100dvh - 12px);
}

#metaverse-container.mv-mobile-landscape .mv-preview-toggle-btn,
#metaverse-container.mv-force-landscape-rotated .mv-preview-toggle-btn {
    display: none;
}

#metaverse-container.mv-mobile-landscape .mv-entry-split-body,
#metaverse-container.mv-force-landscape-rotated .mv-entry-split-body {
    flex-direction: row;
}

#metaverse-container.mv-mobile-landscape .mv-entry-preview-pane,
#metaverse-container.mv-force-landscape-rotated .mv-entry-preview-pane {
    display: flex;
    flex: 0 0 240px;
    min-height: 0;
    height: 100%;
}

#metaverse-container.mv-mobile-landscape .mv-entry-controls-pane,
#metaverse-container.mv-force-landscape-rotated .mv-entry-controls-pane {
    display: flex;
}

.mv-entry-top-bar,
.mv-entry-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.mv-entry-top-bar > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.mv-entry-title {
    font-size: 1.06rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(90deg, #faf6f0 0%, #f3d999 65%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.mv-entry-en {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(212, 175, 55, 0.85);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-entry-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--hz-text-sub);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.mv-entry-close-btn:hover {
    color: #ffffff;
    border-color: var(--hz-gold-light);
    background: rgba(212, 175, 55, 0.22);
}

/* Unnecessary verbose descriptions hidden */
.mv-entry-catch,
.mv-entry-desc,
.mv-cust-live-summary,
.mv-avatar-summary-bar,
.mv-nick-hint,
.mv-opt-sub {
    display: none !important;
}

.mv-cust-pane + .mv-cust-group-label {
    margin-top: 2px !important;
}

/* Quick Preset Strip — Horizontal Swipeable Carousel (excludes #mv-gfx-preset-strip) */
.mv-preset-strip-box {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 11px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mv-preset-strip-box::-webkit-scrollbar {
    display: none;
}

#mv-gfx-preset-strip {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(0, 1fr));
    overflow-x: visible;
}

.mv-preset-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    padding: 0 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mv-preset-chip {
    flex: 1 0 auto;
    min-width: 76px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    padding: 0 8px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-text-sub);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.mv-preset-chip:hover {
    border-color: rgba(243, 217, 153, 0.55);
    color: #ffffff;
}

.mv-preset-chip.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.30) 0%, rgba(224, 122, 95, 0.22) 100%);
    border-color: var(--hz-gold-light);
    color: #ffffff;
    font-weight: 800;
}

/* 4 Category Tabs — Recessed Segmented Track */
.mv-cust-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 4px;
    flex-shrink: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mv-cust-tabs::-webkit-scrollbar {
    display: none;
}

.mv-cust-tab,
.mv-cust-tab-btn {
    flex: 1 0 auto;
    min-width: 74px;
    scroll-snap-align: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 6px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-text-sub);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-cust-tab:hover,
.mv-cust-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.mv-cust-tab.active,
.mv-cust-tab-btn.active {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(243, 217, 153, 0.65);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Tab Content Pane — Compact Horizontal Studio Tiles */
.mv-cust-pane {
    display: none;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 9px 11px;
    flex-shrink: 0;
}

.mv-cust-pane.active {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mv-cust-group-label,
.mv-entry-section-label {
    font-size: 0.67rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    margin: 0;
    letter-spacing: -0.01em;
    opacity: 0.92;
}

.mv-option-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.mv-option-grid::-webkit-scrollbar {
    display: none;
}

.mv-option-grid .mv-opt-card {
    flex: 1 0 84px;
    scroll-snap-align: start;
}

.mv-option-grid.cols-3 .mv-opt-card {
    flex: 1 0 92px;
}

.mv-option-grid.cols-4 .mv-opt-card {
    flex: 1 0 84px;
}

.mv-option-grid.cols-5 .mv-opt-card {
    flex: 1 0 78px;
}

.mv-opt-card {
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;
    padding: 0 8px;
    height: 38px;
    min-height: 38px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: var(--hz-text-sub);
    transition: all 0.14s ease;
    box-sizing: border-box;
}

.mv-opt-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.10);
    color: #ffffff;
}

.mv-opt-card.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(224, 122, 95, 0.20) 100%);
    border-color: var(--hz-gold-light);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.20);
}

.mv-opt-icon {
    font-size: 0.96rem;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mv-opt-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.mv-preset-chip,
.mv-cust-tab,
.mv-preset-label,
.mv-swatch-label,
.mv-nick-random-btn,
.mv-skin-custom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mv-preset-chip svg,
.mv-cust-tab svg,
.mv-preset-label svg,
.mv-swatch-label svg,
.mv-skin-custom-icon svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.mv-opt-name {
    font-size: 0.71rem;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Color Swatches inside Customizer */
.mv-speech-ack-btn {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(253, 230, 138, 0.75);
    background: rgba(212, 175, 55, 0.28);
    color: #fef3c7;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    vertical-align: middle;
}

.mv-speech-ack-btn:hover {
    background: rgba(212, 175, 55, 0.48);
}

.mv-swatch-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.mv-swatch-row.mv-swatch-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Skin Tone Palette Row (Ethnic Diverse Presets + Custom Picker) */
.mv-skin-palette-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    padding: 6px 10px;
    flex-wrap: nowrap;
}

.mv-skin-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    flex: 1 1 0;
    max-width: 30px;
    min-width: 20px;
    aspect-ratio: 1 / 1;
    transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.mv-skin-swatch:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.75);
}

.mv-skin-swatch.active {
    border-color: #ffe8a3;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.55);
    transform: scale(1.1);
}

.mv-skin-custom-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    flex-shrink: 0;
}

.mv-skin-custom-icon {
    font-size: 0.78rem;
    line-height: 1;
}

.mv-swatch-group,
.mv-swatch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;
    padding: 0 10px;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
}

.mv-swatch-label {
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    white-space: nowrap;
}

.mv-color-input,
.mv-swatch-group input[type="color"],
.mv-swatch-item input[type="color"] {
    width: 24px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

/* Nickname Input & Random Refresh Button (외곽 박스 제거 & 인풋·새로고침 버튼 높이 일치) */
.mv-nick-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mv-nick-row::before {
    display: none;
}

.mv-nick-input {
    flex: 1;
    height: 38px;
    min-height: 38px;
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 9px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    outline: none;
    min-width: 0;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.mv-nick-input:focus {
    border-color: var(--hz-gold-light);
}

.mv-nick-random-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--hz-gold-light);
    font-size: 0.96rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.mv-nick-random-btn:hover {
    border-color: var(--hz-gold-light);
    background: rgba(212, 175, 55, 0.2);
}

.mv-entry-actions-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex-shrink: 0;
}

.mv-entry-default-btn {
    width: 100%;
    height: 38px;
    min-height: 38px;
    border: 1px solid rgba(243, 217, 153, 0.35);
    border-radius: 10px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--hz-gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.mv-entry-default-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--hz-gold-light);
    color: #ffffff;
}

.mv-entry-submit-btn {
    width: 100%;
    height: 38px;
    min-height: 38px;
    border: none;
    border-radius: 10px;
    padding: 0 10px;
    background: linear-gradient(90deg, #e6c675 0%, #d4af37 50%, #e07a5f 100%);
    color: #161013;
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.30);
    transition: filter 0.16s ease, transform 0.16s ease;
}

.mv-entry-submit-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

/* Flag Icon Image Styling for Modals & Tuner Buttons */
.mv-flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.mv-flag-globe {
    font-size: 0.92rem;
    line-height: 1;
    vertical-align: middle;
}

.mv-flag-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* ==========================================================================
   4. Top-Center Gamified Action Dock (아이콘 전용 + 풍선 도움말 툴팁)
   ========================================================================== */
.mv-bottom-dock-wrap {
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 32;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 24px);
    pointer-events: none;
}

.mv-proximity-toast {
    display: none;
    align-items: center;
    gap: 8px;
    max-width: min(78vw, 310px);
    background: rgba(22, 16, 20, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 7px 15px;
    color: var(--hz-text-ivory);
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
    pointer-events: auto;
    cursor: pointer;
}

#mv-proximity-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mv-proximity-toast.visible {
    display: inline-flex;
}

.mv-key-badge {
    background: var(--hz-gold-light);
    color: #181316;
    font-size: 0.70rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.mv-world-proximity-badge {
    position: absolute;
    z-index: 20;
    display: none;
    align-items: center;
    gap: 7px;
    max-width: min(74vw, 290px);
    background: rgba(22, 16, 20, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 6px 13px;
    color: var(--hz-text-ivory);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    cursor: pointer;
    white-space: nowrap;
}

.mv-world-prox-sub {
    font-size: 0.64rem;
    font-weight: 600;
    color: #f3d999;
    opacity: 0.9;
    padding-left: 4px;
    border-left: 1px solid rgba(243, 217, 153, 0.35);
}

.mv-goyo-bottom-dock {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 5px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.48);
    pointer-events: auto;
}

.mv-dock-action-btn {
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    color: var(--hz-text-sub);
    font-size: 1.02rem;
    font-weight: 700;
    padding: 6px 10px;
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.mv-dock-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.mv-dock-action-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    color: var(--hz-text-ivory);
    transform: translateY(1px);
}

/* Balloon Tooltip on Hover / Focus / Touch */
.mv-dock-action-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(20, 14, 17, 0.96);
    border: 1px solid var(--hz-gold-light);
    color: var(--hz-text-ivory);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 60;
}

.mv-dock-action-btn[data-tooltip]::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--hz-gold-light);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 61;
}

.mv-dock-action-btn[data-tooltip]:hover::after,
.mv-dock-action-btn[data-tooltip]:focus-visible::after,
.mv-dock-action-btn[data-tooltip]:active::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mv-dock-action-btn[data-tooltip]:hover::before,
.mv-dock-action-btn[data-tooltip]:focus-visible::before,
.mv-dock-action-btn[data-tooltip]:active::before {
    opacity: 1;
    visibility: visible;
}

.mv-dock-action-btn.primary-olive {
    background: rgba(129, 178, 154, 0.22);
    border-color: rgba(129, 178, 154, 0.45);
    color: #e6f4ed;
}

.mv-dock-action-btn.amber-highlight {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-border-brass);
    color: var(--hz-gold-light);
}

.mv-dock-count {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-dock-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 2px;
}

/* Bottom-Center Chat Trigger & Popover Input Bar */
.mv-bottom-chat-wrap {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 32;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 24px);
}

.mv-bottom-bar-btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.mv-chat-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 7px 14px;
    color: var(--hz-text-ivory);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.44);
    pointer-events: auto;
    transition: all 0.16s ease;
}

.mv-chat-trigger-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
}

.mv-bottom-audio-svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: #ffffff;
    background: transparent !important;
    flex-shrink: 0;
}

.mv-chat-popover,
.mv-actions-popover {
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.52);
    pointer-events: auto;
}

.mv-chat-popover {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-actions-popover {
    grid-template-columns: repeat(5, minmax(56px, 1fr));
    gap: 7px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
}

.mv-actions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(56px, 1fr));
    gap: 7px;
}

@media (max-width: 480px) {
    .mv-actions-popover {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        padding: 8px;
        width: calc(100vw - 20px);
        max-width: 360px;
    }
    .mv-action-emote-btn {
        padding: 6px 3px;
        font-size: 0.66rem;
    }
}

#metaverse-container.mv-mobile-portrait .mv-actions-popover {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(max(8px, env(safe-area-inset-bottom, 8px)) + 44px);
    width: calc(100vw - 20px);
    max-width: 360px;
    margin: 0;
}

.mv-action-emote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 6px;
    border-radius: 11px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.mv-action-emote-btn span:first-child {
    font-size: 1.05rem;
    line-height: 1.1;
}

.mv-action-emote-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--hz-gold-light);
    transform: translateY(-1px);
}

.mv-action-emote-btn:active {
    transform: scale(0.95);
}

.mv-chat-close-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--hz-text-sub);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 13px;
    min-width: 52px;
    height: 30px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.mv-chat-close-btn:hover {
    background: rgba(224, 122, 95, 0.22);
    border-color: var(--hz-terracotta);
    color: #ffffff;
}

.mv-chat-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--hz-text-ivory);
    font-size: 0.82rem;
    width: 240px;
    min-width: 140px;
}

.mv-chat-send-btn {
    background: var(--hz-gold-main);
    color: #181316;
    border: none;
    border-radius: 999px;
    padding: 6px 15px;
    min-width: 56px;
    height: 30px;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.15s ease;
}

.mv-chat-send-btn:hover {
    filter: brightness(1.08);
}

.mv-whisper-log {
    position: absolute;
    right: 22px;
    left: auto;
    bottom: 64px;
    z-index: 18;
    width: min(320px, calc(100vw - 32px));
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
    font-size: 0.74rem;
    line-height: 1.28;
    color: rgba(235, 224, 214, 0.80);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.78);
}

.mv-whisper-row {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   5. Hi-Fi Analog Radio Frequency Tuner Panel (Compact Horizontal Style)
   ========================================================================== */
.mv-tuner-deck-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 480px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.62);
    pointer-events: auto;
}

.mv-tuner-deck-panel.minimized {
    display: none;
}

.mv-tuner-top-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 9px;
}

.mv-tuner-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-tuner-autoclose-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 9px;
    margin-left: 4px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.22);
    border: 1px solid rgba(251, 113, 133, 0.72);
    color: #ffe4e6;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.28);
    flex-shrink: 0;
}

.mv-tuner-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hz-coral-accent);
    box-shadow: 0 0 10px var(--hz-coral-accent);
    flex-shrink: 0;
}

.mv-tuner-top-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 6px;
    flex-wrap: nowrap;
}

.mv-tuner-icon-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hz-border-soft);
    color: var(--hz-text-sub);
    font-size: 0.74rem;
    font-weight: 700;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

#mv-tuner-minimize-btn,
.mv-tuner-icon-btn.mv-tuner-close-highlight {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    border: 1.5px solid #fda4af;
    color: #ffffff;
    font-weight: 900;
    min-height: 34px;
    padding: 6px 13px;
    box-shadow: 0 2px 12px rgba(244, 63, 94, 0.52);
}

#mv-tuner-minimize-btn:hover,
.mv-tuner-icon-btn.mv-tuner-close-highlight:hover {
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.72);
    transform: translateY(-1px);
}

#mv-tuner-orient-btn,
#mv-tuner-open-shelf-btn,
#mv-tuner-country-strip,
.mv-tuner-band-row,
.mv-dock-btn-text {
    display: none !important;
}

.mv-tuner-icon-btn:hover,
.mv-tuner-icon-btn.active {
    background: rgba(212, 175, 55, 0.24);
    border-color: var(--hz-gold-light);
    color: #ffffff;
}

.mv-tuner-lcd {
    background: #120d10;
    border: 1px solid var(--hz-border-brass);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mv-tuner-lcd-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.mv-tuner-lcd-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.mv-tuner-lcd-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.mv-tuner-lcd-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mv-tuner-lcd-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.mv-tuner-band-inline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mv-band-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--hz-text-sub);
    border-radius: 8px;
    min-height: 29px;
    padding: 5px 11px;
    font-size: 0.71rem;
    font-weight: 800;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mv-band-tab:hover {
    border-color: var(--hz-gold-light);
    color: var(--hz-text-ivory);
}

.mv-band-tab.active {
    background: rgba(212, 175, 55, 0.28);
    border-color: var(--hz-gold-light);
    color: var(--hz-gold-light);
}

.mv-tuner-freq-num {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-tuner-freq-unit {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hz-text-sub);
}

.mv-tuner-station-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--hz-text-ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-tuner-station-sub {
    font-size: 0.66rem;
    color: var(--hz-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-tuner-spectrum {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
    max-height: 15px;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 1px;
}

.mv-spec-bar {
    width: 3.5px;
    height: 4px;
    max-height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f3d999 0%, #e07a5f 100%);
    transition: height 0.12s ease;
}

.mv-tuner-scale-layout {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mv-tuner-scale-box {
    position: relative;
    background: #0e0a0c;
    border: 1px solid var(--hz-border-brass);
    border-radius: 11px;
    overflow: hidden;
    height: 92px;
    cursor: grab;
    touch-action: none;
}

/* Tuner Country Picker Modal */
.mv-country-picker-card {
    background: #1f171b;
    border: 1.5px solid var(--hz-border-brass);
    border-radius: 22px;
    width: 100%;
    max-width: 560px;
    max-height: min(78vh, 540px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--hz-text-ivory);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.mv-country-picker-toolbar {
    padding: 12px 18px;
    background: #181115;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mv-country-picker-grid {
    padding: 14px 18px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.mv-country-pick-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 9px 12px;
    color: var(--hz-text-ivory);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.mv-country-pick-btn:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: var(--hz-gold-light);
}

.mv-country-pick-btn.active {
    background: rgba(212, 175, 55, 0.26);
    border-color: var(--hz-gold-light);
    color: var(--hz-gold-light);
}

.mv-tuner-scale-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.mv-tuner-scale-hint {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 0.6rem;
    color: var(--hz-text-muted);
    pointer-events: none;
}

.mv-tuner-transport {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mv-tuner-ctrl-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--hz-border-soft);
    color: var(--hz-text-ivory);
    border-radius: 11px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mv-tuner-ctrl-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mv-tuner-ctrl-btn.play-primary {
    flex: 1;
    background: linear-gradient(90deg, #f3d999 0%, #d4af37 100%);
    color: #181316;
    border: none;
    font-weight: 800;
}

.mv-tuner-ctrl-btn.play-primary svg {
    width: 21px;
    height: 21px;
}

#mv-tuner-prev-btn,
#mv-tuner-next-btn {
    min-width: 102px;
    padding: 0 18px;
}

/* Dual-Mode Deck Switch (라디오 튜너 / 팟캐스트 컨트롤러) & Podcast Deck UI */
.mv-deck-mode-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
    margin-right: auto;
    flex-shrink: 0;
}

.mv-deck-mode-btn {
    background: transparent;
    border: none;
    color: var(--hz-text-sub);
    font-size: 0.72rem;
    font-weight: 800;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.mv-deck-mode-btn:hover {
    color: var(--hz-text-ivory);
}

.mv-deck-mode-btn.active {
    background: rgba(212, 175, 55, 0.28);
    color: var(--hz-gold-light);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mv-pod-lcd-top-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.mv-pod-deck-badge {
    background: rgba(129, 178, 154, 0.22);
    border: 1px solid rgba(129, 178, 154, 0.5);
    color: #81b29a;
    font-size: 0.62rem;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 5px;
    letter-spacing: 0.04em;
}

.mv-pod-deck-ep-num {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-pod-lang-pill {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--hz-gold-light);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.mv-pod-selector-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.mv-pod-picker-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    background: #140e12;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 10px;
    color: var(--hz-text-ivory);
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mv-pod-picker-btn:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: var(--hz-gold-light);
}

.mv-pod-picker-kicker {
    font-size: 0.63rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    letter-spacing: 0.02em;
}

.mv-pod-picker-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}

.mv-pod-picker-value {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-pod-picker-caret {
    font-size: 0.66rem;
    font-weight: 800;
    color: var(--hz-text-sub);
    flex-shrink: 0;
}

.mv-ep-picker-modal-card {
    max-width: 680px;
    height: min(78vh, 620px);
}

.mv-ep-picker-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #181115;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    flex-wrap: wrap;
}

.mv-ep-picker-search {
    flex: 1;
    min-width: 180px;
    min-height: 38px;
}

.mv-ep-picker-action-btn {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--hz-text-ivory);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.mv-ep-picker-action-btn:hover {
    border-color: var(--hz-gold-light);
    background: rgba(212, 175, 55, 0.18);
}

.mv-ep-picker-action-btn.is-accent {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--hz-gold-light);
}

.mv-ep-picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv-ep-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--hz-text-ivory);
    cursor: pointer;
    transition: all 0.15s ease;
}

.mv-ep-picker-item:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: rgba(212, 175, 55, 0.45);
}

.mv-ep-picker-item.active {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
}

.mv-ep-picker-item-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mv-ep-picker-item-num {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-ep-picker-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    line-height: 1.35;
    word-break: keep-all;
}

.mv-ep-picker-item-badge {
    font-size: 0.70rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--hz-text-sub);
    flex-shrink: 0;
}

.mv-ep-picker-item.active .mv-ep-picker-item-badge {
    background: #d4af37;
    color: #181316;
}

.mv-ep-picker-more-btn {
    margin-top: 4px;
    min-height: 42px;
    border-radius: 11px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px dashed rgba(212, 175, 55, 0.5);
    color: var(--hz-gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.mv-pod-scrubber-box {
    background: #0e0a0c;
    border: 1px solid var(--hz-border-brass);
    border-radius: 11px;
    padding: 8px 12px 10px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mv-pod-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
}

.mv-pod-time-label {
    font-family: 'Roboto Mono', monospace;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-pod-time-hint {
    font-size: 0.62rem;
    color: var(--hz-text-muted);
}

.mv-pod-seek-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.mv-pod-seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f3d999;
    border: 2px solid #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.65);
    cursor: pointer;
}

.mv-pod-transport .mv-tuner-ctrl-btn {
    padding: 0 8px;
    font-size: 0.72rem;
}

.mv-pod-seek-btn {
    color: var(--hz-gold-light);
    border-color: rgba(212, 175, 55, 0.28);
}

/* ==========================================================================
   6. Rosewood Library Bookshelf Modals (국가별 라디오 & 팟캐스트 서가)
   ========================================================================== */
.mv-modal-backdrop {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(12, 9, 11, 0.74);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.mv-library-modal-card {
    background: #1f171b;
    border: 1.5px solid var(--hz-border-brass);
    border-radius: 24px;
    width: 100%;
    max-width: 960px;
    height: min(82vh, 700px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--hz-text-ivory);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.mv-library-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: #161013;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mv-library-title-wrap h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--hz-gold-light);
}

.mv-library-title-wrap p {
    margin: 3px 0 0 0;
    font-size: 0.75rem;
    color: var(--hz-text-sub);
}

.mv-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--hz-text-ivory);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.mv-library-layout {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.mv-library-sidebar {
    width: 225px;
    background: #161013;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 12px 10px;
    gap: 5px;
}

.mv-shelf-dir-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px 11px;
    color: var(--hz-text-sub);
    font-size: 0.77rem;
    font-weight: 700;
    cursor: pointer;
}

.mv-shelf-dir-btn.active {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
    color: var(--hz-gold-light);
}

.mv-shelf-count-badge {
    font-size: 0.65rem;
    background: rgba(0, 0, 0, 0.4);
    color: var(--hz-gold-light);
    padding: 2px 6px;
    border-radius: 999px;
}

.mv-library-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #1f171b;
}

.mv-library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    flex-wrap: wrap;
}

.mv-library-filter-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mv-lib-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--hz-text-sub);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.mv-lib-pill.active {
    background: var(--hz-gold-light);
    border-color: var(--hz-gold-light);
    color: #181316;
}

.mv-library-search {
    background: #120d10;
    border: 1px solid var(--hz-border-brass);
    border-radius: 10px;
    padding: 0 12px;
    height: 34px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 0.78rem;
    width: 210px;
    outline: none;
}

.mv-podcast-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mv-podcast-view-switch {
    display: inline-flex;
    align-items: center;
    height: 34px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.mv-pod-view-btn {
    background: transparent;
    border: none;
    color: var(--hz-text-sub);
    font-size: 0.72rem;
    font-weight: 800;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.mv-pod-view-btn:hover {
    color: var(--hz-text-ivory);
}

.mv-pod-view-btn.active {
    background: rgba(212, 175, 55, 0.28);
    color: var(--hz-gold-light);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mv-bookshelf-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-bookshelf-tier {
    background: linear-gradient(180deg, #33221c 0%, #211511 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 12px 12px 6px 6px;
    padding: 14px 16px 0 16px;
    box-shadow: inset 0 8px 22px rgba(0, 0, 0, 0.7);
}

.mv-bookshelf-tier-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--hz-gold-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.mv-flat-shelf-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mv-flat-shelf-section + .mv-flat-shelf-section {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.mv-flat-band-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 12px;
    border-left: 3px solid var(--hz-gold, #d4af37);
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.03) 100%);
}

.mv-flat-band-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--hz-gold-light, #f3d999);
    letter-spacing: 0.02em;
}

.mv-flat-band-count {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(243, 217, 153, 0.88);
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 999px;
    padding: 2px 9px;
    white-space: nowrap;
}

.mv-bookshelf-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
    gap: 12px;
    padding-bottom: 12px;
}

.mv-bookshelf-ledge {
    height: 14px;
    margin: 0 -16px;
    background: linear-gradient(90deg, #523428 0%, #734a39 50%, #452b20 100%);
    border-top: 1px solid rgba(243, 217, 153, 0.3);
    border-radius: 0 0 6px 6px;
}

.mv-book-volume {
    background: linear-gradient(145deg, #2b1f24 0%, #1a1216 100%);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 10px;
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 108px;
    cursor: pointer;
    box-shadow: 4px 6px 14px rgba(0, 0, 0, 0.55);
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.mv-book-volume:hover {
    transform: translateY(-5px);
    border-color: var(--hz-gold-light);
}

.mv-book-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.mv-book-band-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.18);
    color: var(--hz-gold-light);
}

.mv-book-freq-tag {
    font-family: monospace;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--hz-gold-light);
}

.mv-book-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--hz-text-ivory);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mv-book-sub {
    font-size: 0.66rem;
    color: var(--hz-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-book-play-strip {
    margin-top: 7px;
    padding-top: 5px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--hz-gold-light);
}

/* 라디오 · 팟캐스트 책장 썸네일 이미지 카드 스타일 (외곽 카드 테두리 제거) */
.mv-bookshelf-row.is-thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 14px;
}

.mv-book-volume.mv-pod-thumb-card {
    padding: 0 !important;
    min-height: 0;
    gap: 6px;
    justify-content: flex-start;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mv-book-volume.mv-pod-thumb-card:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mv-pod-thumb-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 3px;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    background: #130d10;
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.52);
    flex-shrink: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mv-book-volume.mv-pod-thumb-card:hover .mv-pod-thumb-cover-wrap,
.mv-book-volume.mv-pod-thumb-card.is-selected .mv-pod-thumb-cover-wrap {
    border-color: var(--hz-gold-light);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65), 0 0 12px rgba(212, 175, 55, 0.38);
}

.mv-pod-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px;
    display: block;
    transition: transform 0.22s ease;
}

.mv-book-volume.mv-pod-thumb-card:hover .mv-pod-thumb-img {
    transform: scale(1.05);
}

.mv-pod-thumb-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: radial-gradient(circle, #35212a 0%, #170e13 100%);
    color: var(--hz-gold-light);
}

.mv-pod-thumb-lang {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(18, 12, 15, 0.84);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--hz-gold-light);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 5px;
    backdrop-filter: blur(4px);
}

.mv-pod-thumb-hover-play {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px 6px;
    background: linear-gradient(180deg, rgba(16, 10, 13, 0) 0%, rgba(16, 10, 13, 0.9) 100%);
    color: var(--hz-gold-light);
    font-size: 0.63rem;
    font-weight: 800;
    text-align: center;
    opacity: 0.92;
}

.mv-pod-thumb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 2px;
    min-width: 0;
}

.mv-pod-thumb-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.mv-fav-star-btn {
    background: transparent;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.42);
    transition: transform 0.14s ease, color 0.14s ease;
}

.mv-fav-star-btn:hover {
    transform: scale(1.18);
    color: #fde047;
}

.mv-fav-star-btn.is-fav {
    color: #facc15;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.55);
}

/* ⭐ 즐겨찾는 라디오 선반 관리 모달 */
.mv-fav-modal-card {
    width: min(92vw, 620px);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mv-fav-modal-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 18px;
    font-size: 0.76rem;
    color: var(--hz-text-sub);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.mv-fav-radio-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv-fav-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mv-fav-radio-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(250, 204, 21, 0.5);
}

.mv-fav-radio-item.is-dragging {
    opacity: 0.45;
    border-style: dashed;
    border-color: #facc15;
}

.mv-fav-radio-item.is-drag-over {
    border-color: #00e5ff;
    background: rgba(0, 229, 255, 0.12);
    transform: translateY(-1px);
}

.mv-fav-drag-handle {
    cursor: grab;
    color: rgba(243, 217, 153, 0.72);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 4px 5px;
    border-radius: 6px;
    user-select: none;
    touch-action: none;
    flex-shrink: 0;
    letter-spacing: -1px;
}

.mv-fav-drag-handle:hover {
    color: #fde047;
    background: rgba(212, 175, 55, 0.14);
}

.mv-fav-drag-handle:active {
    cursor: grabbing;
}

.mv-fav-item-rank {
    font-size: 0.72rem;
    font-weight: 800;
    color: #facc15;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.mv-fav-item-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #130d10;
    padding: 2px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.mv-fav-item-info {
    flex: 1;
    min-width: 0;
}

.mv-fav-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff8eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-fav-item-sub {
    font-size: 0.7rem;
    color: var(--hz-text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-fav-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mv-fav-remove-btn {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 7px;
    cursor: pointer;
}

.mv-fav-remove-btn:hover {
    background: rgba(239, 68, 68, 0.28);
    color: #ffffff;
}

.mv-book-volume.mv-pod-thumb-card .mv-book-title {
    font-size: 0.74rem;
    -webkit-line-clamp: 1;
}

.mv-country-library-nowplaying {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 18px;
    background: linear-gradient(90deg, rgba(28, 20, 24, 0.96) 0%, rgba(18, 13, 16, 0.96) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    flex-wrap: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mv-lib-nowplaying-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.76rem;
    color: var(--hz-text-ivory);
}

.mv-lib-nowplaying-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
    flex-shrink: 0;
}

.mv-lib-nowplaying-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--hz-gold-light);
    flex-shrink: 0;
}

.mv-lib-nowplaying-divider {
    width: 1px;
    height: 12px;
    background: rgba(212, 175, 55, 0.28);
    flex-shrink: 0;
}

.mv-lib-nowplaying-station {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff8eb;
}

.mv-lib-nowplaying-station strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.mv-lib-nowplaying-meta {
    font-size: 0.7rem;
    color: var(--hz-text-sub);
    flex-shrink: 0;
    padding-left: 2px;
}

.mv-lib-done-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--hz-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mv-lib-done-btn:hover {
    background: linear-gradient(90deg, #f3d999 0%, #d4af37 100%);
    color: #181316;
    border-color: transparent;
}

.mv-pod-thumb-country-flag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.85));
}

.mv-book-volume.is-selected:not(.mv-pod-thumb-card) {
    border-color: #f3d999;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
    background: linear-gradient(145deg, #3b282e 0%, #24181d 100%);
}

.mv-book-volume.mv-pod-thumb-card.is-selected .mv-pod-thumb-hover-play {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.92) 100%);
    color: #ffffff;
}

.mv-bookshelf-more-row {
    display: flex;
    justify-content: center;
    padding: 4px 0 12px;
}

.mv-bookshelf-more-btn {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--hz-gold-light);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mv-bookshelf-more-btn:hover {
    background: rgba(212, 175, 55, 0.28);
    color: #ffffff;
}

.mv-podcast-episode-drawer {
    width: 310px;
    background: #150f12;
    border-left: 1px solid rgba(212, 175, 55, 0.16);
    display: flex;
    flex-direction: column;
    padding: 14px;
    overflow-y: auto;
}

.mv-ep-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 9px 11px;
    margin-bottom: 8px;
    cursor: pointer;
}

.mv-ep-item:hover {
    background: rgba(212, 175, 55, 0.20);
    border-color: var(--hz-gold-light);
}

.mv-ep-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    margin-bottom: 4px;
}

.mv-ep-meta {
    font-size: 0.65rem;
    color: var(--hz-text-muted);
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   7. 3D Projected Character & World Badges
   ========================================================================== */
.mv-avatar-hud {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: none;
    transform-origin: 0 0;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.mv-nametag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(28, 21, 24, 0.86);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    white-space: nowrap;
    transform-origin: 50% 100%;
    backface-visibility: hidden;
}

.mv-avatar-hud.is-self .mv-nametag {
    border-color: var(--hz-gold-light);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.mv-action-status-pill {
    background: rgba(212, 175, 55, 0.22);
    border: 1px solid rgba(243, 217, 153, 0.45);
    color: var(--hz-gold-light);
    font-size: 0.63rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.mv-now-listening-pill {
    pointer-events: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(28, 21, 24, 0.92);
    border: 1px solid var(--hz-border-brass);
    color: var(--hz-gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-tune-in-chip {
    background: rgba(212, 175, 55, 0.25);
    color: var(--hz-gold-light);
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 999px;
}

.mv-speech-bubble {
    background: rgba(250, 246, 240, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #1e1518;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 12px;
    max-width: 210px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    margin-bottom: 3px;
    position: relative;
}

.mv-speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(250, 246, 240, 0.82) transparent transparent;
}

.is-jigi-attendant-hud .mv-speech-bubble,
.mv-speech-bubble.is-npc-translucent {
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    color: #0f172a !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.90);
}

.is-jigi-attendant-hud .mv-speech-bubble::after,
.mv-speech-bubble.is-npc-translucent::after {
    border-color: rgba(255, 255, 255, 0.48) transparent transparent !important;
}

.mv-floating-emoji {
    display: inline-block;
    font-size: 1.45rem;
    animation: mvGoyoFloatUp 2.0s ease-out forwards;
}

@keyframes mvGoyoFloatUp {
    0% { transform: translateY(8px) scale(0.7); opacity: 0; }
    20% { transform: translateY(0px) scale(1.15); opacity: 1; }
    100% { transform: translateY(-42px) scale(1.0); opacity: 0; }
}

.mv-world-marker {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
    will-change: transform;
}

.mv-marker-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(28, 21, 24, 0.92);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 4px 11px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.mv-marker-card:hover {
    transform: scale(1.06);
    border-color: var(--hz-gold-light);
}

.mv-marker-flag {
    font-size: 0.95rem;
}

.mv-marker-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--hz-text-ivory);
    white-space: nowrap;
}

/* ==========================================================================
   8. Mobile Forced-Landscape & PC-Widescreen Proportional Layout
      - Automatically rotates #metaverse-container 90° when mobile is in portrait
      - Scales all PC HUD panels proportionally so the entire PC layout is visible on mobile!
   ========================================================================== */
#metaverse-container.mv-force-landscape-rotated {
    position: fixed !important;
    top: 0 !important;
    left: 100vw !important;
    width: 100vh !important;
    height: 100vw !important;
    width: 100dvh !important;
    height: 100dvw !important;
    right: auto !important;
    bottom: auto !important;
    transform-origin: top left !important;
    transform: rotate(90deg) !important;
}

#metaverse-container.mv-mobile-landscape .mv-top-left-wrap,
#metaverse-container.mv-force-landscape-rotated .mv-top-left-wrap {
    top: 8px;
    left: 10px;
    transform-origin: top left;
    transform: scale(0.82);
}

#metaverse-container.mv-mobile-landscape .mv-top-right-wrap,
#metaverse-container.mv-force-landscape-rotated .mv-top-right-wrap {
    display: flex !important;
    top: 8px;
    right: 10px;
    transform-origin: top right;
    transform: scale(0.82);
}

#metaverse-container.mv-mobile-landscape .mv-whisper-log,
#metaverse-container.mv-force-landscape-rotated .mv-whisper-log {
    display: flex !important;
    bottom: 52px;
    right: 12px;
    left: auto;
    transform-origin: bottom right;
    align-items: flex-start;
    text-align: left;
    transform: scale(0.80);
}

#metaverse-container.mv-mobile-landscape .mv-bottom-dock-wrap,
#metaverse-container.mv-force-landscape-rotated .mv-bottom-dock-wrap {
    top: 8px;
    bottom: auto;
    transform-origin: top center;
    transform: translateX(-50%) scale(0.82);
    width: max-content;
    max-width: 145%;
}

#metaverse-container.mv-mobile-landscape .mv-bottom-chat-wrap,
#metaverse-container.mv-force-landscape-rotated .mv-bottom-chat-wrap {
    bottom: 10px;
    transform-origin: bottom center;
    transform: translateX(-50%) scale(0.82);
}

#metaverse-container.mv-mobile-landscape .mv-goyo-entry-backdrop,
#metaverse-container.mv-force-landscape-rotated .mv-goyo-entry-backdrop {
    padding: 4px 10px;
}

#metaverse-container.mv-mobile-landscape .mv-goyo-entry-card,
#metaverse-container.mv-force-landscape-rotated .mv-goyo-entry-card {
    max-width: 640px;
    max-height: calc(100% - 8px);
    padding: 8px 14px;
    gap: 5px;
    border-radius: 14px;
    zoom: 1;
}

#metaverse-container.mv-mobile-landscape .mv-entry-top-bar,
#metaverse-container.mv-force-landscape-rotated .mv-entry-top-bar {
    padding-bottom: 4px;
}

#metaverse-container.mv-mobile-landscape .mv-entry-title,
#metaverse-container.mv-force-landscape-rotated .mv-entry-title {
    font-size: 0.92rem;
}

#metaverse-container.mv-mobile-landscape .mv-entry-close-btn,
#metaverse-container.mv-force-landscape-rotated .mv-entry-close-btn {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
}

#metaverse-container.mv-mobile-landscape .mv-preset-strip-box,
#metaverse-container.mv-force-landscape-rotated .mv-preset-strip-box {
    padding: 3px 6px;
    gap: 4px;
}

#metaverse-container.mv-mobile-landscape .mv-preset-chip,
#metaverse-container.mv-force-landscape-rotated .mv-preset-chip {
    height: 30px;
    min-height: 30px;
    padding: 0 5px;
    font-size: 0.62rem;
}

#metaverse-container.mv-mobile-landscape .mv-cust-tabs,
#metaverse-container.mv-force-landscape-rotated .mv-cust-tabs {
    padding: 3px;
    gap: 3px;
}

#metaverse-container.mv-mobile-landscape .mv-cust-tab,
#metaverse-container.mv-force-landscape-rotated .mv-cust-tab {
    height: 30px;
    min-height: 30px;
    padding: 0 4px;
    font-size: 0.65rem;
}

#metaverse-container.mv-mobile-landscape .mv-cust-pane,
#metaverse-container.mv-force-landscape-rotated .mv-cust-pane {
    padding: 6px 9px;
}

#metaverse-container.mv-mobile-landscape .mv-cust-pane.active,
#metaverse-container.mv-force-landscape-rotated .mv-cust-pane.active {
    gap: 4px;
}

#metaverse-container.mv-mobile-landscape .mv-cust-group-label,
#metaverse-container.mv-force-landscape-rotated .mv-cust-group-label {
    font-size: 0.61rem;
}

#metaverse-container.mv-mobile-landscape .mv-opt-card,
#metaverse-container.mv-force-landscape-rotated .mv-opt-card,
#metaverse-container.mv-mobile-landscape .mv-swatch-group,
#metaverse-container.mv-force-landscape-rotated .mv-swatch-group {
    height: 30px;
    min-height: 30px;
    padding: 0 6px;
    gap: 4px;
    border-radius: 7px;
}

#metaverse-container.mv-mobile-landscape .mv-opt-icon,
#metaverse-container.mv-force-landscape-rotated .mv-opt-icon {
    font-size: 0.82rem;
}

#metaverse-container.mv-mobile-landscape .mv-opt-name,
#metaverse-container.mv-force-landscape-rotated .mv-opt-name,
#metaverse-container.mv-mobile-landscape .mv-swatch-label,
#metaverse-container.mv-force-landscape-rotated .mv-swatch-label {
    font-size: 0.64rem;
}

#metaverse-container.mv-mobile-landscape .mv-nick-row,
#metaverse-container.mv-force-landscape-rotated .mv-nick-row {
    height: auto;
    min-height: 0;
    padding: 0;
}

#metaverse-container.mv-mobile-landscape .mv-nick-input,
#metaverse-container.mv-force-landscape-rotated .mv-nick-input {
    height: 30px;
    min-height: 30px;
    font-size: 0.78rem;
    padding: 0 10px;
}

#metaverse-container.mv-mobile-landscape .mv-nick-random-btn,
#metaverse-container.mv-force-landscape-rotated .mv-nick-random-btn {
    width: 30px;
    height: 30px;
    min-height: 30px;
    font-size: 0.86rem;
}

#metaverse-container.mv-mobile-landscape .mv-entry-default-btn,
#metaverse-container.mv-force-landscape-rotated .mv-entry-default-btn,
#metaverse-container.mv-mobile-landscape .mv-entry-submit-btn,
#metaverse-container.mv-force-landscape-rotated .mv-entry-submit-btn {
    height: 30px;
    min-height: 30px;
    font-size: 0.73rem;
    border-radius: 8px;
}

#metaverse-container.mv-mobile-landscape .mv-library-modal-card,
#metaverse-container.mv-force-landscape-rotated .mv-library-modal-card,
#metaverse-container.mv-mobile-landscape .mv-trivia-modal-card,
#metaverse-container.mv-force-landscape-rotated .mv-trivia-modal-card,
#metaverse-container.mv-mobile-landscape .mv-userlist-modal-card,
#metaverse-container.mv-force-landscape-rotated .mv-userlist-modal-card {
    max-width: 96%;
    width: 96%;
    height: 94%;
    max-height: calc(100% - 10px);
    zoom: 0.90;
    border-radius: 16px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-landscape .mv-library-header,
#metaverse-container.mv-force-landscape-rotated .mv-library-header,
#metaverse-container.mv-mobile-landscape .mv-trivia-tabs-bar,
#metaverse-container.mv-force-landscape-rotated .mv-trivia-tabs-bar {
    padding: 8px 14px;
}

#metaverse-container.mv-mobile-landscape .mv-library-title-wrap h3,
#metaverse-container.mv-force-landscape-rotated .mv-library-title-wrap h3 {
    font-size: 1.05rem;
}

#metaverse-container.mv-mobile-landscape .mv-library-body,
#metaverse-container.mv-force-landscape-rotated .mv-library-body,
#metaverse-container.mv-mobile-landscape .mv-trivia-content-body,
#metaverse-container.mv-force-landscape-rotated .mv-trivia-content-body {
    padding: 8px 12px;
}

/* ==========================================================================
   Virtual Circular Joystick Controller (우측 중앙 하단 캐릭터 이동 썸스틱)
   ========================================================================== */
.mv-virtual-joystick {
    position: absolute;
    left: 22px;
    right: auto;
    bottom: 82px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(24, 19, 22, 0.78);
    border: 1.5px solid var(--hz-border-brass);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
    z-index: 26;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    touch-action: none;
}

.mv-joy-ring {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-joy-knob {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f3d999 0%, #d4af37 70%, #9a7b2c 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.mv-joy-dir {
    position: absolute;
    font-size: 0.54rem;
    color: rgba(243, 217, 153, 0.58);
    pointer-events: none;
    line-height: 1;
    transition: color 0.15s ease;
}

.mv-joy-dir.up {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.mv-joy-dir.down {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.mv-joy-dir.left {
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.mv-joy-dir.right {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.mv-joystick-knob {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #f8e5b2 0%, #d4af37 52%, #8e6c1c 100%);
    border: 1.5px solid rgba(255, 250, 235, 0.85);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.65),
        inset 0 2px 4px rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate3d(0px, 0px, 0);
    will-change: transform;
}

.mv-joystick-knob::after {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(120, 86, 16, 0.35) 100%);
    border: 1px solid rgba(255, 250, 235, 0.45);
}

/* ==========================================================================
   9. Mobile Portrait Layout Optimization (세로모드 전용 공간 효율화 레이아웃)
   ========================================================================== */
#metaverse-container.mv-mobile-portrait .mv-top-left-wrap {
    top: 10px;
    left: 8px;
    max-width: calc(100vw - 16px);
    gap: 6px;
    z-index: 42;
}

#metaverse-container.mv-mobile-portrait .mv-exit-bar {
    gap: 5px;
}

#metaverse-container.mv-mobile-portrait .mv-exit-globe-btn,
#metaverse-container.mv-mobile-portrait .mv-channel-select {
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.70rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px !important;
    background-color: var(--hz-bg-atelier) !important;
    border: 1px solid var(--hz-border-brass) !important;
    color: var(--hz-gold-light) !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
}

#metaverse-container.mv-mobile-portrait .mv-channel-select {
    display: inline-block;
    line-height: 30px;
    padding: 0 22px 0 10px;
    background-position: right 8px center !important;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#metaverse-container.mv-mobile-portrait .mv-top-right-wrap {
    top: 10px;
    right: 8px;
    gap: 6px;
    z-index: 42;
}

#metaverse-container.mv-mobile-portrait .mv-sansa-icon-btn {
    height: 22px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.68rem;
    gap: 3px;
    box-sizing: border-box;
}

/* In portrait mode, show only user count number next to the icon, and hide extra top-right buttons */
#metaverse-container.mv-mobile-portrait .mv-usercount-prefix,
#metaverse-container.mv-mobile-portrait .mv-usercount-suffix {
    display: none !important;
}

#metaverse-container.mv-mobile-portrait #mv-btn-daynight,
#metaverse-container.mv-mobile-portrait #mv-btn-quality-preset,
#metaverse-container.mv-mobile-portrait #mv-btn-toggle-status-card {
    display: none !important;
}

#metaverse-container.mv-mobile-portrait .mv-portrait-more-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 22px;
    min-height: 22px;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    padding: 0 8px;
    letter-spacing: 0.04em;
    color: var(--hz-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 999px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-portrait-more-btn.active {
    background: rgba(212, 175, 55, 0.28);
    border-color: var(--hz-gold-light);
    color: #ffffff;
}

/* By default in portrait mode, collapse the secondary action dock; show only when '⋯' is tapped */
#metaverse-container.mv-mobile-portrait:not(.mv-portrait-more-open) .mv-bottom-dock-wrap {
    display: none !important;
}

#metaverse-container.mv-mobile-portrait.mv-portrait-more-open .mv-bottom-dock-wrap {
    display: flex !important;
    top: 46px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 12px);
    z-index: 41;
    gap: 5px;
    pointer-events: none;
}

#metaverse-container.mv-mobile-portrait .mv-portrait-only-dock-item {
    display: inline-flex !important;
}

#metaverse-container.mv-mobile-portrait .mv-dock-action-btn {
    min-width: 31px;
    height: 30px;
    padding: 3px 6px;
    font-size: 0.86rem;
    border-radius: 7px;
}

#metaverse-container.mv-mobile-portrait .mv-dock-icon {
    font-size: 0.92rem;
}

#metaverse-container.mv-mobile-portrait .mv-dock-count {
    font-size: 0.62rem;
}

#metaverse-container.mv-mobile-portrait .mv-dock-divider {
    height: 14px;
    margin: 0 1px;
}

#metaverse-container.mv-mobile-portrait .mv-place-title {
    font-size: 0.95rem;
}

#metaverse-container.mv-mobile-portrait .mv-place-desc {
    font-size: 0.7rem;
}

#metaverse-container.mv-mobile-portrait .mv-temp-big {
    font-size: 1.35rem;
}

#metaverse-container.mv-mobile-portrait .mv-whisper-log {
    top: auto;
    left: auto;
    right: 10px;
    bottom: 54px;
    width: calc(100vw - 125px);
    max-width: 240px;
    align-items: flex-start;
    text-align: left;
    font-size: 0.68rem;
    gap: 3px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-deck-panel {
    width: calc(100vw - 10px);
    max-width: 480px;
    padding: 11px 10px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin-bottom: 6px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-brand {
    font-size: 0.78rem;
    white-space: nowrap;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-top-controls {
    width: 100%;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

#metaverse-container.mv-mobile-portrait .mv-deck-mode-switch {
    padding: 2px;
    gap: 2px;
}

#metaverse-container.mv-mobile-portrait .mv-deck-mode-btn {
    font-size: 0.65rem;
    min-height: 27px;
    padding: 4px 7px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-icon-btn {
    font-size: 0.66rem;
    min-height: 29px;
    padding: 4px 7px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-lcd {
    padding: 6px 9px;
    margin-bottom: 6px;
    gap: 6px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-freq-num {
    font-size: 1.16rem;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-station-title {
    font-size: 0.73rem;
}

#metaverse-container.mv-mobile-portrait .mv-band-tab {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 0.65rem;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-scale-box {
    height: 82px;
}

#metaverse-container.mv-mobile-portrait .mv-tuner-ctrl-btn {
    height: 38px;
    font-size: 0.74rem;
    padding: 0 10px;
}

#metaverse-container.mv-mobile-portrait #mv-tuner-prev-btn,
#metaverse-container.mv-mobile-portrait #mv-tuner-next-btn {
    min-width: 84px;
    padding: 0 14px;
}

#metaverse-container.mv-mobile-portrait .mv-bottom-chat-wrap {
    bottom: max(8px, env(safe-area-inset-bottom, 8px));
    left: 8px;
    right: 48px;
    transform: none;
    width: auto;
    max-width: none;
    align-items: center;
    z-index: 47;
    pointer-events: none;
}

#metaverse-container.mv-mobile-portrait .mv-bottom-bar-btns {
    gap: 4px;
    pointer-events: auto;
}

#metaverse-container.mv-mobile-portrait .mv-chat-trigger-btn {
    height: 34px;
    min-height: 34px;
    padding: 0 8px;
    gap: 4px;
    font-size: 0.70rem;
    white-space: nowrap;
    box-sizing: border-box;
}

@media (max-width: 359px) {
    #metaverse-container.mv-mobile-portrait .mv-chat-trigger-btn {
        padding: 0 9px;
    }

    #metaverse-container.mv-mobile-portrait .mv-chat-trigger-btn > span:not(.mv-dock-icon):not(.mv-dock-count) {
        display: none;
    }
}

#metaverse-container.mv-mobile-portrait .mv-orientation-fs-btn {
    bottom: max(8px, env(safe-area-inset-bottom, 8px));
    right: 8px;
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 48;
}

#metaverse-container.mv-mobile-portrait .mv-chat-input {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 0.76rem;
}

#metaverse-container.mv-mobile-portrait .mv-chat-close-btn,
#metaverse-container.mv-mobile-portrait .mv-chat-send-btn {
    height: 27px;
    padding: 4px 10px;
    min-width: 44px;
    font-size: 0.7rem;
}

/* Portrait Modals (외형/장비 모달 & 서가 모달) */
#metaverse-container.mv-mobile-portrait .mv-goyo-entry-backdrop {
    padding: 8px;
}

#metaverse-container.mv-mobile-portrait .mv-goyo-entry-card {
    width: 100%;
    max-width: 420px;
    max-height: calc(100dvh - 16px);
    padding: 10px 12px;
    gap: 6px;
    border-radius: 16px;
}

#metaverse-container.mv-mobile-portrait .mv-entry-top-bar > div {
    gap: 6px;
}

#metaverse-container.mv-mobile-portrait .mv-entry-title {
    font-size: 0.94rem;
}

#metaverse-container.mv-mobile-portrait .mv-entry-en {
    font-size: 0.53rem;
    letter-spacing: 0.05em;
}

#metaverse-container.mv-mobile-portrait .mv-preset-strip-box {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding: 6px 8px;
}

#metaverse-container.mv-mobile-portrait .mv-preset-label {
    padding: 0 4px 0 2px;
    font-size: 0.66rem;
}

#metaverse-container.mv-mobile-portrait .mv-preset-chip {
    flex: 0 0 auto;
    min-width: 76px;
    height: 34px;
    min-height: 34px;
    font-size: 0.66rem;
    padding: 0 8px;
}

#metaverse-container.mv-mobile-portrait #mv-gfx-preset-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    gap: 4px;
    padding: 6px 7px;
}

#metaverse-container.mv-mobile-portrait #mv-gfx-preset-strip .mv-preset-label {
    grid-column: 1 / -1;
}

#metaverse-container.mv-mobile-portrait #mv-gfx-preset-strip .mv-preset-chip {
    min-width: 0;
    height: 30px;
    min-height: 30px;
    padding: 0 2px;
    font-size: 0.59rem;
    letter-spacing: -0.03em;
}

#metaverse-container.mv-mobile-portrait .mv-cust-tab {
    height: 34px;
    min-height: 34px;
    padding: 0 3px;
    font-size: 0.65rem;
}

#metaverse-container.mv-mobile-portrait .mv-cust-pane {
    padding: 7px 8px;
}

#metaverse-container.mv-mobile-portrait .mv-option-grid.cols-3,
#metaverse-container.mv-mobile-portrait .mv-option-grid.cols-4,
#metaverse-container.mv-mobile-portrait .mv-option-grid.cols-5 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
}

#metaverse-container.mv-mobile-portrait .mv-option-grid .mv-opt-card {
    flex: 0 0 auto;
    min-width: 78px;
    height: 36px;
    min-height: 36px;
    padding: 0 8px;
    gap: 4px;
}

#metaverse-container.mv-mobile-portrait .mv-opt-icon {
    font-size: 0.78rem;
}

#metaverse-container.mv-mobile-portrait .mv-opt-name {
    font-size: 0.62rem;
}

#metaverse-container.mv-mobile-portrait .mv-swatch-row,
#metaverse-container.mv-mobile-portrait .mv-color-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

#metaverse-container.mv-mobile-portrait .mv-swatch-row.mv-swatch-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#metaverse-container.mv-mobile-portrait .mv-skin-palette-row {
    padding: 5px 6px;
    gap: 4px;
}

#metaverse-container.mv-mobile-portrait .mv-skin-swatch {
    width: 22px;
    height: 22px;
    min-width: 18px;
}

#metaverse-container.mv-mobile-portrait .mv-swatch-group {
    height: 34px;
    min-height: 34px;
    padding: 0 5px;
    gap: 3px;
}

#metaverse-container.mv-mobile-portrait .mv-swatch-label {
    font-size: 0.6rem;
}

#metaverse-container.mv-mobile-portrait .mv-color-input,
#metaverse-container.mv-mobile-portrait .mv-swatch-group input[type="color"] {
    width: 18px;
    height: 18px;
}

#metaverse-container.mv-mobile-portrait .mv-nick-row {
    height: auto;
    min-height: 0;
    padding: 0;
}

#metaverse-container.mv-mobile-portrait .mv-nick-input {
    height: 34px;
    min-height: 34px;
    font-size: 0.8rem;
    padding: 0 10px;
}

#metaverse-container.mv-mobile-portrait .mv-nick-random-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
    font-size: 0.9rem;
}

#metaverse-container.mv-mobile-portrait .mv-entry-actions-row,
#metaverse-container.mv-mobile-portrait .mv-entry-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

#metaverse-container.mv-mobile-portrait .mv-entry-default-btn,
#metaverse-container.mv-mobile-portrait .mv-entry-submit-btn {
    height: 34px;
    min-height: 34px;
    font-size: 0.74rem;
    padding: 0 8px;
}

#metaverse-container.mv-mobile-portrait .mv-modal-backdrop {
    padding: 6px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-library-modal-card {
    width: 100%;
    max-width: 100%;
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 16px;
    zoom: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-library-header {
    padding: 10px 12px;
    gap: 8px;
    flex-shrink: 0;
}

#metaverse-container.mv-mobile-portrait .mv-library-title-wrap {
    min-width: 0;
    flex: 1;
}

#metaverse-container.mv-mobile-portrait .mv-library-title-wrap h3 {
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#metaverse-container.mv-mobile-portrait .mv-library-title-wrap p {
    display: none;
}

#metaverse-container.mv-mobile-portrait .mv-library-layout {
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

#metaverse-container.mv-mobile-portrait .mv-country-library-nowplaying {
    padding: 6px 10px;
    gap: 8px;
}

#metaverse-container.mv-mobile-portrait .mv-lib-nowplaying-meta {
    display: none;
}

#metaverse-container.mv-mobile-portrait .mv-lib-done-btn {
    padding: 4px 10px;
    font-size: 0.68rem;
}

#metaverse-container.mv-mobile-portrait .mv-library-sidebar {
    width: 100%;
    max-height: 46px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    flex-shrink: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

#metaverse-container.mv-mobile-portrait .mv-library-sidebar::-webkit-scrollbar {
    display: none;
}

#metaverse-container.mv-mobile-portrait .mv-shelf-dir-btn {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 6px;
    padding: 5px 10px;
    font-size: 0.72rem;
    height: 32px;
    border-radius: 999px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-library-main {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

#metaverse-container.mv-mobile-portrait .mv-library-toolbar {
    padding: 7px 10px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
}

#metaverse-container.mv-mobile-portrait #mv-podcast-library-modal .mv-library-toolbar > span {
    display: none;
}

#metaverse-container.mv-mobile-portrait .mv-podcast-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
}

#metaverse-container.mv-mobile-portrait .mv-podcast-toolbar-actions .mv-library-search {
    flex: 1;
    width: auto;
    min-width: 0;
}

#metaverse-container.mv-mobile-portrait .mv-pod-view-btn {
    padding: 4px 7px;
    font-size: 0.65rem;
}

#metaverse-container.mv-mobile-portrait .mv-library-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    width: 100%;
    scrollbar-width: none;
}

#metaverse-container.mv-mobile-portrait .mv-library-filter-pills::-webkit-scrollbar {
    display: none;
}

#metaverse-container.mv-mobile-portrait .mv-lib-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 4px 10px;
    font-size: 0.68rem;
}

#metaverse-container.mv-mobile-portrait .mv-library-search {
    width: 100%;
    height: 32px;
    font-size: 0.76rem;
    padding: 5px 10px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-bookshelf-scroll {
    padding: 10px 10px 16px;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

#metaverse-container.mv-mobile-portrait .mv-bookshelf-tier {
    padding: 10px 10px 0 10px;
    border-radius: 12px;
}

#metaverse-container.mv-mobile-portrait .mv-bookshelf-tier-label {
    font-size: 0.68rem;
    margin-bottom: 8px;
}

#metaverse-container.mv-mobile-portrait .mv-bookshelf-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 10px;
}

#metaverse-container.mv-mobile-portrait .mv-bookshelf-row.is-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 6px;
    padding-bottom: 6px;
}

#metaverse-container.mv-mobile-portrait .mv-flat-band-heading {
    padding: 6px 10px;
}

#metaverse-container.mv-mobile-portrait .mv-flat-band-title {
    font-size: 0.75rem;
}

#metaverse-container.mv-mobile-portrait .mv-flat-band-count {
    font-size: 0.64rem;
    padding: 2px 7px;
}

#metaverse-container.mv-mobile-portrait .mv-book-volume.mv-pod-thumb-card {
    gap: 4px;
}

#metaverse-container.mv-mobile-portrait .mv-book-volume.mv-pod-thumb-card .mv-book-title {
    font-size: 0.66rem;
    line-height: 1.25;
}

#metaverse-container.mv-mobile-portrait .mv-book-volume.mv-pod-thumb-card .mv-book-sub {
    font-size: 0.58rem;
}

#metaverse-container.mv-mobile-portrait .mv-book-volume {
    padding: 8px 9px;
    min-height: 86px;
    min-width: 0;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait .mv-book-title {
    font-size: 0.72rem;
}

#metaverse-container.mv-mobile-portrait .mv-book-sub {
    font-size: 0.62rem;
}

#metaverse-container.mv-mobile-portrait .mv-book-play-strip {
    font-size: 0.62rem;
    margin-top: 5px;
    padding-top: 4px;
}

#metaverse-container.mv-mobile-portrait .mv-podcast-episode-drawer {
    width: 100%;
    height: 48%;
    max-height: 50%;
    flex-shrink: 0;
    border-left: none;
    border-top: 1.5px solid rgba(212, 175, 55, 0.45);
    padding: 10px 12px;
    box-sizing: border-box;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.75);
}

#metaverse-container.mv-mobile-portrait .mv-country-picker-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
}

#metaverse-container.mv-mobile-portrait .mv-country-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 12px;
}

/* ==========================================================================
   10. Bottom-Right Orientation & Fullscreen Toggle Button (세로 <-> 가로 전체화면 전환)
   ========================================================================== */
.mv-orientation-fs-btn {
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 33;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    color: var(--hz-gold-light);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.44);
    pointer-events: auto;
    display: none;
}

.mv-orientation-fs-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
}

#metaverse-container.mv-mobile-portrait .mv-orientation-fs-btn,
#metaverse-container.mv-mobile-landscape .mv-orientation-fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mv-app-webview-exit-btn {
    position: absolute;
    right: 68px;
    bottom: 20px;
    z-index: 48;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    color: var(--hz-gold-light);
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.44);
    pointer-events: auto;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mv-app-webview-exit-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--hz-gold-light);
}

#metaverse-container.mv-app-webview.mv-mobile-portrait .mv-app-webview-exit-btn {
    display: inline-flex;
    right: 48px;
    bottom: max(8px, env(safe-area-inset-bottom, 8px));
}

#metaverse-container.mv-app-webview.mv-mobile-landscape .mv-app-webview-exit-btn {
    display: inline-flex;
    right: 66px;
    bottom: 20px;
}

#metaverse-container.mv-app-webview.mv-mobile-portrait .mv-bottom-chat-wrap {
    right: 88px;
}

#metaverse-container.mv-mobile-portrait.mv-chat-open .mv-bottom-chat-wrap {
    right: 8px;
    bottom: calc(max(8px, env(safe-area-inset-bottom, 8px)) + var(--mv-ime-offset, 0px));
}

#metaverse-container.mv-mobile-portrait.mv-chat-open .mv-bottom-bar-btns {
    width: 100%;
    justify-content: flex-start;
    padding-right: 40px;
    box-sizing: border-box;
}

#metaverse-container.mv-app-webview.mv-mobile-portrait.mv-chat-open .mv-bottom-bar-btns {
    padding-right: 80px;
}

#metaverse-container.mv-mobile-portrait.mv-chat-open .mv-chat-popover {
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait.mv-chat-open .mv-chat-input {
    height: 30px;
    min-height: 30px;
    box-sizing: border-box;
}

#metaverse-container.mv-mobile-portrait.mv-chat-open .mv-orientation-fs-btn,
#metaverse-container.mv-app-webview.mv-mobile-portrait.mv-chat-open .mv-app-webview-exit-btn {
    bottom: calc(max(8px, env(safe-area-inset-bottom, 8px)) + 52px + var(--mv-ime-offset, 0px));
}

/* ==========================================================================
   Radio Frequency & History Trivia Archive Modal
   ========================================================================== */
.mv-trivia-modal-card {
    max-width: 1040px;
    height: min(86vh, 760px);
}

.mv-trivia-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: #181115;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    overflow-x: auto;
    flex-shrink: 0;
}

.mv-trivia-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(45, 27, 33, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #e2d4c8;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.mv-trivia-tab-btn:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.55);
    color: #ffffff;
}

.mv-trivia-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(180, 83, 9, 0.38));
    border-color: var(--hz-gold-light, #fde047);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.mv-trivia-content-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
    min-height: 0;
}

.mv-trivia-pane {
    display: none;
}

.mv-trivia-pane.active {
    display: block;
}

/* Frequency Bands Grid */
.mv-trivia-freq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 16px;
}

.mv-trivia-freq-card {
    background: #191216;
    border: 1.2px solid rgba(212, 175, 55, 0.24);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mv-trivia-freq-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 14px rgba(212, 175, 55, 0.18);
}

.mv-trivia-freq-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mv-trivia-band-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.mv-trivia-band-tag.fm-tag {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(52, 211, 153, 0.6);
    color: #34d399;
}

.mv-trivia-band-tag.am-tag {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.6);
    color: #fbbf24;
}

.mv-trivia-band-tag.sw-tag {
    background: rgba(168, 85, 247, 0.22);
    border: 1px solid rgba(192, 132, 252, 0.6);
    color: #c084fc;
}

.mv-trivia-band-tag.web-tag {
    background: rgba(14, 165, 233, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #38bdf8;
}

.mv-trivia-freq-range {
    font-size: 0.82rem;
    color: #d1bfae;
    font-family: monospace;
    font-weight: 700;
}

.mv-trivia-freq-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
}

.mv-trivia-spec-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(10, 7, 9, 0.55);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mv-trivia-spec-item {
    display: flex;
    align-items: baseline;
    font-size: 0.82rem;
    gap: 8px;
}

.mv-trivia-spec-item .spec-label {
    color: #a89488;
    min-width: 84px;
    font-weight: 600;
}

.mv-trivia-spec-item .spec-val {
    color: #f5ebe2;
    font-weight: 700;
}

.mv-trivia-desc-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.83rem;
    line-height: 1.56;
    color: #cfbeaf;
}

.mv-trivia-desc-box .mv-trivia-p {
    margin: 0;
}

.mv-trivia-desc-box strong {
    color: #f7e6c4;
}

/* History Timeline */
.mv-trivia-timeline-wrap {
    padding: 8px 10px;
}

.mv-trivia-timeline {
    position: relative;
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-trivia-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    width: 2px;
    background: linear-gradient(180deg, #d4af37 0%, rgba(212, 175, 55, 0.3) 90%, transparent 100%);
}

.mv-timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mv-timeline-badge {
    position: absolute;
    left: -36px;
    top: 6px;
    transform: translateX(-50%);
    background: #d4af37;
    color: #160e13;
    font-weight: 900;
    font-size: 0.74rem;
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    white-space: nowrap;
}

.mv-timeline-card {
    background: #191216;
    border: 1.2px solid rgba(212, 175, 55, 0.22);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.mv-timeline-card.current-era {
    background: linear-gradient(135deg, rgba(38, 24, 32, 0.95), rgba(18, 14, 17, 0.95));
    border-color: #d4af37;
    box-shadow: 0 8px 26px rgba(212, 175, 55, 0.22);
}

.mv-timeline-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fde047;
    background: rgba(212, 175, 55, 0.16);
    padding: 2px 8px;
    border-radius: 6px;
}

.mv-timeline-card h5 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
}

.mv-timeline-card p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.55;
    color: #d4c4b5;
}

/* Responsive adjustments */
#metaverse-container.mv-mobile-portrait .mv-trivia-modal-card {
    width: 100%;
    max-width: 100%;
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 16px;
}

#metaverse-container.mv-mobile-portrait .mv-trivia-freq-grid {
    grid-template-columns: 1fr;
}

#metaverse-container.mv-mobile-portrait .mv-trivia-content-body {
    padding: 14px 12px;
}

#metaverse-container.mv-mobile-portrait .mv-trivia-timeline {
    padding-left: 28px;
}

#metaverse-container.mv-mobile-portrait .mv-timeline-badge {
    left: -28px;
    font-size: 0.68rem;
    padding: 2px 5px;
}

/* ==========================================================================
   PC Desktop & Widescreen Optimization (가로 화면 컨트롤 뱃지, 버튼, 모달 시인성 강화)
   ========================================================================== */
@media (min-width: 1024px) {
    .mv-exit-globe-btn,
    #metaverse-container .mv-channel-select {
        height: 44px;
        min-height: 44px;
        font-size: 0.82rem;
    }
    .mv-exit-globe-btn {
        padding: 0 15px;
    }
    #metaverse-container .mv-channel-select {
        padding: 0 30px 0 15px;
        background-position: right 12px center !important;
    }
    .mv-live-badge {
        font-size: 0.84rem;
        padding: 5px 13px;
    }
    .mv-sansa-icon-bar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--hz-bg-atelier);
    border: 1px solid var(--hz-border-brass);
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
    pointer-events: auto;
}

.mv-sansa-icon-btn {
        font-size: 0.82rem;
        width: auto;
        height: auto;
        min-height: 34px;
        padding: 6px 13px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .mv-bottom-dock-wrap {
        top: 20px;
    }
    .mv-dock-btn {
        font-size: 0.86rem;
        padding: 9px 18px;
        gap: 7px;
    }
    .mv-library-modal-card,
    .mv-trivia-modal-card {
        max-width: 1080px;
        height: min(88vh, 780px);
    }
    .mv-library-title-wrap h3 {
        font-size: 1.25rem;
    }
    .mv-book-volume {
        width: 140px;
        min-height: 195px;
    }
}

/* ==========================================================================
   Live Connected Users List Modal (실시간 접속자 목록 모달)
   ========================================================================== */
.mv-userlist-modal-card {
    max-width: 680px;
    height: min(78vh, 600px);
}

.mv-userlist-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    overflow: hidden;
    min-height: 0;
}

.mv-userlist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    flex-shrink: 0;
}

.mv-userlist-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.mv-userlist-count-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.mv-userlist-tip {
    font-size: 0.74rem;
    color: var(--hz-text-muted, #94a3b8);
}

.mv-userlist-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 12px 2px 4px 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.mv-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(28, 20, 25, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 14px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.mv-user-card:hover {
    background: rgba(45, 30, 38, 0.85);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.mv-user-card.is-self {
    background: linear-gradient(135deg, rgba(45, 32, 24, 0.85) 0%, rgba(28, 20, 25, 0.75) 100%);
    border-color: var(--hz-gold-light, #fde047);
    box-shadow: 0 0 16px rgba(243, 217, 153, 0.18);
}

.mv-user-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(45, 27, 33, 0.85);
    border: 1.5px solid var(--hz-border-brass, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.mv-user-avatar-wrap .online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #1f171b;
}

.mv-user-info-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mv-user-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mv-user-nickname {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.mv-self-badge {
    background: linear-gradient(135deg, #d4af37, #b45309);
    color: #1a0f05;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.mv-user-action-status {
    font-size: 0.78rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mv-user-station-tag {
    font-size: 0.72rem;
    color: #f3d999;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
    width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.mv-user-look-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--hz-border-brass, #d4af37);
    color: var(--hz-gold-light, #fde047);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.mv-user-look-btn:hover {
    background: rgba(212, 175, 55, 0.35);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(243, 217, 153, 0.3);
}
