/* ==========================================================================
   MU Online Solo Classic - Stylesheet (Modern Strict Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* === Base Layout & Resets === */
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #08090d;
  color: #f1f5f9;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  cursor: default;
}

#status, #log {
  display: none;
}

pre {
  white-space: pre-wrap;
}

/* === Game Canvas === */
canvas#canvas {
  background: #000;
  position: fixed;
  left: 0;
  top: 34px;
  width: 100%;
  height: calc(100% - 34px);
  z-index: 2;
  outline: none;
  border: 0;
  cursor: none;
}

body.mu-auto-on canvas#canvas,
body.mu-stick-on canvas#canvas,
body.mu-touch-on canvas#canvas {
  cursor: none !important;
}

canvas#canvas:focus,
canvas#canvas:focus-visible {
  outline: none !important;
}

/* ==========================================================================
   40px Top Control Bar & Game Header
   ========================================================================== */

header.mu-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.96), rgba(9, 12, 20, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 99;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

.mu-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mu-brand-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mu-brand-title {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fde68a 10%, #f59e0b 55%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mu-brand-sep,
.mu-brand-desc {
  display: none;
}

/* Server Realm Mode Badge */
.mu-realm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: default;
}

.mu-realm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: relative;
}

.realm-easy {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.realm-easy .mu-realm-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.realm-medium {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.realm-medium .mu-realm-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.realm-hard {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}
.realm-hard .mu-realm-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.realm-fun-easy {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c084fc;
}
.realm-fun-easy .mu-realm-dot {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.realm-fun-medium {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.45);
  color: #f472b6;
}
.realm-fun-medium .mu-realm-dot {
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
}

.realm-fun-hard {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.5);
  color: #fb7185;
}
.realm-fun-hard .mu-realm-dot {
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
}

/* Right Controls */
.mu-topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mu-top-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 3px;
}

.mu-top-btn {
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  outline: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  text-decoration: none;
}

.mu-top-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}

.mu-top-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.mu-top-btn:active {
  transform: translateY(0);
}

.mu-btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Auto Attack Toggle Button */
.mu-btn-auto {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
}

.mu-btn-auto:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fef08a;
}

.mu-btn-auto.active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.95));
  border-color: #f87171;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55);
  animation: mu-pulse-glow 1.6s infinite ease-in-out;
}

@keyframes mu-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
    border-color: #f87171;
  }
  50% {
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.85);
    border-color: #fca5a5;
  }
}

/* Real Server External Link Button */
.mu-btn-real-server {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.32);
  color: #38bdf8;
  text-decoration: none;
}

.mu-btn-real-server:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.65);
  color: #f0f9ff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

.mu-btn-real-server:active {
  transform: translateY(0);
}

