/* =====================================================================
   NEWX200 — MU Classic skin
   Every texture in assets/mu-ui/ is taken from the game client
   (Data/Interface, Data/Logo, Data/Custom/Interface) and converted to PNG/JPG.
   Loaded LAST so it overrides site.css without touching any page logic.
   ===================================================================== */

:root{
  --mu-gold:#f0cf7a; --mu-gold2:#c99a45; --mu-gold-dark:#7a5a26;
  --mu-text:#d9d2c3; --mu-muted:#9b9383; --mu-red:#d4553a; --mu-green:#8fd06b; --mu-blue:#d9c18c;
  --mu-ink:#0a0907;
  --bg:#0a0907; --panel:transparent; --line:#3a332699; --text:var(--mu-text); --muted:var(--mu-muted); --gold:var(--mu-gold); --green:var(--mu-green);
  --mu-frame:url('assets/mu-ui/frame.png');
}

/* ---------- Page ---------- */
html body{
  background:#080706 url('assets/mu-ui/page-stone.jpg') repeat !important;
  color:var(--mu-text) !important;
  font-family:Tahoma,Verdana,"Segoe UI",Arial,sans-serif !important;
}
html body:before{ /* the classic login sky behind the top of every page */
  content:'' !important;position:fixed !important;inset:0 0 auto 0 !important;height:620px !important;z-index:-1 !important;pointer-events:none !important;
  background:linear-gradient(180deg,#0806054d 0%,#080706d9 70%,#080706 100%),url('assets/mu-ui/hero-dk.jpg') center top/cover no-repeat !important;
}
html body h1,html body h2,html body h3,html body .serif{
  font-family:Cinzel,"Times New Roman",serif !important;color:var(--mu-gold) !important;
  text-shadow:0 1px 0 #000,0 0 10px #000,0 0 2px #000 !important;letter-spacing:.03em !important;
}
html body h1{background:linear-gradient(180deg,#fff2c4 0%,#f0cf7a 45%,#b8832f 100%) !important;-webkit-background-clip:text !important;background-clip:text !important;-webkit-text-fill-color:transparent !important;filter:drop-shadow(0 2px 1px #000) drop-shadow(0 0 8px #000c) !important}
html body a{color:inherit !important}
html body ::selection{background:#7a5a26 !important;color:#fff !important}

/* ---------- Header: stone bar like the in-game top menu ---------- */
html body>header{
  max-width:none !important;height:auto !important;min-height:74px !important;margin:0 !important;padding:8px max(24px,calc((100vw - 1280px)/2)) !important;
  background:url('assets/mu-ui/stone-dark.jpg') repeat-x center/auto 100% !important;
  border:0 !important;box-shadow:0 2px 0 #000,0 3px 0 #5a4a2e,0 10px 24px #000c !important;position:relative !important;z-index:20 !important;
}
html body>header:after{content:'' !important;position:absolute !important;left:0 !important;right:0 !important;bottom:-11px !important;height:21px !important;background:url('assets/mu-ui/divider.png') center/auto 100% no-repeat !important;pointer-events:none !important}
html body>header nav{gap:4px !important}
html body>header nav>a,html body>header nav>.nav-action{
  height:auto !important;min-height:29px !important;padding:4px 16px !important;color:#e9d9b0 !important;font:700 12px/1 Tahoma,Verdana,sans-serif !important;letter-spacing:.06em !important;text-transform:uppercase !important;
  border:5px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 5 fill / 5px stretch !important;background:none !important;text-shadow:0 1px 0 #000 !important;
}
html body>header nav>a:hover,html body>header nav>.nav-action:hover{border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:#fff6d8 !important}
html body>header nav>a.active,html body>header nav>a[aria-current]{border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:var(--mu-gold) !important}
html body>header nav>a.active:after,html body>header nav>a:after{display:none !important}
html body .realm-pill{background:#000a !important;border:1px solid #5a4a2e !important;border-radius:0 !important;box-shadow:inset 0 0 0 1px #000 !important}
html body .realm-pill strong{color:var(--mu-gold) !important}

/* ---------- Buttons: in-game stone buttons (3 states) ---------- */
html body .button,html body button.button,html body .acct-cta,html body .acct-link,html body .home-discord-join{
  min-height:36px !important;padding:6px 22px !important;border-radius:0 !important;
  background:none !important;border:7px solid transparent !important;border-image:url('assets/mu-ui/btn.png') 7 fill / 7px stretch !important;
  color:#2a1d08 !important;font:700 13px/1.1 Tahoma,Verdana,sans-serif !important;letter-spacing:.05em !important;text-transform:uppercase !important;text-shadow:0 1px 0 #fff8 !important;
  box-shadow:0 2px 6px #000b !important;transition:none !important;
}
html body .button:hover,html body .acct-cta:hover,html body .acct-link:hover,html body .home-discord-join:hover{border-image-source:url('assets/mu-ui/btn-hover.png') !important;background:none !important;color:#1a1204 !important}
html body .button:active,html body .acct-cta:active,html body .acct-link:active{border-image-source:url('assets/mu-ui/btn-press.png') !important;color:#e9d9b0 !important;text-shadow:0 1px 0 #000 !important}
html body .button.secondary,html body .acct-link,html body .filter-pills button,html body .tabs button{
  border:5px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 5 fill / 5px stretch !important;
  background:none !important;color:#e9d9b0 !important;text-shadow:0 1px 0 #000 !important;border-radius:0 !important;
}
html body .button.secondary:hover,html body .acct-link:hover,html body .filter-pills button:hover,html body .tabs button:hover{border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:#fff6d8 !important;background:none !important}
html body .filter-pills button.active,html body .tabs button.active,html body .tabs button[aria-selected="true"]{border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:var(--mu-gold) !important}
html body .tabs{border:0 !important;gap:4px !important;padding:10px 14px 0 !important}
html body .acct-cta svg,html body .acct-link svg{color:inherit !important}

/* ---------- Windows: every .panel becomes an in-game message-box frame ---------- */
html body .panel,html body dialog,html body .notice,html body .feature-card,html body .stats-bar,
html body .statistics-section,html body .gx-card,html body .info-group,html body .server-info-section{
  border-radius:0 !important;
  border-style:solid !important;border-color:transparent !important;border-width:20px 12px !important;border-image:var(--mu-frame) 30 56 26 56 / 20px 40px stretch !important;
  background:url('assets/mu-ui/stone-dark.jpg') repeat !important;background-clip:padding-box !important;
  box-shadow:0 8px 24px #000c !important;overflow:visible !important;
}
html body .panel>:first-child{margin-top:-8px !important}
html body .panel>:last-child{margin-bottom:-8px !important}
html body dialog{background:url('assets/mu-ui/stone.jpg') repeat !important;background-clip:padding-box !important;padding:26px !important}
html body dialog::backdrop{background:#000c !important;backdrop-filter:none !important}
html body .modal-close{color:var(--mu-gold) !important;top:-4px !important;right:-2px !important}

/* Section titles get the in-game ornamental divider */
html body .section-head{position:relative !important;padding-bottom:14px !important;margin-bottom:16px !important}
html body .section-head:after{content:'' !important;position:absolute !important;left:0 !important;right:0 !important;bottom:0 !important;height:21px !important;background:url('assets/mu-ui/divider.png') left center/auto 100% no-repeat !important;opacity:.9 !important}
html body .section-head a,html body .home-feature-heading a{color:var(--mu-gold) !important;font-weight:700 !important}
html body .eyebrow,html body .tag,html body .statistics-kicker,html body .home-reason-number{color:#d8a94d !important;letter-spacing:.14em !important}
html body .eyebrow:before{background:linear-gradient(90deg,transparent,#d8a94d) !important}

/* ---------- Tables & lists: dark in-game list rows ---------- */
html body table{font-family:Tahoma,Verdana,sans-serif !important;font-size:13px !important}
html body th{background:#000c !important;color:#d8a94d !important;border-bottom:1px solid #5a4a2e !important;font-weight:700 !important}
html body td{border-top:1px solid #ffffff0d !important}
html body tbody tr:nth-child(odd) td{background:#ffffff05 !important}
html body tbody tr:hover td{background:#c99a4514 !important}
html body .rank-number.top{color:var(--mu-gold) !important;font-weight:700 !important}
html body .event,html body .news-row,html body .kill-row{border-bottom:1px solid #ffffff0f !important}
html body .event:hover{background:#c99a4512 !important}
html body .event.is-next{background:linear-gradient(90deg,#c99a4526,transparent) !important}
html body .event-icon,html body .avatar{background:#000 !important;border:1px solid #6b5530 !important;border-radius:0 !important;box-shadow:inset 0 0 6px #c99a4544 !important;color:var(--mu-gold) !important}
html body .event .time,html body .gold{color:var(--mu-gold) !important}
html body .realm-status{background:#000a !important;border-top:1px solid #5a4a2e !important}

/* ---------- Inputs: in-game text boxes ---------- */
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea{
  background:#050403 !important;color:#f3e6c4 !important;border:1px solid #6b5530 !important;border-radius:0 !important;
  box-shadow:inset 0 1px 4px #000,0 0 0 1px #000 !important;font-family:Tahoma,Verdana,sans-serif !important}
html body input:focus,html body select:focus,html body textarea:focus{outline:1px solid var(--mu-gold) !important;outline-offset:0 !important}

/* ---------- Home banner: classic login sky + boss render, framed ---------- */
html body #main .titan-home .home-banner{
  position:relative !important;min-height:440px !important;overflow:visible !important;border-radius:0 !important;
  border-style:solid !important;border-color:transparent !important;border-width:20px 12px !important;border-image:var(--mu-frame) 30 56 26 56 / 20px 40px stretch !important;
  background:
    radial-gradient(ellipse at 72% 70%,#ff8a2a2e 0%,transparent 55%),
    linear-gradient(90deg,#070504f0 0%,#070504b3 38%,#07050400 70%),
    url('assets/mu-ui/hero-s6.jpg') 62% 30%/cover no-repeat !important;
  background-clip:padding-box !important;box-shadow:0 14px 40px #000 !important;
}
html body #main .titan-home .home-banner:before{ /* winged crest from the original login screen */
  content:'' !important;position:absolute !important;left:50% !important;top:-44px !important;width:300px !important;height:84px !important;transform:translateX(-50%) !important;z-index:3 !important;
  background:url('assets/mu-ui/crest.png') center/contain no-repeat !important;filter:drop-shadow(0 4px 6px #000) !important;
}
html body #main .titan-home .home-banner:after{ /* real game model render */
  content:'' !important;position:absolute !important;right:3% !important;bottom:-8px !important;width:min(42%,430px) !important;aspect-ratio:1 !important;z-index:1 !important;
  background:url('assets/bosses/red-dragon.png') center bottom/contain no-repeat !important;
  filter:drop-shadow(0 0 30px #ff6a1a55) drop-shadow(0 10px 12px #000) !important;
}
html body #main .titan-home .home-banner-copy{position:relative !important;z-index:2 !important;padding:46px 40px !important}
html body #main .titan-home .home-banner p{color:#e4dccb !important;text-shadow:0 1px 2px #000 !important}
html body .home-hero-facts>div,html body #main .titan-home .stat{background:#000b !important;border:1px solid #6b5530 !important;border-radius:0 !important}
html body .home-hero-facts strong{color:var(--mu-gold) !important}
html body .hero-logo-img,html body .brand-logo,html body .ft-logo-img{filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 10px #000) !important}

/* Feature cards: stone + real item icons instead of painted art */
html body #main .titan-home .home-reason,html body #main .titan-home .home-reason-catchup,html body #main .titan-home .home-reason-systems,html body #main .titan-home .home-reason-client{
  background:url('assets/mu-ui/stone-dark.jpg') repeat !important;background-clip:padding-box !important;min-height:220px !important;position:relative !important}
html body #main .titan-home .home-reason:before{display:none !important}
html body #main .titan-home .home-reason h3{color:var(--mu-gold) !important;font-size:24px !important}
html body #main .titan-home .home-reason p{color:#d1c8b6 !important}
html body #main .titan-home .home-reason-catchup:after,html body #main .titan-home .home-reason-client:after{
  content:'' !important;position:absolute !important;right:10px !important;bottom:6px !important;width:120px !important;height:120px !important;opacity:.95 !important;pointer-events:none !important;filter:drop-shadow(0 4px 8px #000) !important}
html body #main .titan-home .home-reason-catchup:after{background:url('assets/items/14/16.png') center/contain no-repeat !important;width:70px !important;height:70px !important;bottom:14px !important;right:18px !important}
html body #main .titan-home .home-reason-client:after{background:url('assets/wings/12-228.png') center/contain no-repeat !important}
html body #main .titan-home .home-reason-client .mu-feature-item{display:none !important}
html body #main .titan-home .home-guide-card{background:linear-gradient(90deg,#070504f2 40%,#07050488),url('assets/mu-ui/hero-dk.jpg') 70% 60%/cover !important;background-clip:padding-box !important}

/* Server info / statistics heroes used the painted banner too */
html body #main .realm-codex .codex-hero,html body .stat-hero,html body .hero{
  background:linear-gradient(90deg,#070504f0 30%,#07050480),url('assets/mu-ui/hero-dk.jpg') center 40%/cover !important;
  border-radius:0 !important;border-style:solid !important;border-color:transparent !important;border-width:20px 12px !important;border-image:var(--mu-frame) 30 56 26 56 / 20px 40px stretch !important;background-clip:padding-box !important
}
html body .stat-hero:after,html body #main .realm-codex .codex-hero:after{background-image:url('assets/mu-ui/crest.png') !important;background-size:contain !important;opacity:.35 !important}

/* Class portraits: official class art */
html body .mu-class-card .mu-portrait,html body .mu-class-card.is-chosen .mu-portrait,html body .portal-class-portrait,html body .gx-portrait{
  background-image:url('assets/mu-ui/classes.jpg') !important;border-radius:0 !important;border:1px solid #6b5530 !important;box-shadow:0 0 0 1px #000,inset 0 0 8px #000 !important}

/* ---------- Footer ---------- */
html body .site-footer{background:url('assets/mu-ui/stone-dark.jpg') repeat !important;border-top:0 !important;box-shadow:0 -2px 0 #000,0 -3px 0 #5a4a2e !important;position:relative !important;margin-top:40px !important}
html body .site-footer:before{content:'' !important;position:absolute !important;left:0 !important;right:0 !important;top:-11px !important;height:21px !important;background:url('assets/mu-ui/divider.png') center/auto 100% no-repeat !important}
html body .site-footer h4{color:#d8a94d !important;font-family:Cinzel,serif !important}
html body .ft-col a:hover{color:var(--mu-gold) !important}

/* Support button */
html body .support-fab{border-radius:0 !important;border:7px solid transparent !important;border-image:url('assets/mu-ui/btn.png') 7 fill / 7px stretch !important;background:none !important;color:#2a1d08 !important;font-weight:700 !important}

/* Progress bars: in-game gauge */
html body .progress{height:10px !important;border-radius:0 !important;background:#000 !important;border:1px solid #6b5530 !important}
html body .progress span{background:linear-gradient(180deg,#ffe7a0,#c99a45 60%,#7a5a26) !important}

/* ---------- Small screens ---------- */
@media (max-width:820px){
  html body #main .titan-home .home-banner:after{opacity:.35 !important;width:70% !important;right:-10% !important}
  html body #main .titan-home .home-banner:before{width:220px !important;top:-34px !important}
  html body #main .titan-home .home-banner-copy{padding:34px 18px !important}
  html body .panel,html body dialog{border-width:16px 10px !important;border-image-width:16px 32px !important}
  html body>header nav>a{padding:4px 10px !important}
}

/* ======== Round 2: beat the blue "Titan" skin everywhere ======== */
html body{background:#080706 url('assets/mu-ui/page-stone.jpg') repeat !important}
@media (min-width:821px){
html body>header,html body.mu-home-active>header{
  display:grid !important;max-width:none !important;width:100% !important;height:auto !important;
  grid-template-columns:auto 1fr auto auto !important;grid-template-rows:auto !important;align-items:center !important;gap:10px 22px !important;
  background:linear-gradient(180deg,#0000,#0006),url('assets/mu-ui/stone-dark.jpg') repeat !important;border:0 !important;border-radius:0 !important}
html body>header nav{grid-column:1 / -1 !important;grid-row:2 !important;justify-content:center !important;flex-wrap:wrap !important;padding:4px 0 10px !important}
html body>header nav>a,html body>header nav>button{font-family:Tahoma,Verdana,sans-serif !important}
}
html body #main .titan-home .home-banner:after{inset:auto !important;right:2% !important;bottom:-10px !important;left:auto !important;top:auto !important;border:0 !important;border-radius:0 !important;clip-path:none !important}
html body #main .button,html body dialog .button,html body #main .titan-home .home-banner .button[data-download],html body header .account-links .button{
  background:none !important;border:7px solid transparent !important;border-image:url('assets/mu-ui/btn.png') 7 fill / 7px stretch !important;border-radius:0 !important;
  color:#2a1d08 !important;font:700 13px/1.1 Tahoma,Verdana,sans-serif !important;letter-spacing:.05em !important;text-transform:uppercase !important;min-height:38px !important;padding:6px 24px !important;box-shadow:0 2px 6px #000b !important;backdrop-filter:none !important}
html body #main .button:hover,html body dialog .button:hover{border-image-source:url('assets/mu-ui/btn-hover.png') !important}
html body #main .button.secondary,html body #main .titan-home .home-banner .button.secondary,html body #main .titan-home .home-banner .button[data-account="register"],
html body #main .filter-pills button,html body #main .ranking-sections a,html body #main .class-portrait-filters button,html body #main .warehouse-sections button,html body #main .tabs button{
  background:none !important;border:5px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 5 fill / 5px stretch !important;border-radius:0 !important;color:#e9d9b0 !important;text-shadow:0 1px 0 #000 !important;font-family:Tahoma,Verdana,sans-serif !important;box-shadow:none !important}
html body #main .button.secondary:hover,html body #main .filter-pills button:hover,html body #main .ranking-sections a:hover,html body #main .class-portrait-filters button:hover,html body #main .tabs button:hover,
html body #main .filter-pills button.active,html body #main .ranking-sections a.active,html body #main .class-portrait-filters button.active,html body #main .tabs button.active,html body #main .tabs button[aria-selected="true"],html body #main .warehouse-sections button.active{
  border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:var(--mu-gold) !important}
html body #main .tabs{background:transparent !important;border:0 !important}
/* cards and boxes the blue skin restyled */
html body #main .guide-card,html body #main .monster-card,html body #main .event-card,html body #main .reference-card,html body #main .achievement-card,
html body #main .codex-sidebar,html body #main .realm-codex .server-info-section,html body #main .titan-home .stats-bar,html body #main .titan-home .mu-class-card,
html body #main .notice,html body #main .world-callout,html body #main .guide-aside .panel,html body #main .warehouse-panel,html body #main .equipment-grid,html body #main .character-info-attributes{
  border-radius:0 !important;border-style:solid !important;border-color:transparent !important;border-width:20px 12px !important;border-image:var(--mu-frame) 30 56 26 56 / 20px 40px stretch !important;
  background:url('assets/mu-ui/stone-dark.jpg') repeat !important;background-clip:padding-box !important;box-shadow:0 6px 18px #000b !important;color:var(--mu-text) !important}
html body #main .guide-card:hover,html body #main .monster-card:hover,html body #main .event-card:hover{background:linear-gradient(#c99a4514,#c99a4514),url('assets/mu-ui/stone-dark.jpg') repeat !important;background-clip:padding-box !important}
html body #main .codex-summary>span{border-radius:0 !important;background:#000b !important;border:1px solid #6b5530 !important;color:var(--mu-muted) !important}
html body #main .codex-summary>span:before{border-radius:0 !important;background-color:#000 !important;border:1px solid #6b5530}
html body #main .realm-codex .server-info-section h2 .codex-number{border-radius:0 !important;background:#000 !important;border-color:#6b5530 !important}
html body #main th{background:#000c !important;color:#d8a94d !important;font-family:Tahoma,Verdana,sans-serif !important;border-color:#5a4a2e !important}
html body #main tbody tr:hover{background:#c99a4514 !important}
html body #main input:not([type=checkbox]):not([type=range]):not([type=radio]),html body #main select,html body dialog input,html body dialog select{
  background:#050403 !important;color:#f3e6c4 !important;border:1px solid #6b5530 !important;border-radius:0 !important}
/* inventory-style slots: dark item squares like the in-game inventory */
html body #main .equipment-grid .equipment-slot,html body #main .warehouse-cell,html body #main .warehouse-item{
  background:#000 !important;border:1px solid #4d3f26 !important;border-radius:0 !important;box-shadow:inset 0 0 8px #c99a4522 !important}
html body #main .equipment-grid .equipment-slot:hover,html body #main .warehouse-item:hover{border-color:var(--mu-gold) !important}
html body #main #character-3d,html body #main .portrait-stage,html body #main .character-info-portrait{background:radial-gradient(ellipse at 50% 60%,#3a2410,#000 75%) !important;border-color:#6b5530 !important;border-radius:0 !important}
html body #main .progress{background:#000 !important}
html body #main .progress>span{background:linear-gradient(180deg,#ffe7a0,#c99a45 60%,#7a5a26) !important}
html body #main .page-intro{background:none !important}
html body .section-head{padding-bottom:26px !important}
html body .home-feature-heading{position:relative;padding-bottom:22px;margin-bottom:10px}
html body .home-feature-heading:after{content:'';position:absolute;left:0;right:0;bottom:0;height:21px;background:url('assets/mu-ui/divider.png') left center/auto 100% no-repeat}

/* ======== Round 3: readability ======== */
html body h1{background:none !important;-webkit-text-fill-color:currentColor !important;color:#f3d282 !important;filter:none !important;
  text-shadow:0 2px 0 #000,0 0 12px #000,0 0 3px #000,0 0 22px #c99a4566 !important}
/* primary = dark in-game button, gold text, gold glow */
html body .button,html body #main .button,html body dialog .button,html body #main .titan-home .home-banner .button[data-download],html body header .account-links .button,html body .acct-cta,html body .home-discord-join,html body .support-fab{
  border:6px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 6 fill / 6px stretch !important;
  color:#ffd986 !important;text-shadow:0 1px 0 #000,0 0 6px #000 !important;box-shadow:0 0 14px #d9a03c55,0 3px 8px #000c !important}
html body .button:hover,html body #main .button:hover,html body dialog .button:hover,html body .acct-cta:hover,html body .home-discord-join:hover,html body .support-fab:hover{
  border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:#fff3c8 !important;box-shadow:0 0 20px #f0b84a88,0 3px 8px #000c !important}
html body .button:active,html body #main .button:active{border-image-source:url('assets/mu-ui/btn2-press.png') !important}
html body .button.secondary,html body #main .button.secondary,html body #main .titan-home .home-banner .button[data-account="register"],html body .acct-link{
  color:#e9dcc0 !important;box-shadow:0 3px 8px #000c !important}
/* header / footer separators: thin gold rule instead of a centred ornament */
html body>header:after,html body .site-footer:before{left:0 !important;right:0 !important;height:2px !important;bottom:-2px !important;top:auto !important;
  background:linear-gradient(90deg,transparent,#7a5a26 15%,#e0b866 50%,#7a5a26 85%,transparent) !important}
html body .site-footer:before{top:-2px !important;bottom:auto !important}
/* sky fades into the stone instead of ending on a hard line */
html body:before{background:url('assets/mu-ui/hero-dk.jpg') center top/cover no-repeat !important;opacity:.55 !important;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#0008 45%,transparent 100%) !important;mask-image:linear-gradient(180deg,#000 0%,#0008 45%,transparent 100%) !important}

/* ======== Round 4 ======== */
/* boxes nested inside a framed window: plain dark inset instead of a second frame */
html body .panel .panel,html body .panel .info-group,html body #main .server-info-section .info-group,html body #main .codex-sidebar .panel,
html body .statistics-section .panel,html body #main .server-info-section .panel{
  border:1px solid #5a4a2e !important;border-image:none !important;background:#0008 !important;box-shadow:inset 0 0 0 1px #000 !important}
html body #main .titan-home .home-reason-systems:after{content:'';position:absolute;right:20px;bottom:16px;width:64px;height:64px;pointer-events:none;
  background:url('assets/items/14/13.png') center/contain no-repeat;filter:drop-shadow(0 4px 8px #000)}
html body #main .titan-home .home-reason-systems .mu-feature-item{display:none !important}

/* ======== Round 5: phones ======== */
@media (max-width:820px){
  html body>header,html body.mu-home-active>header{background:url('assets/mu-ui/stone-dark.jpg') repeat !important;border:0 !important;max-width:none !important}
  html body #main .realm-codex *{min-width:0 !important}
  html body #main .realm-codex [class*="grid"],html body #main .realm-codex [class*="layout"],html body #main .realm-codex{grid-template-columns:minmax(0,1fr) !important}
  html body #main .codex-summary{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  html body #main .codex-summary>span{padding:14px 10px 14px 52px !important}
  html body #main .codex-summary>span:before{left:10px !important;width:32px !important;height:32px !important;margin-top:-16px !important}
  html body #main .realm-codex td,html body #main .realm-codex th,html body #main .realm-codex dd{overflow-wrap:anywhere}
  html body .panel,html body dialog,html body #main .realm-codex .server-info-section,html body #main .codex-sidebar,html body #main .guide-card,html body #main .event-card{border-width:16px 10px !important;border-image-width:16px 32px !important}
}
@media (max-width:820px){
  html body>header .acct-cta,html body>header .account-links .button{font-size:10px !important;padding:3px 8px !important;min-height:28px !important;letter-spacing:.02em !important;white-space:nowrap !important}
  html body>header .acct-cta svg{display:none !important}
  html body #main .realm-codex .info-section-links,html body #main .realm-codex .codex-sidebar nav,html body #main .realm-codex .codex-sidebar ul{display:grid !important;grid-template-columns:minmax(0,1fr) !important}
}
@media (max-width:820px){
  html body>header,html body.mu-home-active>header{grid-template-columns:minmax(0,1fr) auto auto !important;padding:8px 12px !important;gap:0 8px !important}
  html body>header .brand-wrap,html body>header .brand{min-width:0 !important;width:auto !important}
  html body>header .brand-logo{width:132px !important;height:35px !important;object-fit:contain !important;object-position:left center !important}
  html body>header .acct-link{padding:3px 8px !important;min-height:28px !important}
}

/* ===================================================================
   Stellar / Season 6 interface set (assets from the Stellar client)
   =================================================================== */
:root{--mu-gold:#f3d38c;--mu-text:#d7d9dd;--mu-muted:#9ba0a8}
html body{background:#09090b url('assets/mu-ui/page-stone.jpg') repeat !important}
html body:before{display:none !important}
html body h1{color:#f6ecd2 !important;text-shadow:0 2px 0 #000,0 0 14px #000,0 0 26px #e8b45a40 !important}
html body h2,html body h3{color:#f0dcaa !important}
html body .eyebrow,html body .tag,html body .statistics-kicker,html body .home-reason-number{color:#e2b866 !important}
/* header: dark S6 bar with the dragon heads from the main interface */
@media (min-width:821px){
  html body>header,html body.mu-home-active>header{background:linear-gradient(180deg,#1b1c20,#0c0c0e) !important;box-shadow:0 1px 0 #3c3f46,0 2px 0 #000,0 10px 30px #000 !important}
  html body>header:before{display:none !important}
  html body>header .dragon-r{display:none}
}
html body>header:after,html body .site-footer:before{background:linear-gradient(90deg,transparent,#555963 12%,#c9ccd3 50%,#555963 88%,transparent) !important;height:1px !important}
/* hero: official Season 6 artwork, no crest / no model render */
html body #main .titan-home .home-banner{
  background:linear-gradient(90deg,#070707f5 0%,#070707cc 34%,#07070740 62%,#07070700 80%),linear-gradient(0deg,#070707cc,transparent 40%),url('assets/mu-ui/hero-s6.jpg') 62% 30%/cover no-repeat !important;
  background-clip:padding-box !important;min-height:480px !important}
html body #main .titan-home .home-banner:before{display:none !important}
html body #main .titan-home .home-banner:after{display:none !important}
/* stat chips with the S6 gem buttons */
html body .home-hero-facts>div{position:relative;padding-left:52px !important;background:#000c !important;border:1px solid #4a4d55 !important}
html body .home-hero-facts>div:before{content:'';position:absolute;left:10px;top:50%;width:32px;height:32px;margin-top:-16px;background:url('assets/mu-ui/gem-red.png') center/contain no-repeat}
html body .home-hero-facts>div:nth-child(2):before{background-image:url('assets/mu-ui/gem-blue.png')}
html body .home-hero-facts>div:nth-child(3):before{background-image:url('assets/mu-ui/gem-green.png')}
/* section heading: silver rule instead of the old quest line */
html body .section-head:after,html body .home-feature-heading:after{background:linear-gradient(90deg,#c9ccd3,#555963 40%,transparent) !important;height:1px !important;bottom:8px !important}
/* inputs / table heads / inset boxes in neutral S6 graphite */
html body #main th,html body th{color:#e2b866 !important;border-color:#3c3f46 !important;background:#000c !important}
html body .event-icon,html body .avatar,html body #main .codex-summary>span,html body .home-hero-facts>div,html body .panel .panel,html body .panel .info-group{border-color:#4a4d55 !important}
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea,html body #main input:not([type=checkbox]):not([type=range]):not([type=radio]),html body #main select{border-color:#4a4d55 !important}
html body #main .titan-home .home-guide-card{background:linear-gradient(90deg,#070707f2 40%,#07070770),url('assets/mu-ui/hero-dk.jpg') 70% 30%/cover !important;background-clip:padding-box !important}
html body #main .realm-codex .codex-hero,html body .stat-hero{background:linear-gradient(90deg,#070707f0 30%,#07070770),url('assets/mu-ui/hero-dk.jpg') center 30%/cover !important;background-clip:padding-box !important}
html body .stat-hero:after,html body #main .realm-codex .codex-hero:after{display:none !important}
html body .site-footer{background:linear-gradient(180deg,#141519,#09090b) !important;box-shadow:0 -1px 0 #3c3f46 !important}

/* ===================================================================
   S6 detailing — different component types get different treatments
   =================================================================== */
/* ---- 1. Number tiles: dark item-slot with silver corner brackets ---- */
html body #main .stat-metrics{gap:14px !important;margin:18px 0 24px !important}
html body #main .stat-metric,html body #main .codex-summary>span,html body #main .titan-home .stats-bar .stat{
  position:relative !important;border-radius:0 !important;border:1px solid #2c2e34 !important;border-image:none !important;
  background:
    linear-gradient(#c9ccd3,#c9ccd3) left top/12px 1px no-repeat, linear-gradient(#c9ccd3,#c9ccd3) left top/1px 12px no-repeat,
    linear-gradient(#c9ccd3,#c9ccd3) right top/12px 1px no-repeat, linear-gradient(#c9ccd3,#c9ccd3) right top/1px 12px no-repeat,
    linear-gradient(#c9ccd3,#c9ccd3) left bottom/12px 1px no-repeat, linear-gradient(#c9ccd3,#c9ccd3) left bottom/1px 12px no-repeat,
    linear-gradient(#c9ccd3,#c9ccd3) right bottom/12px 1px no-repeat, linear-gradient(#c9ccd3,#c9ccd3) right bottom/1px 12px no-repeat,
    radial-gradient(ellipse at 30% 0%,#ffffff0d,transparent 60%),
    linear-gradient(180deg,#16171b,#0a0a0c) !important;
  box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 #ffffff12,0 6px 16px #000a !important;color:var(--mu-text) !important}
html body #main .stat-metric:hover{border-color:#5a5d66 !important}
html body #main .stat-metric i,html body #main .codex-summary>span:before{
  border-radius:50% !important;border:1px solid #5a5d66 !important;color:#f3d38c !important;
  background:radial-gradient(circle at 35% 30%,#3a3d44,#0b0b0d 70%) !important;box-shadow:0 0 12px #e8b45a33,inset 0 0 6px #000 !important}
html body #main .stat-metric strong{color:#f6ecd2 !important;font-family:Cinzel,serif !important;text-shadow:0 2px 0 #000 !important}
html body #main .stat-metric span{color:#e2b866 !important;letter-spacing:.08em;text-transform:uppercase;font-size:11px !important}
html body #main .stat-metric small{color:var(--mu-muted) !important}
html body #main .stat-metric.is-online strong{color:#9be37a !important}
html body #main .stat-metric.is-online i{color:#9be37a !important;box-shadow:0 0 14px #6fd04a55,inset 0 0 6px #000 !important}

/* ---- 2. Window title bars on framed windows ---- */
html body #main .stat-card>h2,html body #main .realm-codex .server-info-section>h2,html body #main .live-module-panel>h2,html body #main .panel>h2:first-child{
  margin:-6px -2px 18px !important;padding:10px 14px !important;font-size:16px !important;letter-spacing:.06em !important;
  background:linear-gradient(180deg,#24262c 0%,#15161a 55%,#0d0d10 100%) !important;
  border:1px solid #000 !important;box-shadow:inset 0 1px 0 #ffffff1a,0 1px 0 #ffffff0d !important;display:flex !important;align-items:center;gap:10px}
html body #main .stat-card>h2 svg{color:#f3d38c !important;width:18px;height:18px}

/* ---- 3. Gauges ---- */
html body #main .stat-bar,html body #main .progress,html body .progress{
  height:9px !important;border-radius:0 !important;background:linear-gradient(180deg,#000,#141518) !important;
  border:1px solid #2c2e34 !important;box-shadow:inset 0 1px 3px #000,0 1px 0 #ffffff0d !important;overflow:hidden;position:relative}
html body #main .stat-bar>span,html body #main .progress>span{border-radius:0 !important;position:relative;box-shadow:inset 0 1px 0 #ffffff55,inset 0 -2px 0 #0006,0 0 8px currentColor !important}
html body #main .stat-activity .stat-bar>span{background:linear-gradient(180deg,#ffe9a8,#e2b866 50%,#9a6f2c) !important}

/* ---- 4. Light cards: filigree corners only, no full frame ---- */
html body #main .titan-home .home-reason,html body #main .titan-home .home-reason-catchup,html body #main .titan-home .home-reason-systems,html body #main .titan-home .home-reason-client,
html body #main .guide-card,html body #main .event-card,html body #main .monster-card,html body #main .reference-card,html body #main .gx-card{
  border:1px solid #2c2e34 !important;border-image:none !important;border-radius:0 !important;
  background:
    url('assets/mu-ui/c-tl.png') left top no-repeat,url('assets/mu-ui/c-tr.png') right top no-repeat,
    url('assets/mu-ui/c-bl.png') left bottom no-repeat,url('assets/mu-ui/c-br.png') right bottom no-repeat,
    radial-gradient(ellipse at 50% 0%,#ffffff0a,transparent 55%),
    linear-gradient(180deg,#141519,#09090b) !important;
  box-shadow:inset 0 0 0 1px #000,0 8px 22px #000b !important}
html body #main .guide-card:hover,html body #main .event-card:hover,html body #main .monster-card:hover,html body #main .titan-home .home-reason:hover{
  border-color:#6a5a3a !important;box-shadow:inset 0 0 0 1px #000,0 0 18px #e8b45a2a,0 8px 22px #000b !important}
html body #main .titan-home .home-reason h3{font-size:22px !important}

/* ---- 5. Section headings: small gem + silver rule ---- */
html body .section-head h2,html body .home-feature-heading>span:first-child{display:flex;align-items:center;gap:10px}
html body .section-head h2:before,html body .home-feature-heading>span:first-child:before{
  content:'';width:18px;height:18px;flex:none;background:url('assets/mu-ui/gem-blue.png') center/contain no-repeat;filter:drop-shadow(0 0 4px #d6b77366)}

/* ---- 6. Lists: gold marker on hover / leader ---- */
html body #main tbody tr:hover td:first-child,html body #main .event:hover{box-shadow:inset 3px 0 0 #e2b866 !important}
html body #main .stat-class:first-child .stat-portrait,html body #main tbody tr:first-child .portal-class-portrait{box-shadow:0 0 0 1px #e2b866,0 0 10px #e8b45a66 !important}
html body #main .stat-top{background:linear-gradient(180deg,#f3d38c,#b8862e) !important;color:#1a1204 !important;border-radius:0 !important;font-style:normal}
html body #main .stat-castle-dates>div,html body #main .stat-siege-row{border:1px solid #2c2e34 !important;border-radius:0 !important;background:linear-gradient(180deg,#141519,#0a0a0c) !important}
html body #main .stat-siege-row b{border-radius:0 !important;background:#000 !important;border:1px solid #5a5d66 !important;color:#f3d38c !important}
html body #main .statistics-refresh{border-radius:0 !important;border:6px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 6 fill / 6px stretch !important;background:none !important;color:#ffd986 !important}

/* ---- 7. Dark Knight banner: show his eyes ---- */
html body #main .realm-codex .codex-hero,html body .stat-hero{background-position:0 0,center 6% !important}
html body #main .titan-home .home-guide-card{background-position:0 0,70% 8% !important}
html body #main .titan-home .home-hero-facts{display:flex !important;flex-wrap:wrap !important;gap:8px !important;background:none !important;border:0 !important;box-shadow:none !important;max-width:560px}
html body #main .titan-home .home-hero-facts>div,html body #main .titan-home .home-hero-facts>.fact-online{flex:1 1 150px !important;background:linear-gradient(180deg,#16171b,#0a0a0c) !important;border:1px solid #2c2e34 !important;box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 #ffffff12 !important;border-radius:0 !important}
html body #main .titan-home .home-hero-facts>.fact-online strong{color:#9be37a !important}
html body #main .titan-home .home-hero-facts strong{white-space:nowrap !important;font-size:22px !important}

/* ===================================================================
   Login / Register: the in-game MU login window (Stellar login_back)
   =================================================================== */
html body dialog.mu-win-dialog{width:329px !important;max-width:calc(100vw - 16px) !important;padding:0 !important;
  background:none !important;border:0 !important;border-image:none !important;box-shadow:none !important;overflow:visible !important}
html body dialog.mu-win-dialog::backdrop{background:#000000c4 !important}
html body dialog.mu-win-dialog .modal-close{display:none !important}
html body #modal-body.mu-win{position:relative;width:329px;margin:0 auto;padding:56px 34px 40px 26px;
  font:12px/1.4 Tahoma,Verdana,Arial,sans-serif;color:#e8e8e8;filter:drop-shadow(0 18px 30px #000)}
html body #modal-body.mu-win-login{min-height:245px;background:url('assets/mu-ui/login-win.png') 0 0/329px 245px no-repeat}
html body #modal-body.mu-win-register{min-height:410px;background:url('assets/mu-ui/register-win.png') 0 0/329px 410px no-repeat;padding-top:58px}
html body #modal-body.mu-win .mu-sr{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #modal-body.mu-win .mu-win-server{text-align:center;color:#fff;margin:2px 0 14px 10px;letter-spacing:.02em;text-shadow:0 1px 0 #000}
html body #modal-body.mu-win form{margin:0;display:block}
html body #modal-body.mu-win .form-field.mu-row{display:grid !important;grid-template-columns:72px 1fr;align-items:center;margin:0 0 8px !important;font-size:12px !important;color:#e8e8e8}
html body #modal-body.mu-win .mu-lbl{padding-left:2px;text-shadow:0 1px 0 #000}
html body #modal-body.mu-win input{height:20px !important;margin:0 !important;padding:1px 5px !important;width:100% !important;
  background:#000 !important;color:#fff !important;border:1px solid #6d6d6d !important;border-radius:2px !important;
  box-shadow:inset 0 1px 3px #000,0 0 0 1px #111 !important;font:12px Tahoma,Verdana,sans-serif !important;outline:0 !important}
html body #modal-body.mu-win input:focus{border-color:#c9a45a !important;box-shadow:inset 0 1px 3px #000,0 0 6px #c9a45a66 !important}
html body #modal-body.mu-win input::placeholder{color:#6a6a6a;font-size:10px}
html body #modal-body.mu-win .mu-win-actions{display:flex;justify-content:flex-end;gap:8px;margin:14px 0 0}
html body #modal-body.mu-win .mu-btn{width:54px !important;height:30px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;
  background:url('assets/mu-ui/win-ok.png') 0 0/54px 90px no-repeat !important;box-shadow:none !important;font-size:0 !important;color:transparent !important;cursor:pointer}
html body #modal-body.mu-win .mu-btn-cancel{background-image:url('assets/mu-ui/win-cancel.png') !important}
html body #modal-body.mu-win .mu-btn:hover,html body #modal-body.mu-win .mu-btn:focus-visible{background-position:0 -30px !important;outline:0}
html body #modal-body.mu-win .mu-btn:active{background-position:0 -60px !important}
html body #modal-body.mu-win .mu-btn:disabled{opacity:.55;cursor:wait}
html body #modal-body.mu-win .form-status{min-height:15px;margin:8px 0 0 !important;color:#ffd24a !important;font-size:11px !important;text-align:right;text-shadow:0 1px 0 #000}
html body #modal-body.mu-win .form-note{position:absolute;left:96px;right:30px;bottom:44px;margin:0 !important;font-size:10px !important;color:#9a9a9a !important;line-height:1.35}
/* captcha inside the window */
html body #modal-body.mu-win .captcha-field{margin:4px 0 0 72px}
html body #modal-body.mu-win .captcha-image-field{display:block !important;margin:0 !important;font-size:0 !important}
html body #modal-body.mu-win .captcha-row{display:flex;align-items:center;gap:6px;margin-bottom:5px}
html body #modal-body.mu-win .captcha-image{display:block;background:#000;border:1px solid #6d6d6d;line-height:0}
html body #modal-body.mu-win .captcha-image svg{display:block;width:120px;height:34px}
html body #modal-body.mu-win .captcha-refresh{width:26px;height:26px;padding:0;border:1px solid #6d6d6d;background:#111;color:#e2b866;font-size:14px;border-radius:2px}
html body #modal-body.mu-win .captcha-loading{font-size:10px;color:#9a9a9a}
html body #modal-body.mu-win #turnstile-box{transform:scale(.72);transform-origin:left top;height:50px}
/* links under the window */
html body #modal-body.mu-win .mu-win-links{position:absolute;left:0;right:0;bottom:-26px;display:flex;justify-content:center;gap:18px}
html body #modal-body.mu-win .mu-win-links button,html body #modal-body.mu-win .mu-win-links a{background:none !important;border:0 !important;border-image:none !important;padding:0 !important;min-height:0 !important;box-shadow:none !important;
  color:#e2b866 !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
html body #modal-body.mu-win .mu-win-links button:hover,html body #modal-body.mu-win .mu-win-links a:hover{color:#fff !important}
/* after "Account created": message inside the same window */
html body #modal-body.mu-win:not(:has(form)){text-align:center;padding:84px 40px 40px}
html body #modal-body.mu-win:not(:has(form)) .eyebrow{justify-content:center;font-size:11px}
html body #modal-body.mu-win:not(:has(form)) h2{font-size:20px !important;margin:6px 0 10px !important}
html body #modal-body.mu-win:not(:has(form)) p{color:#ddd !important;font-size:12px !important}
html body #modal-body.mu-win:not(:has(form)) .button{margin-top:14px}

/* ===================================================================
   More client assets
   =================================================================== */
/* MU gauntlet cursor + grabbing hand on anything clickable */
html,html body{cursor:url('assets/mu-ui/cursor.png') 2 2,auto}
html body a,html body button,html body [role=button],html body [data-account],html body [data-download],html body label[for],html body select,html body summary,
html body .player-name,html body .equipment-slot,html body .warehouse-item{cursor:url('assets/mu-ui/cursor-hand.png') 8 2,pointer !important}
html body input,html body textarea{cursor:text}

/* In-game scrollbar */
html{scrollbar-color:#8a8d94 #0b0b0d}
html ::-webkit-scrollbar{width:15px;height:12px;background:#0b0b0d}
html ::-webkit-scrollbar-track{background:url('assets/mu-ui/scroll-track.png') center top repeat-y,#0b0b0d}
html ::-webkit-scrollbar-thumb{background:url('assets/mu-ui/scroll-thumb.png') center/15px 100% no-repeat;min-height:30px}
html ::-webkit-scrollbar-thumb:hover{filter:brightness(1.25)}
html ::-webkit-scrollbar-corner{background:#0b0b0d}

/* Rankings: top three get the in-game rank letters S / A / B */
html body #main .rank-top-badge{display:inline-block !important;width:29px !important;height:28px !important;padding:0 !important;margin-left:6px !important;vertical-align:middle;
  background:url('assets/mu-ui/rank-s.png') center/contain no-repeat !important;border:0 !important;border-radius:0 !important;font-size:0 !important;color:transparent !important;box-shadow:none !important;filter:drop-shadow(0 0 6px #e8b45a66)}
html body #main .podium-2 .rank-top-badge{background-image:url('assets/mu-ui/rank-a.png') !important}
html body #main .podium-3 .rank-top-badge{background-image:url('assets/mu-ui/rank-b.png') !important}
html body #main .home-ranks tbody tr:nth-child(-n+3) .rank-number:after{content:'';display:inline-block;width:24px;height:23px;margin-left:6px;vertical-align:middle;background:url('assets/mu-ui/rank-s.png') center/contain no-repeat}
html body #main .home-ranks tbody tr:nth-child(2) .rank-number:after{background-image:url('assets/mu-ui/rank-a.png')}
html body #main .home-ranks tbody tr:nth-child(3) .rank-number:after{background-image:url('assets/mu-ui/rank-b.png')}

/* Character equipment: in-game slot silhouettes behind each slot */
html body #main .equipment-slot{background-repeat:no-repeat !important;background-position:center !important;background-size:auto 78% !important}
html body #main .equipment-slot[data-equipment-slot="0"]{background-image:url('assets/mu-ui/slot-weapon-r.png') !important}
html body #main .equipment-slot[data-equipment-slot="1"]{background-image:url('assets/mu-ui/slot-weapon-l.png') !important}
html body #main .equipment-slot[data-equipment-slot="2"]{background-image:url('assets/mu-ui/slot-helm.png') !important}
html body #main .equipment-slot[data-equipment-slot="3"]{background-image:url('assets/mu-ui/slot-armor.png') !important}
html body #main .equipment-slot[data-equipment-slot="4"]{background-image:url('assets/mu-ui/slot-pants.png') !important}
html body #main .equipment-slot[data-equipment-slot="5"]{background-image:url('assets/mu-ui/slot-gloves.png') !important}
html body #main .equipment-slot[data-equipment-slot="6"]{background-image:url('assets/mu-ui/slot-boots.png') !important}
html body #main .equipment-slot[data-equipment-slot="7"]{background-image:url('assets/mu-ui/slot-wings.png') !important;background-size:auto 60% !important}
html body #main .equipment-slot[data-equipment-slot="8"]{background-image:url('assets/mu-ui/slot-pet.png') !important}
html body #main .equipment-slot[data-equipment-slot="9"]{background-image:url('assets/mu-ui/slot-pendant.png') !important;background-size:auto 60% !important}
html body #main .equipment-slot[data-equipment-slot="10"],html body #main .equipment-slot[data-equipment-slot="11"]{background-image:url('assets/mu-ui/slot-ring.png') !important;background-size:auto 60% !important}
html body #main .equipment-slot:has(img){background-color:#000 !important;background-blend-mode:normal}
html body #main .equipment-slot:has(img){background-image:radial-gradient(ellipse at 50% 60%,#3a2a10aa,transparent 70%) !important;background-size:100% 100% !important}
html body #main .equipment-slot img{filter:drop-shadow(0 0 4px #000)}

/* Event rows: boss render instead of a generic icon */
html body #main .event-icon.mu-boss-icon{width:46px !important;height:46px !important;padding:0 !important;overflow:hidden;background:radial-gradient(circle at 50% 40%,#3a2410,#000 75%) !important;border-color:#5a4a2e !important}
html body #main .event-icon.mu-boss-icon img{width:100%;height:100%;object-fit:contain;transform:scale(1.25);transform-origin:50% 35%;filter:drop-shadow(0 2px 2px #000)}

/* Item tooltips: in-game black box */
html body .mu-tooltip{background:#000000e0 !important;border:1px solid #3a3a3a !important;border-radius:0 !important;box-shadow:0 8px 30px #000c !important;font-family:Tahoma,Verdana,sans-serif !important}
html body .mu-tooltip.excellent{border-color:#1f6b4c !important}
html body .mu-tooltip.ancient{border-color:#6b5a2a !important}
/* X1000 (owner 2026-11-12 "tooltips not like in game"): the game's colours - name white / yellow (+7) / green (excellent) /
   green on blue (ancient) / white on dark red (Dark), options blue, the ToolTipExpansion colours (ToolTipExpansion_Colors.txt) */
html body .mu-tooltip{font:12px/1.55 Tahoma,Verdana,sans-serif !important;color:#fff !important;padding:12px 14px !important}
html body .mu-tooltip .mu-item-name{color:#fff !important;font-weight:700;font-size:13px;margin-bottom:6px !important;padding:2px 4px}
html body .mu-tooltip.upgraded .mu-item-name{color:#ffcc19 !important}
html body .mu-tooltip.excellent .mu-item-name{color:#19ff7f !important}
html body .mu-tooltip.ancient .mu-item-name{color:#00ff00 !important;background:rgba(60,60,199,.8) !important}
html body .mu-tooltip.dark .mu-item-name{color:#fff !important;background:#9a0000 !important}
html body .mu-tooltip.dark{border-color:#6a1010 !important}
html body .mu-tooltip .mu-dark-lines{margin:0 0 8px}
html body .mu-tooltip .mu-option.dark{color:#ff8a1a !important}
html body .mu-tooltip .mu-tooltip-base{color:#fff !important}
html body .mu-tooltip .mu-option.excellent,html body .mu-tooltip .mu-option.luck,html body .mu-tooltip .mu-option.extra{color:#7fb2ff !important}
html body .mu-tooltip .mu-option.harmony{color:#ffcc19 !important}
html body .mu-tooltip .mu-option.socket{color:#b366ff !important}
html body .mu-tooltip .mu-option.set,html body .mu-tooltip .mu-option.set-on{color:#19ff7f !important}
html body .mu-tooltip .mu-option.set-off{color:#adadad !important}
html body .mu-tooltip .mu-base-wing{color:#7fb2ff !important}
html body #main .warehouse-item.dark img{filter:brightness(.55) saturate(.6) drop-shadow(0 0 3px #c0102a)}
html body .mu-tooltip .mu-option.c0{color:#ffffff !important}
html body .mu-tooltip .mu-option.c1{color:#7fb2ff !important}
html body .mu-tooltip .mu-option.c2{color:#ff3319 !important}
html body .mu-tooltip .mu-option.c3{color:#ffcc19 !important}
html body .mu-tooltip .mu-option.c4{color:#19ff7f !important}
html body .mu-tooltip .mu-option.c5{color:#ff594c !important}
html body .mu-tooltip .mu-option.c6{color:#ff19ff !important}
html body .mu-tooltip .mu-option.c7{color:#ffffff !important;background:rgba(0,0,159,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c8{color:#ffffff !important;background:rgba(159,127,0,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c9{color:#00ff00 !important;background:rgba(59,59,198,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c10{color:#adadad !important}
html body .mu-tooltip .mu-option.c11{color:#cc7fcc !important}
html body .mu-tooltip .mu-option.c12{color:#b266ff !important}
html body .mu-tooltip .mu-option.c13{color:#e56b0a !important}
html body .mu-tooltip .mu-option.c14{color:#ffffff !important;background:rgba(229,107,10,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c15{color:#00ff00 !important}
html body .mu-tooltip .mu-option.c16{color:#e5b2b2 !important;background:rgba(25,25,25,0.20);padding:1px 4px}
html body .mu-tooltip .mu-option.c17{color:#ffffff !important;background:rgba(0,181,159,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c28{color:#ffffff !important;background:rgba(178,102,255,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c25{color:#00ff00 !important;background:rgba(59,59,198,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c18{color:#e566e5 !important;background:rgba(102,122,107,0.20);padding:1px 4px}
html body .mu-tooltip .mu-option.c19{color:#e5e566 !important;background:rgba(102,122,107,0.20);padding:1px 4px}
html body .mu-tooltip .mu-option.c20{color:#000000 !important;background:rgba(204,204,204,0.85);padding:1px 4px}
html body .mu-tooltip .mu-option.c21{color:#ff4c4c !important;background:rgba(229,229,229,0.20);padding:1px 4px}
html body .mu-tooltip .mu-option.c22{color:#e5e5e5 !important;background:rgba(204,224,30,0.60);padding:1px 4px}
html body .mu-tooltip .mu-option.c23{color:#ffffff !important;background:rgba(255,25,255,0.80);padding:1px 4px}
html body .mu-tooltip .mu-option.c24{color:#ffffff !important;background:rgba(0,0,159,0.50);padding:1px 4px}
html body .mu-tooltip .mu-option.c30{color:#ffcc19 !important;background:rgba(255,0,0,0.40);padding:1px 4px}
html body .mu-tooltip .mu-option.c35{color:#ffffff !important;background:rgba(255,0,0,0.50);padding:1px 4px}

/* ===================================================================
   In-game windows: Inventory (equipment) and Storage (warehouse)
   =================================================================== */
html body #main .mu-inv-window,html body #main .equipment-grid,html body #main .warehouse-panel{
  position:relative !important;border-radius:0 !important;border-style:solid !important;border-color:transparent !important;
  border-width:51px 18px 39px 18px !important;border-image:url('assets/mu-ui/inv-window.png') 34 26 26 12 fill / 51px 39px 39px 18px stretch !important;
  background:none !important;box-shadow:0 14px 34px #000d !important}
html body #main .equipment-grid:before,html body #main .warehouse-panel:before{
  content:attr(data-mu-title);position:absolute;left:0;right:0;top:-38px;text-align:center;font:700 13px Tahoma,Verdana,sans-serif;color:#fff;text-shadow:0 1px 0 #000;pointer-events:none}

/* ---- Inventory: equipment in the in-game positions ---- */
html body #main .equipment-grid{width:min(100%,420px) !important;margin:6px auto 0 !important;padding:12px 10px 10px !important;
  display:grid !important;grid-template-columns:1fr 38px 1fr 38px 1fr !important;grid-template-rows:84px 118px 84px !important;gap:10px 6px !important}
html body #main .equipment-grid .equipment-slot{grid-column:auto;grid-row:auto;width:100% !important;height:100% !important;min-height:0 !important;padding:8px !important;
  border:0 !important;border-radius:0 !important;outline:0 !important;box-shadow:none !important;
  background-color:transparent !important;background-repeat:no-repeat !important;background-position:center !important;background-size:100% 100% !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="8"]{grid-area:1/1 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="2"]{grid-area:1/3 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="7"]{grid-area:1/4/2/6 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="0"]{grid-area:2/1 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="9"]{grid-area:2/2 !important;align-self:start;height:38px !important;margin-top:12px}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="3"]{grid-area:2/3 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="1"]{grid-area:2/5 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="5"]{grid-area:3/1 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="10"]{grid-area:3/2 !important;align-self:center;height:38px !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="4"]{grid-area:3/3 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="11"]{grid-area:3/4 !important;align-self:center;height:38px !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="6"]{grid-area:3/5 !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="9"],html body #main .equipment-grid .equipment-slot[data-equipment-slot="10"],html body #main .equipment-grid .equipment-slot[data-equipment-slot="11"]{padding:4px !important}
/* equipped: darken the silhouette, item on top; hover/selected: gold glow like the client */
html body #main .equipment-grid .equipment-slot:has(img){background-image:linear-gradient(#000000c0,#000000c0),var(--mu-slot) !important;background-size:100% 100%,100% 100% !important}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="0"]{--mu-slot:url('assets/mu-ui/slot-weapon-r.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="1"]{--mu-slot:url('assets/mu-ui/slot-weapon-l.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="2"]{--mu-slot:url('assets/mu-ui/slot-helm.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="3"]{--mu-slot:url('assets/mu-ui/slot-armor.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="4"]{--mu-slot:url('assets/mu-ui/slot-pants.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="5"]{--mu-slot:url('assets/mu-ui/slot-gloves.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="6"]{--mu-slot:url('assets/mu-ui/slot-boots.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="7"]{--mu-slot:url('assets/mu-ui/slot-wings.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="8"]{--mu-slot:url('assets/mu-ui/slot-pet.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="9"]{--mu-slot:url('assets/mu-ui/slot-pendant.png')}
html body #main .equipment-grid .equipment-slot[data-equipment-slot="10"],html body #main .equipment-grid .equipment-slot[data-equipment-slot="11"]{--mu-slot:url('assets/mu-ui/slot-ring.png')}
html body #main .equipment-grid .equipment-slot:hover,html body #main .equipment-grid .equipment-slot.selected{filter:drop-shadow(0 0 5px #e8b45a) !important;z-index:2}
html body #main .equipment-grid .equipment-slot>span:not(.item-effect-badge),html body #main .equipment-grid .empty-slot{display:none !important}
html body #main .equipment-grid .equipment-slot img{width:100% !important;height:100% !important;object-fit:contain !important;filter:drop-shadow(0 0 3px #000) drop-shadow(0 0 1px #000) !important}

/* ---- Storage: teal 8 x 15 grid ---- */
html body #main .warehouse-panel{padding:10px 8px 8px !important;overflow:visible !important}
html body #main .warehouse-grid{border:1px solid #9a9da5 !important;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000 !important;background:#3a6262 !important;gap:0 !important;border-radius:0 !important;padding:0 !important}
html body #main .warehouse-cell{background:url('assets/mu-ui/cell.png') 0 0/100% 100% no-repeat !important;border:0 !important;border-radius:0 !important;box-shadow:none !important}
html body #main .warehouse-item{background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;z-index:1}
html body #main .warehouse-item:hover,html body #main .warehouse-item:focus-visible,html body #main .warehouse-item[aria-expanded="true"]{background:#c8ab6a4d !important;outline:1px solid #ddc288 !important;outline-offset:-1px}
html body #main .warehouse-item.excellent{background:transparent !important}
html body #main .warehouse-count{color:#ffe36b !important;font:700 12px Tahoma,Verdana,sans-serif !important;text-shadow:0 1px 0 #000,0 0 2px #000 !important;background:none !important}
html body #main .warehouse-panel .form-note{color:#9a9da5 !important;font:11px Tahoma,Verdana,sans-serif !important;margin-top:8px !important;text-align:center}
html body #main .warehouse-arrow{width:34px !important;height:34px !important;border-radius:0 !important;background:none !important;border:0 !important;box-shadow:none !important;color:transparent !important;font-size:0 !important;
  background:linear-gradient(#0000,#0000) !important}
html body #main .warehouse-arrow:after{content:'';position:absolute;inset:6px;background:#e9c46a;clip-path:polygon(0 0,100% 50%,0 100%,25% 50%);filter:drop-shadow(0 0 3px #000)}
html body #main .warehouse-arrow.previous:after{transform:scaleX(-1)}
html body #main .warehouse-arrow:hover:after{background:#fff2c4}
html body #main .warehouse-arrow:disabled:after{background:#555}
/* Zen: in-game money bar */
html body #main .mu-zen{display:inline-flex !important;align-items:center;justify-content:flex-end;width:220px;height:34px;padding:0 14px 0 60px !important;
  background:url('assets/mu-ui/zen-bar.png') 0 0/100% 100% no-repeat !important;color:#fff !important;font:700 13px Tahoma,Verdana,sans-serif !important;text-shadow:0 1px 0 #000}
@media (max-width:820px){
  html body #main .character-workspace,html body #main .character-overview,html body #main [class*="character-info"]{min-width:0 !important;max-width:100% !important}
  html body #main .character-info-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;min-width:0 !important}
  html body #main .character-info-row>*{min-width:0 !important;overflow-wrap:anywhere}
  html body #main .character-overview,html body #main .character-workspace{overflow-x:hidden !important}
  html body #main .equipment-grid{grid-template-rows:70px 100px 70px !important;grid-template-columns:1fr 30px 1fr 30px 1fr !important;padding:8px 6px 6px !important}
}

/* Light cards: full continuous S6 frame (thinner) instead of loose corner crops */
html body #main .titan-home .home-reason,html body #main .titan-home .home-reason-catchup,html body #main .titan-home .home-reason-systems,html body #main .titan-home .home-reason-client,
html body #main .guide-card,html body #main .event-card,html body #main .monster-card,html body #main .reference-card,html body #main .gx-card{
  border-style:solid !important;border-color:transparent !important;border-width:14px 8px !important;
  border-image:url('assets/mu-ui/frame.png') 30 56 26 56 / 15px 28px 13px 28px stretch !important;
  background:radial-gradient(ellipse at 50% 0%,#ffffff0b,transparent 60%),linear-gradient(180deg,#141519,#09090b) !important;background-clip:padding-box !important;
  box-shadow:0 8px 22px #000b !important}
html body #main .guide-card:hover,html body #main .event-card:hover,html body #main .monster-card:hover,html body #main .titan-home .home-reason:hover{
  background:radial-gradient(ellipse at 50% 0%,#e8b45a1a,transparent 65%),linear-gradient(180deg,#17171a,#0a0a0c) !important;background-clip:padding-box !important;
  box-shadow:0 0 18px #e8b45a2a,0 8px 22px #000b !important}

/* Feature cards: fill the right side with large game art */
html body #main .titan-home .home-reason{min-height:240px !important;overflow:hidden !important}
html body #main .titan-home .home-reason>*{position:relative;z-index:2}
html body #main .titan-home .home-reason>span,html body #main .titan-home .home-reason>h3,html body #main .titan-home .home-reason>p{max-width:62%}
html body #main .titan-home .home-reason:after{content:'' !important;position:absolute !important;z-index:1 !important;pointer-events:none;
  top:0 !important;right:0 !important;bottom:0 !important;left:auto !important;width:58% !important;height:auto !important;opacity:1 !important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 45%) !important;mask-image:linear-gradient(90deg,transparent 0%,#000 45%) !important;filter:none !important}
html body #main .titan-home .home-reason-catchup:after{background:radial-gradient(ellipse at 60% 45%,#e8b45a22,transparent 70%),url('assets/classes/dk.png') 50% 18%/cover no-repeat !important;opacity:.85 !important}
html body #main .titan-home .home-reason-systems:after{background:radial-gradient(ellipse at 60% 60%,#ff7a2a26,transparent 70%),url('assets/bosses/kundun.png') 60% 30%/auto 125% no-repeat !important}
html body #main .titan-home .home-reason-client:after{background:radial-gradient(ellipse at 55% 50%,#ff5a2a26,transparent 70%),url('assets/wings/12-228.png') 55% 50%/auto 105% no-repeat !important}
html body #main .titan-home .home-reason .mu-feature-item{display:none !important}
@media (max-width:820px){html body #main .titan-home .home-reason>span,html body #main .titan-home .home-reason>h3,html body #main .titan-home .home-reason>p{max-width:70%}}
html body #main .titan-home .home-reason-catchup:after{opacity:.6 !important;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 65%) !important;mask-image:linear-gradient(90deg,transparent 0%,#000 65%) !important}

/* ===================================================================
   MU Helper guide — interactive helper window (client MacroUI textures)
   =================================================================== */
.mh-root{margin:18px 0 8px;font:12px/1.4 Tahoma,Verdana,Arial,sans-serif;color:#e4e4e4}
.mh-bar{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;margin-bottom:12px;background:linear-gradient(180deg,#1b1c20,#08080a);border:1px solid #3c3f46;box-shadow:inset 0 0 0 1px #000}
.mh-ctl{width:36px !important;height:24px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;box-shadow:none !important;background:url('assets/mu-ui/helper/start.png') center/36px 24px no-repeat !important}
.mh-ctl.mh-start:hover{background-image:url('assets/mu-ui/helper/start-hover.png') !important}
.mh-ctl.mh-pause{background-image:url('assets/mu-ui/helper/pause.png') !important}.mh-ctl.mh-pause:hover{background-image:url('assets/mu-ui/helper/pause-hover.png') !important}
.mh-ctl.mh-setup{background-image:url('assets/mu-ui/helper/setup.png') !important}.mh-ctl.mh-setup:hover{background-image:url('assets/mu-ui/helper/setup-hover.png') !important}
.mh-root.running .mh-ctl.mh-start{background-image:url('assets/mu-ui/helper/start-press.png') !important;filter:drop-shadow(0 0 6px #ffb84a)}
.mh-state{margin-left:10px;color:#9a9da5}
.mh-root.running .mh-state{color:#9be37a}
.mh-root.running .mh-state:before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#9be37a;box-shadow:0 0 8px #9be37a;animation:mhblink 1s infinite}
@keyframes mhblink{50%{opacity:.25}}
.mh-layout{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:22px;align-items:start}
.mh-window{position:relative;border-style:solid;border-color:transparent;border-width:51px 18px 39px 18px;border-image:url('assets/mu-ui/inv-window.png') 34 26 26 12 fill / 51px 39px 39px 18px stretch;padding:6px 6px 2px;box-shadow:0 14px 34px #000d}
.mh-title{position:absolute;left:0;right:0;top:-39px;text-align:center;font-weight:700;font-size:13px;color:#fff;text-shadow:0 1px 0 #000}
.mh-tabs{display:flex;gap:2px;margin:0 0 8px;border-bottom:1px solid #4a4d55}
.mh-tabs button{flex:1;min-height:0 !important;padding:5px 0 !important;border:1px solid #4a4d55 !important;border-bottom:0 !important;border-image:none !important;border-radius:0 !important;background:linear-gradient(180deg,#26282e,#121316) !important;color:#9a9da5 !important;font:700 12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important}
.mh-tabs button.on{background:linear-gradient(180deg,#3a3d44,#1c1d22) !important;color:#ffd986 !important}
.mh-group{margin:0 0 8px;padding:8px 10px 6px;border:1px solid #3a3d44;background:#00000066;box-shadow:inset 0 0 0 1px #000}
.mh-group legend{padding:0 6px;color:#e2b866;font-weight:700;font-size:11px;letter-spacing:.04em}
.mh-row{display:flex;align-items:center;gap:6px;margin:3px 0;cursor:url('assets/mu-ui/cursor-hand.png') 8 2,pointer}
.mh-row input{position:absolute;opacity:0;width:0;height:0}
.mh-box,.mh-dot{flex:none;width:15px;height:15px;background:url('assets/mu-ui/helper/check-off.png') 0 0/15px 15px}
.mh-row input:checked+.mh-box{background-image:url('assets/mu-ui/helper/check-on.png')}
.mh-dot{background-image:url('assets/mu-ui/helper/radio-off.png')}
.mh-row input:checked+.mh-dot{background-image:url('assets/mu-ui/helper/radio-on.png')}
.mh-row input:focus-visible+span{outline:1px solid #ffd986}
.mh-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:3px 0}
.mh-line>span:first-child{min-width:96px}
.mh-num{display:inline-flex;align-items:center;gap:3px}
.mh-num b{display:inline-block;min-width:28px;height:15px;line-height:15px;text-align:center;background:url('assets/mu-ui/helper/num.png') 0 0/100% 100%;color:#000;font-size:11px}
.mh-num button,.mh-btn{min-height:0 !important;height:17px !important;padding:0 6px !important;border:1px solid #6d6d6d !important;border-image:none !important;border-radius:2px !important;background:linear-gradient(180deg,#4a4d55,#1c1d22) !important;color:#fff !important;font:700 11px/15px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:inset 0 1px 0 #ffffff22 !important}
.mh-num button{width:17px !important;padding:0 !important}
.mh-num button:hover,.mh-btn:hover{background:linear-gradient(180deg,#6a6d76,#2a2b31) !important;color:#ffd986 !important}
.mh-sec{display:inline-flex;align-items:center;gap:4px;margin-left:2px}
.mh-sec small{color:#9a9da5}
.mh-radar{position:relative;width:46px;height:46px;border:1px solid #3a3d44;border-radius:50%;background:radial-gradient(circle,#ffffff10 1px,transparent 2px) 0 0/9px 9px,#000}
.mh-radar:after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:#ffd986;box-shadow:0 0 6px #ffd986}
.mh-radar i{--r:4;position:absolute;left:50%;top:50%;width:calc(var(--r) * 7px);height:calc(var(--r) * 7px);transform:translate(-50%,-50%);border:1px solid #9be37a;border-radius:50%;background:#9be37a22;transition:width .2s,height .2s}
.mh-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:4px}
.mh-skill{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:4px;border:1px solid #2c2e34;background:#0008}
.mh-skill small{color:#e2b866;font-size:10px}
.mh-slot{width:32px !important;height:38px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;border-radius:0 !important;box-shadow:none !important;background:url('assets/mu-ui/helper/skillbox.png') 0 0/32px 38px no-repeat !important;display:grid !important;place-items:center}
.mh-slot:hover{background-image:url('assets/mu-ui/helper/skillbox-on.png') !important}
.mh-slot.big{transform:scale(1.15);transform-origin:left top;margin-bottom:6px}
.mh-icon{display:block;width:20px;height:28px;background:url('assets/mu-ui/helper/skills.png') 0 0/256px 256px no-repeat;image-rendering:pixelated}
.mh-buffs{display:flex;gap:6px;margin-top:4px}
.mh-pct{display:inline-flex;align-items:center;gap:6px}
.mh-pct input{width:96px;accent-color:#e2b866}
.mh-pct b{min-width:34px;color:#ffd986;font-size:11px}
.mh-picks{display:grid;grid-template-columns:1fr 1fr;padding-left:18px}
.mh-text{width:150px !important;height:17px !important;padding:0 4px !important;border:0 !important;border-radius:0 !important;background:url('assets/mu-ui/helper/text.png') 0 0/100% 100% !important;color:#000 !important;font:11px Tahoma,Verdana,sans-serif !important;box-shadow:none !important}
.mh-list{list-style:none;margin:6px 0 0;padding:4px;min-height:60px;max-height:110px;overflow:auto;background:#000;border:1px solid #3a3d44}
.mh-list li{padding:2px 6px;color:#ddd;cursor:url('assets/mu-ui/cursor-hand.png') 8 2,pointer}
.mh-list li:hover{background:#ffffff12}.mh-list li.sel{background:#c8ab6a4d;color:#fff}
.mh-foot{display:flex;justify-content:center;gap:8px;padding:4px 0 2px}
.mh-foot .mh-btn{height:22px !important;padding:0 14px !important}
.mh-help{position:sticky;top:90px;padding:18px 20px;border:1px solid #2c2e34;background:linear-gradient(180deg,#16171b,#0a0a0c);box-shadow:inset 0 0 0 1px #000,0 8px 22px #000b}
.mh-help h3{margin:4px 0 10px;font-size:20px}
.mh-help p{color:#d1d3d8;font-size:14px;line-height:1.6;margin:0 0 10px}
.mh-help .mh-tip{padding:8px 10px;border-left:2px solid #e2b866;background:#e2b8661a;color:#f0dcaa;font-size:13px}
.mh-fee{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;padding:10px 14px;border:1px solid #2c2e34;background:#0008;font:12px Tahoma,Verdana,sans-serif}
.mh-fee>span{color:#e2b866;font-weight:700}
.mh-gauge{width:156px;height:8px;background:url('assets/mu-ui/helper/gauge-frame.png') 0 0/100% 100%;padding:2px}
.mh-gauge i{display:block;height:4px;background:url('assets/mu-ui/helper/gauge-bar.png') 0 0/152px 4px;transition:width .2s}
.mh-fee input{accent-color:#e2b866}
.mh-fee b{color:#ffd986}
@media (max-width:860px){.mh-layout{grid-template-columns:minmax(0,1fr)}.mh-help{position:static}.mh-skills{grid-template-columns:1fr 1fr}}
/* MU Helper guide v2: Off Helper button, bottom row, party */
.mh-offrow{display:flex;justify-content:center;margin:6px 0 10px;padding:12px 0;border:1px solid #3a3d44;background:#00000066}
.mh-offbtn{min-width:210px;height:34px !important;min-height:0 !important;padding:0 20px !important;border:6px solid transparent !important;border-image:url('assets/mu-ui/btn2.png') 6 fill / 6px stretch !important;background:none !important;border-radius:0 !important;
  color:#fff !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:0 0 0 1px #6b5530 !important}
.mh-offbtn:hover{border-image-source:url('assets/mu-ui/btn2-hover.png') !important;color:#ffd986 !important;box-shadow:0 0 0 1px #c9a45a,0 0 10px #e8b45a55 !important}
.mh-foot{align-items:center;gap:12px !important}
.mh-x{width:36px !important;height:29px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;box-shadow:none !important;background:url('assets/mu-ui/helper/exit.png') 0 0/36px 29px no-repeat !important}
.mh-x:hover{background-image:url('assets/mu-ui/helper/exit-hover.png') !important}
.mh-gbtn{height:30px !important;min-height:0 !important;padding:0 16px !important;border:6px solid transparent !important;border-image:url('assets/mu-ui/btn-hover.png') 6 fill / 6px stretch !important;background:none !important;border-radius:0 !important;
  color:#fff !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;text-shadow:0 1px 1px #000 !important;box-shadow:none !important}
.mh-gbtn:hover{filter:brightness(1.25)}
.mh-gbtn:active{border-image-source:url('assets/mu-ui/btn-press.png') !important}
.mh-partyopts{padding-left:20px;transition:opacity .2s}
.mh-partybox:not(.on) .mh-partyopts{opacity:.38;pointer-events:none}
.mh-party{margin:16px 0;padding:14px 16px;border:1px solid #2c2e34;background:linear-gradient(180deg,#141519,#09090b);box-shadow:inset 0 0 0 1px #000;font:12px Tahoma,Verdana,sans-serif;color:#e4e4e4}
.mh-party-ctl{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.mh-party-ctl>b{color:#e2b866}
.mh-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mh-member{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid #2c2e34;background:#000a;transition:opacity .2s,border-color .2s}
.mh-member.me{border-color:#6b5530}
.mh-member.far{opacity:.4;border-style:dashed}
.mh-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #5a5d66;background:radial-gradient(circle at 35% 30%,#3a3d44,#0b0b0d 70%);color:#f3d38c;font-weight:700}
.mh-member small{color:#9a9da5}
.mh-mbuffs{display:flex;gap:2px;min-height:28px}
.mh-mbuffs .mh-icon{transform:scale(.8)}
.mh-party-note{margin:10px 0 0 !important;color:#ffd986 !important;font-size:12px !important}
@media (max-width:600px){.mh-members{grid-template-columns:1fr 1fr}}

/* ===== Official MU Helper v3 (real client layout) ===== */
.mh-layout{display:flex !important;flex-direction:column-reverse;gap:14px !important}
.mh-help{position:sticky !important;top:76px;z-index:5;padding:12px 16px !important}
.mh-help h3{font-size:17px !important;margin:2px 0 6px !important}
.mh-help p{font-size:13px !important;margin:0 0 6px !important}
.mh-window{width:min(100%,470px);margin:0 auto;padding:4px 10px 4px !important;font:12px Tahoma,Verdana,Arial,sans-serif;color:#e8e8e8}
.mh-tabs{margin:8px 0 10px !important;border:0 !important;gap:3px !important}
.mh-tabs button{height:30px;border-radius:6px 6px 0 0 !important;border:1px solid #5a5d66 !important;border-bottom:0 !important;background:linear-gradient(180deg,#2c2e34,#141518) !important;color:#8d9097 !important;font-weight:400 !important}
.mh-tabs button.on{background:linear-gradient(180deg,#4a4d55,#24262c) !important;color:#fff !important}
.mh-cell,.mh-rangebox{position:relative;padding:8px 10px;margin:0 0 6px;border:1px solid #000;background:#00000040;box-shadow:inset 1px 1px 0 #8a8d94,inset -1px -1px 0 #3a3d44,0 0 0 1px #2a2c31}
.mh-grid2{display:grid;grid-template-columns:150px 1fr;gap:6px}
.mh-grid2>*{margin:0 0 6px}
.mh-rangebox{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:center;min-height:86px}
.mh-rlabel{grid-column:1;padding-bottom:3px;border-bottom:1px solid #9a9da5;align-self:start;width:56px}
.mh-big{grid-column:1;grid-row:2;justify-self:center;font:italic 700 38px/1 Georgia,'Times New Roman',serif;color:#e8b45a;
  background:linear-gradient(180deg,#fff3c4 10%,#d99a3a 55%,#7a4a14 95%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 0 #000)}
.mh-pm{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;gap:6px}
.mh-plus,.mh-minus{width:32px !important;height:30px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;box-shadow:none !important;background:url('assets/mu-ui/helper/plus.png') 0 0/32px 30px no-repeat !important;image-rendering:pixelated}
.mh-plus:hover{background-image:url('assets/mu-ui/helper/plus-on.png') !important}
.mh-minus{background-image:url('assets/mu-ui/helper/minus.png') !important}.mh-minus:hover{background-image:url('assets/mu-ui/helper/minus-on.png') !important}
.mh-healcell{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mh-check{gap:8px !important;margin:4px 0 !important}
.mh-box,.mh-dot{width:20px !important;height:20px !important;background-size:20px 20px !important;image-rendering:pixelated}
.mh-spread{justify-content:space-between}
.mh-dist{display:inline-flex;align-items:center;gap:8px}
.mh-nbox{width:40px !important;height:20px !important;padding:0 4px !important;margin:0 4px !important;text-align:center;border:0 !important;border-radius:0 !important;background:url('assets/mu-ui/helper/num.png') 0 0/100% 100% !important;color:#000 !important;font:12px Tahoma,Verdana,sans-serif !important;box-shadow:none !important}
.mh-sbtn,.mh-wbtn{height:34px !important;min-height:0 !important;padding:0 14px !important;border:7px solid transparent !important;border-image:url('assets/mu-ui/helper/gbtn-s.png') 7 fill / 7px stretch !important;background:none !important;border-radius:0 !important;
  color:#fff !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;text-shadow:0 1px 1px #000 !important;box-shadow:0 0 0 1px #000 !important}
.mh-sbtn:hover,.mh-wbtn:hover{border-image-source:url('assets/mu-ui/helper/gbtn-s-hover.png') !important;color:#fff !important}
.mh-sbtn:active,.mh-wbtn:active{border-image-source:url('assets/mu-ui/helper/gbtn-s-press.png') !important}
.mh-skillcell{display:grid;grid-template-columns:110px 1fr;gap:10px}
.mh-col{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.mh-cap{color:#e8e8e8}
.mh-slot{width:68px !important;height:76px !important;background-size:68px 76px !important}
.mh-slot .mh-icon{transform:scale(2.1);image-rendering:pixelated}
.mh-acts{gap:8px}
.mh-actrow{display:flex;align-items:flex-start;gap:8px}
.mh-conds{display:flex;flex-direction:column;gap:2px;flex:1}
.mh-conds .mh-line{justify-content:space-between;margin:0}
.mh-buffs{gap:6px !important;margin-top:6px}
.mh-offrow{border:1px solid #000 !important;box-shadow:inset 1px 1px 0 #8a8d94,inset -1px -1px 0 #3a3d44,0 0 0 1px #2a2c31 !important;background:#00000040 !important;padding:14px 0 !important}
.mh-offbtn{min-width:270px;height:46px !important;border-image-source:url('assets/mu-ui/helper/gbtn-s.png') !important;box-shadow:0 0 0 1px #000 !important}
.mh-foot{display:flex;justify-content:space-between !important;align-items:center;padding:10px 4px 2px !important}
.mh-foot .mh-wbtn{min-width:128px}
.mh-x{width:56px !important;height:44px !important;background-size:56px 44px !important}
.mh-picks{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;padding:4px 0 0 18px}
.mh-addrow{display:flex;gap:10px;padding-left:40px;margin:6px 0}
.mh-text{flex:1;height:22px !important}
.mh-list{min-height:120px !important;margin:6px 0 !important;background:#000 !important;border:1px solid #000 !important;box-shadow:inset 1px 1px 0 #3a3d44,inset -1px -1px 0 #8a8d94 !important}
.mh-listbtns{display:flex;justify-content:space-between;gap:8px}
.mh-listbtns .mh-wbtn{flex:1}
.mh-othercell{min-height:120px;color:#c8cad0}
.mh-pop{position:absolute;left:50%;top:150px;z-index:6;width:280px;transform:translateX(-50%);padding:10px 14px 12px;background:#0d0d10f2;border:1px solid #000;box-shadow:inset 1px 1px 0 #8a8d94,inset -1px -1px 0 #3a3d44,0 14px 30px #000e}
.mh-poptitle{margin:-10px -14px 10px;padding:6px 0;text-align:center;font-weight:700;background:linear-gradient(180deg,#3a3d44,#16171b);border-bottom:1px solid #000}
.mh-pop .mh-line{justify-content:space-between}
.mh-popfoot{display:flex;justify-content:center;margin-top:8px}
.mh-pane{position:relative}
.mh-party .mh-num b{background:url('assets/mu-ui/helper/num.png') 0 0/100% 100%}
.mh-minus2,.mh-plus2{width:17px !important;height:17px !important;min-height:0 !important;padding:0 !important;border:1px solid #6d6d6d !important;border-image:none !important;border-radius:2px !important;background:linear-gradient(180deg,#4a4d55,#1c1d22) !important;color:#fff !important;font:700 11px/15px Tahoma !important;box-shadow:none !important}
@media (max-width:520px){.mh-grid2{grid-template-columns:1fr}.mh-skillcell{grid-template-columns:1fr}.mh-foot .mh-wbtn{min-width:0}.mh-offbtn{min-width:0;width:90%}}
.mh-help{position:relative !important;top:auto !important;height:156px;overflow:auto;box-sizing:border-box}
.mh-toast{position:fixed;right:18px;bottom:18px;z-index:50;width:min(360px,calc(100vw - 36px));padding:12px 16px;border:1px solid #6b5530;background:linear-gradient(180deg,#17171a,#0a0a0c);box-shadow:0 14px 34px #000e;
  font:13px/1.5 Tahoma,Verdana,sans-serif;color:#d1d3d8;opacity:0;transform:translateY(10px);transition:opacity .2s,transform .2s;pointer-events:none}
.mh-toast.on{opacity:1;transform:none}
.mh-toast b{display:block;margin-bottom:4px;color:#f0dcaa;font:15px Cinzel,serif}
/* Instant Hunting Log (client Lua UI: UIKit Back + rows) */
.mh-root{position:relative}
.mh-hlog{position:absolute;right:0;top:0;z-index:4;width:250px;border:1px solid #000;box-shadow:inset 0 0 0 1px #5a4a2e,0 10px 26px #000d;background:url('assets/mu-ui/page-stone.jpg') 0 0/256px auto,#0b0b0d;font:12px Tahoma,Verdana,sans-serif}
.mh-hlog[hidden]{display:none}
.mh-hlog-head{display:flex;align-items:center;justify-content:center;position:relative;height:24px;background:#000000b3;border-bottom:1px solid #8c6b1fb3;color:#ffd24a;font-weight:700}
.mh-hlog-min{position:absolute;right:5px;top:5px;width:14px !important;height:14px !important;min-height:0 !important;padding:0 !important;border:1px solid #6d6d6d !important;border-image:none !important;border-radius:0 !important;background:#1b1c20 !important;color:#fff !important;font:700 12px/11px Tahoma !important;box-shadow:none !important}
.mh-hlog-min:hover{background:#3a3d44 !important}
.mh-hlog.min{width:170px}.mh-hlog.min .mh-hlog-body{display:none}
.mh-hlog.min .mh-hlog-head span{font-size:0}.mh-hlog.min .mh-hlog-head span:after{content:'Hunting Log';font-size:12px}
.mh-hlog-body{padding:6px}
.mh-hrow{display:flex;justify-content:space-between;padding:3px 6px;color:#d9d9d9}
.mh-hrow:nth-of-type(odd){background:#ffffff0a}
.mh-hrow span{color:#9a9da5}.mh-hrow b{color:#fff;font-weight:400;font-variant-numeric:tabular-nums}
.mh-hsec{margin:6px 0 2px;padding:0 6px 2px;color:#e2b866;font-weight:700;border-bottom:1px solid #8c6b1f80}
@media (max-width:860px){.mh-hlog{position:relative;width:100%;margin-bottom:10px}}
.mh-root.running .mh-help{width:calc(100% - 262px)}
@media (max-width:860px){.mh-root.running .mh-help{width:auto}}

/* ===================================================================
   Chaos Machine simulator guide
   =================================================================== */
.cm-root{display:grid;grid-template-columns:150px minmax(0,360px) minmax(0,1fr);gap:16px;align-items:start;margin:16px 0;font:12px Tahoma,Verdana,Arial,sans-serif;color:#e4e4e4}
.cm-list{display:flex;flex-direction:column;gap:10px}
.cm-group{display:flex;flex-direction:column;gap:3px}
.cm-group>span{color:#e2b866;font-weight:700;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:0 2px 2px;border-bottom:1px solid #3a3d44}
.cm-pick{display:flex !important;align-items:center;gap:8px;min-height:0 !important;height:32px !important;padding:0 8px !important;border:1px solid #2c2e34 !important;border-image:none !important;border-radius:0 !important;background:linear-gradient(180deg,#17181c,#0b0b0d) !important;color:#d1d3d8 !important;
  font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;text-align:left;box-shadow:none !important}
.cm-pick img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 0 2px #000)}
.cm-pick small{margin-left:auto;color:#9a9da5;font-size:9px}
.cm-pick:hover{border-color:#5a5d66 !important;color:#fff !important}
.cm-pick.on{border-color:#c9a45a !important;background:linear-gradient(180deg,#2a2418,#110e08) !important;color:#ffd986 !important}
.cm-window{position:relative;border-style:solid;border-color:transparent;border-width:51px 18px 39px 18px;border-image:url('assets/mu-ui/inv-window.png') 34 26 26 12 fill / 51px 39px 39px 18px stretch;padding:4px 6px;box-shadow:0 14px 34px #000d}
.cm-title{position:absolute;left:0;right:0;top:-39px;text-align:center;font-weight:700;font-size:13px;color:#fff;text-shadow:0 1px 0 #000}
.cm-acc{display:flex;gap:3px;margin-bottom:8px}
.cm-accb{flex:1;min-height:0 !important;height:24px !important;padding:0 !important;border:5px solid transparent !important;border-image:url('assets/mu-ui/helper/gbtn-s.png') 7 fill / 5px stretch !important;background:none !important;border-radius:0 !important;color:#cfd1d6 !important;font:11px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important}
.cm-accb.on{border-image-source:url('assets/mu-ui/helper/gbtn-s-hover.png') !important;color:#ffd986 !important}
.cm-box{display:grid;grid-template-columns:repeat(8,38px);grid-template-rows:repeat(4,38px);grid-auto-flow:row dense;width:306px;margin:0 auto;border:1px solid #9a9da5;box-shadow:0 0 0 1px #000;
  background:url('assets/mu-ui/cell.png') 0 0/38px 38px,#3a6262;overflow:hidden;transition:filter .3s}
.cm-item{display:grid;place-items:center;padding:3px;background:#c8ab6a1f;outline:1px solid #ffffff10;outline-offset:-1px}
.cm-item img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 0 2px #000)}
.cm-result{background:radial-gradient(circle,#ffd98655,transparent 70%);animation:cmpop .5s ease-out}
@keyframes cmpop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.cm-spin .cm-box{filter:brightness(1.6) saturate(1.4);animation:cmshake .6s}
@keyframes cmshake{25%{transform:translateX(-2px)}50%{transform:translateX(2px)}75%{transform:translateX(-1px)}}
.cm-win .cm-box{box-shadow:0 0 0 1px #000,0 0 22px #ffd986}
.cm-lose .cm-box{box-shadow:0 0 0 1px #000,0 0 22px #e0503a}
.cm-value{margin:8px 0 0}.cm-value[hidden]{display:none}
.cm-value label{display:flex;flex-direction:column;gap:3px;color:#cfd1d6}.cm-value small{color:#9a9da5}
.cm-value input{accent-color:#e2b866}
.cm-info{display:flex;align-items:baseline;justify-content:space-between;margin:10px 4px 6px}
.cm-info span{color:#cfd1d6}.cm-rate{font:700 24px Cinzel,Georgia,serif;color:#ffd986;text-shadow:0 2px 0 #000}
.cm-zen{display:flex;align-items:center;justify-content:flex-end;height:30px;padding:0 12px 0 56px;background:url('assets/mu-ui/zen-bar.png') 0 0/100% 100% no-repeat;font-weight:700;color:#fff;text-shadow:0 1px 0 #000}
.cm-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0 4px}
.cm-mix{width:66px !important;height:52px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;box-shadow:none !important;background:url('assets/mu-ui/helper/mix.png') 0 0/66px 52px no-repeat !important}
.cm-mix:hover{background-image:url('assets/mu-ui/helper/mix-on.png') !important;filter:drop-shadow(0 0 6px #ffb84a)}
.cm-spin .cm-mix{animation:cmrot .6s linear}
@keyframes cmrot{to{transform:rotate(360deg)}}
.cm-x10{height:30px !important;min-height:0 !important;padding:0 14px !important;border:7px solid transparent !important;border-image:url('assets/mu-ui/helper/gbtn-s.png') 7 fill / 7px stretch !important;background:none !important;border-radius:0 !important;color:#fff !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important}
.cm-x10:hover{border-image-source:url('assets/mu-ui/helper/gbtn-s-hover.png') !important}
.cm-msg{min-height:34px;margin:4px 0 0 !important;text-align:center;font-size:12px !important;color:#cfd1d6 !important}
.cm-msg.good{color:#9be37a !important;font-weight:700}.cm-msg.bad{color:#ff7b5c !important;font-weight:700}
.cm-side{padding:14px 16px;border:1px solid #2c2e34;background:linear-gradient(180deg,#16171b,#0a0a0c);box-shadow:inset 0 0 0 1px #000}
.cm-side h3{margin:0 0 6px;font-size:19px}
.cm-note{font-size:13px !important;line-height:1.55;color:#d1d3d8 !important;margin:0 0 10px !important}
.cm-items{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:4px}
.cm-items li{display:flex;align-items:center;gap:8px;padding:3px 6px;background:#0008;border:1px solid #1f2024}
.cm-items img{width:24px;height:24px;object-fit:contain}
.cm-items .cm-out{border-color:#6b5530;color:#ffd986}
.cm-items .cm-stage{color:#ddc288;border-color:#49433b}
.cm-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
.cm-stats div{padding:6px 8px;background:#000a;border:1px solid #2c2e34}
.cm-stats span{display:block;color:#9a9da5;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.cm-stats b{font:700 16px Tahoma,Verdana,sans-serif;color:#fff}
.cm-reset{min-height:0 !important;height:26px !important;padding:0 10px !important;border:1px solid #3a3d44 !important;border-image:none !important;background:#111 !important;color:#cfd1d6 !important;font:11px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;border-radius:0 !important}
@media (max-width:1100px){.cm-root{grid-template-columns:150px minmax(0,360px)}.cm-side{grid-column:1/-1}}
@media (max-width:640px){.cm-root{grid-template-columns:1fr}.cm-list{flex-direction:row;flex-wrap:wrap}.cm-group{flex:1 1 140px}.cm-window{margin:0 auto;width:100%;max-width:360px}.cm-box{grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(4,34px);width:100%;background-size:12.5% 34px,auto}}
@media (max-width:640px){.cm-root{display:flex !important;flex-direction:column}.cm-list{order:1}.cm-window{order:2}.cm-side{order:3}}
/* Chaos Machine — item quality panel */
.cm-item.exc{background:#c8ab6a2e;box-shadow:inset 0 0 10px #d7b97755}.cm-item.anc{background:#3fae6a2a;box-shadow:inset 0 0 10px #4fdc8a55}
.cm-meter{position:relative;height:12px;margin:0 4px 8px;background:#000;border:1px solid #3a3d44}.cm-meter[hidden]{display:none}
.cm-bar{display:flex;height:100%;overflow:hidden}.cm-bar i{display:block;height:100%;border-right:1px solid #000;transition:width .25s}
.cm-capline{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#ff5c3a;box-shadow:0 0 4px #ff5c3a}
.cm-capline::after{content:attr(data-cap);position:absolute;top:100%;transform:translateX(-50%);margin-top:2px;font-size:9px;color:#ff9d84;white-space:nowrap}
.cm-meter.over .cm-bar{background:repeating-linear-gradient(45deg,#ff5c3a33 0 4px,transparent 4px 8px)}
.cm-meter{margin-bottom:16px}
.cm-q{grid-column:1/-1;padding:14px 16px;border:1px solid #2c2e34;background:linear-gradient(180deg,#16171b,#0a0a0c);box-shadow:inset 0 0 0 1px #000}.cm-q[hidden]{display:none}
.cm-qhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.cm-qhead h3{margin:0;font-size:18px}.cm-qhead h3 small{font:12px Tahoma,Verdana,sans-serif;color:#9a9da5}
.cm-presets{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.cm-presets span{color:#9a9da5;margin-right:2px}
.cm-presets button,.cm-add{min-height:0 !important;height:26px !important;padding:0 10px !important;border:6px solid transparent !important;border-image:url('assets/mu-ui/helper/gbtn-s.png') 7 fill / 6px stretch !important;background:none !important;border-radius:0 !important;color:#e4e4e4 !important;font:11px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;line-height:1 !important}
.cm-presets button:hover,.cm-add:hover{border-image-source:url('assets/mu-ui/helper/gbtn-s-hover.png') !important;color:#ffd986 !important}
.cm-qrule{margin:10px 0 12px !important;font-size:13px !important;color:#d1d3d8 !important}
.cm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.cm-card{display:flex;flex-direction:column;gap:6px;padding:8px 10px;background:#000a;border:1px solid #2c2e34}
.cm-card.exc{border-color:#836d3b}.cm-card.anc{border-color:#2f7a4f}.cm-card.off{border-color:#5a2a22;background:#1a0b0866}
.cm-cardtop{display:flex;align-items:center;gap:6px}
.cm-cimg{flex:none;display:grid;place-items:center;width:38px;height:38px;background:#c8ab6a1f;border:1px solid #ffffff14}.cm-cimg img{max-width:32px;max-height:32px}
.cm-card.exc .cm-cimg{box-shadow:inset 0 0 8px #d7b97777}.cm-card.anc .cm-cimg{box-shadow:inset 0 0 8px #4fdc8a77}
.cm-card select{min-width:0;flex:1;height:26px;padding:0 4px !important;background:#0b0b0d !important;color:#e4e4e4 !important;border:1px solid #3a3d44 !important;border-radius:0 !important;font:12px Tahoma,Verdana,sans-serif !important}
.cm-card.exc select[data-f="t"]{color:#ddc288 !important}.cm-card.anc select[data-f="t"]{color:#6fe39a !important}
.cm-del{flex:none;width:24px !important;height:24px !important;min-height:0 !important;padding:0 !important;border:1px solid #3a3d44 !important;border-image:none !important;background:#111 !important;color:#ff9d84 !important;border-radius:0 !important;font:14px/1 Tahoma,sans-serif !important;box-shadow:none !important}
.cm-ctl{display:flex;align-items:center;gap:6px}.cm-ctl span{flex:1;color:#9a9da5}
.cm-ctl button{width:22px !important;height:22px !important;min-height:0 !important;padding:0 !important;border:0 !important;border-image:none !important;box-shadow:none !important;border-radius:0 !important;font-size:0 !important;background:url('assets/mu-ui/helper/minus.png') center/100% 100% no-repeat !important}
.cm-ctl button[data-d="1"]{background-image:url('assets/mu-ui/helper/plus.png') !important}
.cm-ctl button:hover{filter:brightness(1.3)}
.cm-ctl b{min-width:30px;text-align:center;color:#ffd986;font:700 14px Tahoma,Verdana,sans-serif}
.cm-ctl2{display:flex;align-items:center;justify-content:space-between;gap:6px}
.cm-chk{display:flex;align-items:center;gap:5px;color:#cfd1d6;cursor:pointer}.cm-chk input{accent-color:#e2b866;margin:0}
.cm-opt{display:flex;align-items:center;gap:5px;color:#9a9da5}.cm-opt select{flex:none;width:70px}
.cm-worth{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:6px;border-top:1px solid #23252a;font-size:11px;color:#9a9da5}
.cm-worth b{font:700 16px Tahoma,Verdana,sans-serif;color:#9be37a}.cm-worth .no{color:#ff8a6e;font-weight:700}
.cm-add{align-self:center;justify-self:start;height:34px !important}.cm-full{align-self:center;color:#9a9da5;font-style:italic}
.cm-why{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.cm-why li{padding:6px 10px 6px 28px;position:relative;font-size:13px;line-height:1.45;background:#0008;border-left:3px solid #3a3d44}
.cm-why li::before{position:absolute;left:9px;top:6px;font-weight:700}
.cm-why .bad{border-color:#e0503a}.cm-why .bad::before{content:'✕';color:#ff7b5c}
.cm-why .warn{border-color:#e2a03a}.cm-why .warn::before{content:'!';color:#ffc46b}
.cm-why .tip{border-color:#988c76}.cm-why .tip::before{content:'i';color:#ddc288;font-style:italic}
.cm-why .good{border-color:#5fb04a}.cm-why .good::before{content:'✓';color:#9be37a}
.cm-items .cm-extra{color:#ddc288;border-color:#49433b}
.cm-qnote{margin-top:10px !important}
@media (max-width:640px){.cm-q{order:4;padding:12px}.cm-cards{grid-template-columns:1fr}}
/* ===== Interactive world map ===== */
.wm-root{display:grid;grid-template-columns:minmax(0,1fr) 270px;grid-template-areas:"search search" "list list" "stage side";gap:14px;align-items:start;margin:16px 0;font:12px Tahoma,Verdana,Arial,sans-serif;color:#e4e4e4}
.wm-search{grid-area:search;position:relative}
.wm-search input{width:100%;height:36px;padding:0 12px 0 34px !important;background:#0b0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23e2b866' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 11px 50%/15px no-repeat !important;border:1px solid #3a3d44 !important;border-radius:0 !important;color:#fff !important;font:13px Tahoma,Verdana,sans-serif !important}
.wm-search input:focus{border-color:#c9a45a !important;outline:none}
.wm-results{position:absolute;z-index:20;left:0;right:0;top:100%;max-height:320px;overflow:auto;margin:2px 0 0;padding:4px;list-style:none;background:#0d0d10;border:1px solid #5a5d66;box-shadow:0 12px 30px #000c}.wm-results[hidden]{display:none}
.wm-results button{display:grid;grid-template-columns:1fr auto;gap:0 10px;width:100%;min-height:0 !important;height:auto !important;padding:6px 8px !important;border:0 !important;border-image:none !important;background:none !important;text-align:left;color:#e4e4e4 !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;border-radius:0 !important}
.wm-results button:hover,.wm-results button:focus-visible{background:#2a2418 !important}
.wm-results b{color:#ffd986}.wm-results span{color:#ddc288;text-align:right}.wm-results small{grid-column:1/-1;color:#9a9da5}.wm-results .none{padding:8px;color:#9a9da5}
.wm-list{grid-area:list;display:flex;flex-direction:column;gap:6px}
.wm-group{display:grid;grid-template-columns:132px 1fr;align-items:start;gap:3px}.wm-chips{display:flex;flex-wrap:wrap;gap:3px}
.wm-group>span{padding-top:7px;color:#e2b866;font-weight:700;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.wm-pick{display:flex !important;align-items:center;gap:6px;min-height:0 !important;height:26px !important;padding:0 8px !important;border:1px solid #2c2e34 !important;border-image:none !important;border-radius:0 !important;background:linear-gradient(180deg,#17181c,#0b0b0d) !important;color:#d1d3d8 !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important}
.wm-pick b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-pick small{flex:none;color:#8a8d95;font-size:10px}
.wm-pick:hover{border-color:#5a5d66 !important;color:#fff !important}
.wm-pick.on{border-color:#c9a45a !important;background:linear-gradient(180deg,#2a2418,#110e08) !important;color:#ffd986 !important}.wm-pick.on small{color:#e2b866}
.wm-stage{grid-area:stage;min-width:0}
.wm-frame{position:relative;max-width:620px;margin:0 auto;border-style:solid;border-color:transparent;border-width:40px 16px 34px;border-image:url('assets/mu-ui/inv-window.png') 34 26 26 12 fill / 40px 30px 34px 16px stretch;box-shadow:0 14px 34px #000d}
.wm-title{position:absolute;left:0;right:0;top:-30px;text-align:center;font-weight:700;font-size:13px;color:#fff;text-shadow:0 1px 0 #000}
.wm-map{position:relative;aspect-ratio:1;overflow:hidden;background:#0b0b0d;border:1px solid #6b6e76;box-shadow:0 0 0 1px #000;cursor:crosshair;user-select:none;touch-action:manipulation}
.wm-map img{position:absolute;inset:0;width:100%;height:100%;display:block}
.wm-layer{position:absolute;inset:0}
.wm-safe{position:absolute;border:1px dashed #ffe6a066;background:#ffe6a00d;pointer-events:none}
.wm-safe span{position:absolute;left:3px;top:2px;font-size:9px;color:#ffe6a0aa;font-style:normal;white-space:nowrap}
.wm-spot{position:absolute;border-radius:40%;background:color-mix(in srgb,var(--c) 30%,transparent);border:1px solid color-mix(in srgb,var(--c) 85%,transparent);box-shadow:0 0 6px color-mix(in srgb,var(--c) 45%,transparent);transition:opacity .2s}
.wm-spot:hover{background:color-mix(in srgb,var(--c) 55%,transparent);z-index:3}
.wm-spot.dim{opacity:.12}.wm-spot.on{background:color-mix(in srgb,var(--c) 55%,transparent);animation:wmPulse 1.4s ease-in-out infinite;z-index:2}
@keyframes wmPulse{50%{box-shadow:0 0 14px 3px var(--c)}}
.wm-npc,.wm-warp,.wm-portal{position:absolute;z-index:4;width:12px;height:12px;margin:-6px 0 0 -6px;background:url('assets/mu-ui/map/npc.png') center/100% no-repeat;filter:drop-shadow(0 0 2px #000)}
.wm-npc.flash{width:20px;height:20px;margin:-10px 0 0 -10px;animation:wmPulseN 1s ease-in-out infinite;z-index:6}
@keyframes wmPulseN{50%{filter:drop-shadow(0 0 8px #6fff6f)}}
.wm-warp{width:16px;height:16px;margin:-14px 0 0 -8px;background-image:url('assets/mu-ui/map/warp.png')}
.wm-portal{width:18px !important;height:18px !important;min-height:0 !important;margin:-16px 0 0 -9px;padding:0 !important;border:0 !important;border-image:none !important;border-radius:0 !important;box-shadow:none !important;background:url('assets/mu-ui/map/portal.png') center/100% no-repeat !important;cursor:pointer}
.wm-portal:hover{filter:drop-shadow(0 0 5px #ddc288)}
.wm-npc span,.wm-warp span,.wm-portal span{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:1px;padding:0 3px;white-space:nowrap;font:700 10px/14px Tahoma,Verdana,sans-serif;font-style:normal;text-transform:none;letter-spacing:0;text-shadow:0 1px 0 #000,0 0 3px #000;pointer-events:none}
.wm-portal span{color:#ddc288}.wm-warp span{color:#ddc288}.wm-npc span{color:#9be37a;font-weight:400;font-size:9px}
.wm-layer:not(.names) .wm-warp span{display:none}
.wm-tip{position:absolute;z-index:10;max-width:260px;padding:4px 8px;background:#000d;border:1px solid #6b5530;color:#fff;font-size:11px;pointer-events:none;white-space:nowrap}.wm-tip[hidden]{display:none}
.wm-coord{display:flex;justify-content:space-between;align-items:center;margin-top:6px;padding:4px 8px;background:#000a;border:1px solid #2c2e34;font-size:12px;color:#cfd1d6}.wm-cxy{color:#ffd986;font:700 13px Tahoma,Verdana,sans-serif}
.wm-toggles{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:10px 0 0}
.wm-toggles label{display:flex;align-items:center;gap:6px;color:#cfd1d6;cursor:pointer}.wm-toggles input{accent-color:#e2b866;margin:0}
.wm-side{grid-area:side;max-height:640px;overflow:auto;padding:14px 14px 10px;border:1px solid #2c2e34;background:linear-gradient(180deg,#16171b,#0a0a0c);box-shadow:inset 0 0 0 1px #000}
.wm-side h3{margin:0 0 2px;font-size:20px}
.wm-lv{margin:0 0 10px !important;font-size:12px !important;color:#cfd1d6 !important}.wm-lv small{color:#8a8d95}
.wm-sec{margin-top:12px}
.wm-sec h4{margin:0 0 5px;padding-bottom:3px;border-bottom:1px solid #3a3d44;color:#e2b866;font:700 11px Tahoma,Verdana,sans-serif;letter-spacing:.06em;text-transform:uppercase}.wm-sec h4 small{float:right;color:#8a8d95;font-weight:400;letter-spacing:0;text-transform:none}
.wm-side ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.wm-warps li{display:flex;justify-content:space-between;gap:8px;padding:4px 6px;background:#0008;border:1px solid #1f2024}.wm-warps b{color:#ddc288;font-weight:400}.wm-warps span{color:#cfd1d6;text-align:right}
.wm-ev{margin:0 !important;font-size:12px !important;color:#ffb38a !important}
.wm-side li>button{display:grid !important;grid-template-columns:12px 1fr auto;align-items:center;gap:0 7px;width:100%;min-height:0 !important;height:auto !important;padding:4px 6px !important;border:1px solid #1f2024 !important;border-image:none !important;border-radius:0 !important;background:#0008 !important;color:#e4e4e4 !important;font:12px Tahoma,Verdana,sans-serif !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;text-align:left}
.wm-side li>button:hover{border-color:#5a5d66 !important}
.wm-mon i{width:10px;height:10px;border-radius:50%;background:var(--c);box-shadow:0 0 4px var(--c)}
.wm-mon b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-mon span{color:#ffd986;font-weight:700}
.wm-mon small{grid-column:2/-1;color:#8a8d95;font-size:10px}
.wm-mon.on{border-color:var(--c) !important;background:color-mix(in srgb,var(--c) 14%,#000) !important}
.wm-npcs i{width:10px;height:10px;background:url('assets/mu-ui/map/npc.png') center/100% no-repeat}.wm-npcs b{font-weight:400;color:#9be37a}.wm-npcs span{color:#8a8d95;font-size:11px}
.wm-ports button{grid-template-columns:auto 1fr auto !important}.wm-ports b{color:#ddc288;font-weight:400}.wm-ports span{color:#8a8d95}
@media (max-width:900px){.wm-root{grid-template-columns:1fr;grid-template-areas:"search" "list" "stage" "side"}.wm-side{max-height:none}}
@media (max-width:700px){.wm-group{grid-template-columns:1fr}.wm-group>span{padding:2px 0 0}.wm-pick{flex:1 1 calc(50% - 3px)}.wm-pick small{margin-left:auto}.wm-frame{border-width:34px 10px 28px;border-image-width:34px 20px 28px 10px}.wm-tip{white-space:normal}}
.wm-npc.r span,.wm-warp.r span,.wm-portal.r span{left:auto;right:0;transform:none}.wm-npc.l span,.wm-warp.l span,.wm-portal.l span{left:0;transform:none}
.wm-npc.t span,.wm-warp.t span,.wm-portal.t span{top:auto;bottom:100%}
.titan-home .home-news{margin:34px 0 34px}.edira-news-body p{margin:0 0 12px}

/* X1000 start countdown, over the hero art on the right */
html body #main .titan-home .home-banner .home-countdown{position:absolute;right:5%;top:50%;transform:translateY(-50%);z-index:3;width:min(400px,40%);padding:20px 22px 16px;text-align:center;background:linear-gradient(180deg,#10100fe6,#070707f0);border:1px solid #6b5636;border-radius:6px;box-shadow:0 0 0 1px #000,0 14px 40px #000c,inset 0 1px 0 #ffffff10;backdrop-filter:blur(2px)}
html body #main .titan-home .home-countdown-title{font-family:Cinzel,Georgia,serif;font-size:19px;letter-spacing:.14em;text-transform:uppercase;color:#e7c98a;margin-bottom:14px;text-shadow:0 0 14px #d6a64a55}
html body #main .titan-home .home-countdown-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
html body #main .titan-home .home-countdown-grid>div{background:linear-gradient(180deg,#17181d,#0a0a0c);border:1px solid #2c2e34;border-radius:4px;padding:10px 4px 8px;box-shadow:inset 0 0 0 1px #000}
html body #main .titan-home .home-countdown-grid strong{display:block;font-family:Cinzel,Georgia,serif;font-size:30px;line-height:1.1;color:#9be37a;text-shadow:0 0 10px #64e59755;font-variant-numeric:tabular-nums}
html body #main .titan-home .home-countdown-grid span{display:block;margin-top:4px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#a99b80}
html body #main .titan-home .home-countdown-date{margin-top:12px;font-size:12px;letter-spacing:.06em;color:#c9bda4}
html body #main .titan-home .home-countdown.is-live .home-countdown-grid{display:block}
@media(max-width:900px){html body #main .titan-home .home-banner .home-countdown{position:relative;right:auto;top:auto;transform:none;width:auto;margin:0 18px 22px}}

/* ---- rankings: class portrait cards + MU tab plates (owner 2026-11-11: "rankings buttons ... executed poorly") ---- */
html body #main .class-portrait-filters{display:grid !important;grid-template-columns:repeat(8,minmax(0,1fr)) !important;gap:10px !important;margin:18px 0 20px !important}
html body #main .class-portrait-filters button{position:relative !important;overflow:hidden !important;height:132px !important;padding:0 !important;display:flex !important;flex-direction:column !important;justify-content:flex-end !important;align-items:stretch !important;gap:0 !important;
  border:1px solid #3d3324 !important;border-image:none !important;border-radius:3px !important;background:#0a0908 !important;box-shadow:inset 0 0 0 1px #000,0 4px 14px #000a !important;cursor:pointer !important;transition:border-color .15s,box-shadow .15s,transform .15s}
html body #main .class-portrait-filters button .portal-class-portrait,html body #main .class-portrait-filters button img,html body #main .class-portrait-filters button .all-class-icon{
  position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;border:0 !important;border-radius:0 !important;margin:0 !important;box-shadow:none !important;object-fit:cover;
  background-size:400% 200% !important;filter:grayscale(.55) brightness(.62) !important;transition:filter .2s,transform .3s}
html body #main .class-portrait-filters button .all-class-icon{display:grid !important;place-items:center !important;padding-bottom:26px;background:radial-gradient(circle at 50% 42%,#3a2c16 0,#0d0b08 70%),url('assets/mu-ui/stone-dark.jpg') center/cover !important;
  font:600 30px/1 Cinzel,Georgia,serif !important;letter-spacing:.12em;color:#e7c98a !important;text-shadow:0 0 12px #000,0 2px 2px #000 !important}
html body #main .class-portrait-filters button>span:last-child{position:relative !important;z-index:2 !important;display:block !important;padding:22px 6px 8px !important;background:linear-gradient(180deg,#0000,#000000d9 55%) !important;
  font:600 11.5px/1.2 Cinzel,Georgia,serif !important;letter-spacing:.06em !important;text-transform:uppercase !important;color:#d8c8a4 !important;text-shadow:0 1px 2px #000 !important;text-align:center !important}
html body #main .class-portrait-filters button:hover{border-color:#8a7040 !important;transform:translateY(-1px)}
html body #main .class-portrait-filters button:hover .portal-class-portrait,html body #main .class-portrait-filters button:hover .all-class-icon{filter:grayscale(.15) brightness(.85) !important}
html body #main .class-portrait-filters button.active{border-color:#d4ab5e !important;box-shadow:0 0 0 1px #d4ab5e66,0 0 18px #d4ab5e40,inset 0 0 0 1px #000 !important}
html body #main .class-portrait-filters button.active .portal-class-portrait,html body #main .class-portrait-filters button.active .all-class-icon{filter:none !important}
html body #main .class-portrait-filters button.active>span:last-child{color:#ffe3a6 !important}
@media(max-width:900px){html body #main .class-portrait-filters{grid-template-columns:repeat(4,minmax(0,1fr)) !important}html body #main .class-portrait-filters button{height:104px !important}}

html body #main .ranking-sections a,html body #main .tabs button,html body #main .filter-pills button,html body #main .warehouse-sections button{
  border:1px solid #4a3d29 !important;border-image:none !important;border-radius:3px !important;background:linear-gradient(180deg,#221d15,#100d09) !important;
  box-shadow:inset 0 1px 0 #ffffff12,inset 0 0 0 1px #000,0 2px 6px #0008 !important;color:#c9b88f !important;font:600 12px/1 Cinzel,Georgia,serif !important;letter-spacing:.08em !important;
  text-transform:uppercase !important;padding:11px 18px !important;min-height:0 !important;text-shadow:0 1px 0 #000 !important}
html body #main .ranking-sections a:hover,html body #main .tabs button:hover,html body #main .filter-pills button:hover,html body #main .warehouse-sections button:hover{border-color:#8a7040 !important;color:#ecd7a8 !important}
html body #main .ranking-sections a.active,html body #main .tabs button.active,html body #main .filter-pills button.active,html body #main .warehouse-sections button.active,
html body #main .tabs button[aria-selected="true"]{border-color:#d4ab5e !important;color:#ffe3a6 !important;background:linear-gradient(180deg,#3a2f1c,#1a140b) !important;box-shadow:0 0 12px #d4ab5e33,inset 0 1px 0 #ffffff1a,inset 0 0 0 1px #000 !important}
@media(max-width:600px){html body #main .class-portrait-filters button>span:last-child{font-size:9.5px !important;letter-spacing:.02em !important;padding:18px 2px 7px !important}}