.mu-btn-icon-ext {
  width: 11px;
  height: 11px;
  opacity: 0.65;
  flex-shrink: 0;
  margin-left: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mu-btn-real-server:hover .mu-btn-icon-ext {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Support Donatello Button */
.mu-btn-support {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fb7185;
  text-decoration: none;
}

.mu-btn-support:hover {
  background: rgba(244, 63, 94, 0.22);
  border-color: rgba(244, 63, 94, 0.7);
  color: #fff1f2;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.4);
  transform: translateY(-1px);
}

.mu-btn-support:active {
  transform: translateY(0);
}

.mu-btn-support .mu-icon-heart {
  color: #f43f5e;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mu-btn-support:hover .mu-icon-heart {
  color: #fb7185;
  transform: scale(1.2);
}

.mu-btn-support:hover .mu-btn-icon-ext {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Floating Toast Notification (top-center below topbar so it never blocks bottom MU HUD) */
.mu-toast {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 7px 16px;
  color: #f8fafc;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive adjustments for top bar */
@media (max-width: 1080px) {
  .mu-brand-desc,
  .mu-brand-sep {
    display: none;
  }
  .mu-topbar-left {
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .mu-brand-desc {
    display: none;
  }
  .mu-brand-sep {
    display: none;
  }
  .mu-btn-text {
    display: none;
  }
  .mu-btn-icon-ext {
    display: none;
  }
  .mu-top-btn {
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .mu-realm-badge,
  .mu-topbar-left .mu-top-sep {
    display: none;
  }
}

/* === Mobile / Touch Virtual Controls (Mobile-First Compact Glass UI) === */
#muKeyBtn, #muKeys, #muStick, #muSkillDock {
  display: none;
}

body.mu-touch-on #muKeyBtn { display: flex; }
body.mu-touch-on #muStick { display: block; }
body.mu-touch-on #muSkillDock { display: block; }
body.mu-touch-off #muKeyBtn,
body.mu-touch-off #muStick,
body.mu-touch-off #muSkillDock { display: none !important; }

@media (max-width: 600px) {
  header.mu-topbar { height: 30px; padding: 0 6px; }
  canvas#canvas { top: 30px; height: calc(100% - 30px); }
  .mu-topbar-right { gap: 3px; }
  .mu-top-btn { height: 22px; padding: 0 6px; font-size: 10.5px; }
  #muStick { width: 92px; height: 92px; bottom: max(106px, env(safe-area-inset-bottom)); left: max(42px, env(safe-area-inset-left)); }
  #muStickKnob { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  #muSkillDock { right: 56px; bottom: max(102px, env(safe-area-inset-bottom)); width: 136px; height: 136px; }
  #muSkillDock .mu-skill-slot { width: 50px; height: 50px; }
  #muKeyBtn { width: 34px; height: 34px; right: 196px; bottom: max(104px, env(safe-area-inset-bottom)); }
  .mu-skill-picker { right: 56px; bottom: 248px; }
  .mu-modal-dialog { width: 96vw !important; max-height: 88vh !important; }
}

/* PIN Modal, Class Guide & Language Button */
.mu-compact-dialog {
  max-width: 560px !important;
  width: 92vw !important;
}
.mu-btn-pin-primary {
  background: linear-gradient(135deg, #b45309, #d97706) !important;
  color: #fff !important;
  border-color: #f59e0b !important;
}
.mu-btn-lang {
  min-width: 34px;
  font-weight: 800;
  color: #fde047 !important;
}
.mu-pin-label {
  display: block;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 8px;
  font-weight: 600;
}
.mu-pin-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
#muPinInput {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.9);
  color: #fde047;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  outline: none;
}
#muPinInput:focus { border-color: #f59e0b; }
.mu-pin-error {
  min-height: 18px;
  font-size: 12px;
  color: #f87171;
  margin-top: 6px;
}
.mu-pin-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.mu-pin-actions .mu-top-btn {
  flex: 1;
  height: 36px;
  justify-content: center;
}
.mu-pin-saved-wrap {
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
}
.mu-pin-saved-title {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.mu-pin-saved-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mu-pin-chip {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.mu-pin-chip.active {
  border-color: #f59e0b;
  color: #fde047;
}
.mu-class-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.mu-class-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fde047;
  margin-bottom: 4px;
}
.mu-class-stats {
  font-size: 11px;
  color: #93c5fd;
  margin-bottom: 4px;
}
.mu-class-desc {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}
.mu-class-note {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 12px;
  line-height: 1.4;
}

#muKeyBtn {
  position: fixed;
  right: 236px;
  bottom: max(126px, env(safe-area-inset-bottom));
  z-index: 8;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 16, 26, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#muKeyBtn svg {
  width: 18px;
  height: 13px;
}

#muKeyBtn.on {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.65);
  color: #fff;
}

/* === 4 Assignable Skill Buttons (Angled Diagonal Arc "xeo len" per user circle) === */
#muSkillDock {
  position: fixed;
  right: 82px;
  bottom: max(122px, env(safe-area-inset-bottom));
  z-index: 8;
  width: 148px;
  height: 148px;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#muSkillDock .mu-skill-slot {
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: auto;
}

#muSkillDock .mu-skill-slot[data-btn="0"] { right: 2px; bottom: 0px; }
#muSkillDock .mu-skill-slot[data-btn="1"] { right: 72px; bottom: 16px; }
#muSkillDock .mu-skill-slot[data-btn="2"] { right: 62px; bottom: 82px; }
#muSkillDock .mu-skill-slot[data-btn="3"] { right: 0px; bottom: 68px; }

.mu-sp-hint {
  font-size: 11px;
  color: #94a3b8;
  padding: 4px 6px 2px;
  line-height: 1.3;
}

#muSkillDock .mu-skill-btn {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1.5px solid rgba(217, 155, 40, 0.65);
  background: linear-gradient(180deg, rgba(24, 28, 40, 0.88), rgba(10, 12, 20, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 235, 180, 0.16), 0 4px 14px rgba(0, 0, 0, 0.6);
  color: #fde68a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  touch-action: none;
}

#muSkillDock .mu-skill-btn.on {
  border-color: #ef4444;
  background: linear-gradient(180deg, rgba(153, 27, 27, 0.9), rgba(69, 10, 10, 0.95));
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.7);
  color: #fff;
}

#muSkillDock .mu-skill-num {
  position: absolute;
  left: 5px;
  bottom: 3px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #f59e0b;
}

#muSkillDock .mu-skill-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

#muSkillDock .mu-skill-pick {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.75);
  background: #0f172a;
  color: #fde68a;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mu-skill-picker {
  display: none;
  position: fixed;
  right: 82px;
  bottom: 278px;
  z-index: 20;
  min-width: 180px;
  max-width: 240px;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 10px;
  background: rgba(10, 14, 24, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
  flex-direction: column;
  gap: 4px;
}

.mu-skill-picker.open {
  display: flex;
}

.mu-sp-title {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  padding: 2px 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mu-sp-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  text-align: left;
  cursor: pointer;
}

.mu-sp-item.active,
.mu-sp-item:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  color: #fff;
}

/* === Top-Right MiniMap & Click-to-Move BigMap === */
.mu-minimap {
  display: none;
  position: fixed;
  top: 40px;
  right: 10px;
  z-index: 12;
  width: 118px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 14, 24, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.mu-minimap.visible {
  display: block;
}

.mu-mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

#muMiniMapCanvas {
  display: block;
  width: 100%;
  height: 96px;
}

.mu-bigmap-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.mu-bigmap-modal.open {
  display: flex;
}

.mu-bigmap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
}

.mu-bigmap-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: rgba(11, 15, 26, 0.96);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  max-width: 94vw;
  max-height: 92vh;
}

.mu-bigmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mu-bigmap-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fde68a;
}

.mu-bm-coords {
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
}

.mu-bigmap-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mu-bm-hover {
  font-size: 11.5px;
  font-weight: 600;
  color: #93c5fd;
}

.mu-bm-close {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 14px;
  cursor: pointer;
}

.mu-bigmap-body {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#muBigMapCanvas {
  width: min(74vw, 68vh, 512px);
  height: min(74vw, 68vh, 512px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: crosshair;
}

.mu-bigmap-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 6px 12px 9px;
  font-size: 11px;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mu-bigmap-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mu-bigmap-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mu-bigmap-legend .dot-hero { background: #22c55e; }
.mu-bigmap-legend .dot-npc { background: #c084fc; }
.mu-bigmap-legend .dot-gate { background: #22d3ee; }
.mu-bigmap-legend .dot-mob { background: #ef4444; }
.mu-bigmap-legend .dot-dest { background: #fbbf24; }

@media (max-width: 600px) {
  .mu-minimap { top: 34px; right: 6px; width: 92px; }
  #muMiniMapCanvas { height: 74px; }
  .mu-bm-hover { display: none; }
  .mu-world-chat { top: 34px; left: 6px; width: 230px; }
}

/* === Global World Chat Widget === */
.mu-world-chat {
  position: fixed;
  top: 40px;
  left: 10px;
  z-index: 12;
  width: 268px;
  max-width: calc(100vw - 140px);
  border-radius: 10px;
  background: rgba(10, 14, 24, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
}

.mu-world-chat.collapsed {
  width: auto;
}

.mu-world-chat.collapsed .mu-wc-body {
  display: none;
}

.mu-world-chat.collapsed .mu-wc-arrow {
  transform: rotate(-90deg);
}

.mu-wc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, 0.92);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.mu-wc-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #fde68a;
}

.mu-wc-online {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
}

.mu-wc-online.connected {
  color: #4ade80;
}

.mu-wc-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
}

.mu-wc-arrow {
  margin-left: auto;
  font-size: 11px;
  color: #cbd5e1;
  transition: transform 0.15s ease;
}

.mu-wc-body {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mu-wc-list {
  height: 132px;
  overflow-y: auto;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  line-height: 1.35;
}

.mu-wc-msg {
  word-break: break-word;
}

.mu-wc-time {
  color: #64748b;
  font-size: 10px;
}

.mu-wc-name {
  color: #fbbf24;
  font-weight: 700;
}

.mu-wc-text {
  color: #f1f5f9;
}

.mu-wc-form {
  display: flex;
  gap: 4px;
  padding: 5px 6px;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mu-wc-form input {
  flex: 1;
  min-width: 0;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 6, 23, 0.75);
  color: #f8fafc;
  font-size: 11.5px;
  outline: none;
}

.mu-wc-form input:focus {
  border-color: #f59e0b;
}

.mu-wc-form button {
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#muKeys {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(10, 12, 18, 0.94);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#muKeys.on {
  display: block;
}

#muKeys .row {
  display: flex;
  gap: 3px;
  margin: 3px 0;
}

#muKeys button {
  flex: 1;
  min-height: 40px;
  border-radius: 6px;
  border: 0;
  background: #2a2d37;
  color: #f1f5f9;
  font: 15px/1 sans-serif;
  touch-action: none;
  padding: 0;
}

#muKeys button.wide { flex: 1.6; }
#muKeys button.space { flex: 4; }
#muKeys button.lit { background: #4f566b; color: #fff; }

#muStick {
  position: fixed;
  left: max(72px, env(safe-area-inset-left));
  top: auto;
  bottom: max(128px, env(safe-area-inset-bottom));
  z-index: 6;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.32) 0%, rgba(15, 23, 42, 0.68) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(245, 158, 11, 0.38);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.45);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#muStickKnob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef3c7, #d97706 75%, #92400e 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
  pointer-events: none;
}

#muRBtn {
  position: fixed;
  right: 16px;
  bottom: max(70px, env(safe-area-inset-bottom));
  top: auto;
  z-index: 8;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  background: radial-gradient(circle, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fde68a;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), inset 0 0 12px rgba(245, 158, 11, 0.16);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#muRBtn.on {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.85), rgba(153, 27, 27, 0.95));
  border-color: #fca5a5;
  color: #fff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.65);
}

/* ==========================================================================
   Modern Strict Preloader (Clean Dark Theme - Zero Gaudy Yellow)
   ========================================================================== */

.mu-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08090d;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mu-preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Subtle Deep Dark Vignette with Screen Background */
.mu-preloader-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 10, 16, 0.55) 0%, rgba(5, 6, 9, 0.92) 80%, #030406 100%),
    url('preloader_screen_bg.jpg') center/cover no-repeat;
}

/* High-Density Atmospheric Particle Canvas */
.mu-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Strict Modern Glass Card with Custom Generated Dark Plate Texture */
.mu-preloader-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90vw, 440px);
  padding: 38px 30px 30px;
  background:
    linear-gradient(170deg, rgba(14, 17, 26, 0.88) 0%, rgba(8, 10, 16, 0.95) 100%),
    url('preloader_panel_bg.jpg') center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.95),
    0 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  overflow: hidden;
}

.mu-preloader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}


/* Clean Modern Typography */
.mu-title-section {
  width: 100%;
  margin-bottom: 22px;
}

.mu-preloader-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

@media (max-width: 480px) {
  .mu-preloader-title {
    font-size: 26px;
    letter-spacing: 0.12em;
  }
}

.mu-preloader-sub {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Sleek HUD-Style Progress Bar */
.mu-progress-box {
  width: 100%;
  margin-bottom: 18px;
}

.mu-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 8px;
  padding: 0 1px;
}

.mu-status-label-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 72%;
}

.mu-status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  flex-shrink: 0;
  animation: muDotBlink 1.8s infinite ease-in-out;
}

@keyframes muDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

#muStatusMsg {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#muStatusDetail {
  color: #f1f5f9;
  font-family: 'Space Grotesk', monospace;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-left: 8px;
}

.mu-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1.5px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.mu-bar-fill {
  height: 100%;
  width: 2%;
  border-radius: 2px;
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #f87171 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  position: relative;
  transition: width 0.22s ease-out;
}

.mu-bar-plasma {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: muShimmer 1.8s infinite linear;
}

@keyframes muShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Minimalist Clean Tips Box */
.mu-tips-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-align: left;
}

.mu-tip-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  flex-shrink: 0;
}

.mu-tip-msg {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #94a3b8;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Game Guide & Info Modal Popup Dialog
   ========================================================================== */

.mu-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: text;
  -webkit-user-select: text;
}

.mu-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.mu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mu-modal-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 840px;
  max-height: 86vh;
  background: #0b0d13;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mu-modal.open .mu-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.mu-modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.mu-modal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mu-modal-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.mu-modal-icon-badge svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mu-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.25;
}

.mu-modal-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.mu-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.mu-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.mu-modal-close svg {
  width: 16px;
  height: 16px;
}

/* Modal Tabs */
.mu-modal-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(14, 17, 24, 0.7);
  overflow-x: auto;
  scrollbar-width: thin;
}

.mu-tab-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mu-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.mu-tab-btn.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Modal Body */
.mu-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 260px;
  max-height: 54vh;
}

.mu-tab-pane {
  display: none;
  animation: muModalFadeIn 0.2s ease;
}

.mu-tab-pane.active {
  display: block;
}

@keyframes muModalFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mu-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mu-section-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  line-height: 1.45;
}

/* Grid & Cards */
.mu-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.mu-guide-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
}

.mu-guide-card-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hotkey list */
.mu-hotkey-list, .mu-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mu-hotkey-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #cbd5e1;
}

.mu-key-combo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #f8fafc;
  background: #171a24;
  border: 1px solid #2d3345;
  border-radius: 4px;
  box-shadow: 0 2px 0 #0c0e14;
}

/* Table styling */
.mu-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.mu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.mu-table th {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mu-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.mu-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.mu-table code {
  font-family: monospace;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11.5px;
}

/* Realms Cards */
.mu-realms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.mu-realm-card {
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}

.mu-realm-card.realm-easy {
  border-color: rgba(34, 197, 94, 0.35);
  background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.08) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card.realm-medium {
  border-color: rgba(245, 158, 11, 0.35);
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.08) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card.realm-hard {
  border-color: rgba(239, 68, 68, 0.35);
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.08) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card.realm-fun-easy {
  border-color: rgba(168, 85, 247, 0.45);
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.12) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card.realm-fun-medium {
  border-color: rgba(236, 72, 153, 0.45);
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.12) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card.realm-fun-hard {
  border-color: rgba(244, 63, 94, 0.45);
  background: radial-gradient(circle at top right, rgba(244, 63, 94, 0.12) 0%, rgba(10, 12, 18, 0.6) 80%);
}

.mu-realm-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mu-realm-rate {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 12px;
}

.mu-card-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.mu-card-perks strong {
  color: #f1f5f9;
}

/* Saves Info Box */
.mu-saves-info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mu-info-item {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.mu-info-item strong {
  color: #f8fafc;
  display: block;
  margin-bottom: 3px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
}

.mu-info-item p {
  margin: 0;
}

.mu-info-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* Tips list */
.mu-tips-list li {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Modal Footer */
.mu-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 24, 0.7);
  gap: 12px;
}

.mu-modal-foot-tip {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Modal Footer Left Box */
.mu-modal-foot-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mu-modal-foot-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.mu-modal-author-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mu-modal-author-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* About Tab & Author Card Styles */
.mu-about-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mu-author-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mu-author-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.mu-author-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
  background: #0f172a;
}

.mu-author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mu-author-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.mu-author-details {
  flex: 1;
}

.mu-author-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.25;
}

.mu-author-handle {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: #38bdf8;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.mu-author-bio {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.mu-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mu-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.15s ease;
}

.mu-about-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.mu-about-btn.mu-btn-primary {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.mu-about-btn.mu-btn-primary:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.6);
  color: #7dd3fc;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.mu-about-btn.mu-btn-donatello {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fb7185;
}

.mu-about-btn.mu-btn-donatello:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: rgba(244, 63, 94, 0.6);
  color: #fff1f2;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

