/* Zenkai Idle R7.10.164 — HD UI POLISH
   Final presentation layer. Uses only existing authored project assets.
   Hunt: removes late compact squeeze and restores useful desktop canvas.
   Forge: applies the same blue/orange visual language with existing frame/panel assets. */

/* ========================================================================== */
/* HUNT — restore authored proportions / reduce visual density                */
/* ========================================================================== */
#huntModal .hunt-browser-modal.zk63-shell{
  transform:none!important;
  transform-origin:center center!important;
  image-rendering:auto!important;
}

@media (min-width:1600px) and (min-height:780px){
  #huntModal .hunt-browser-modal.zk63-shell{
    width:min(1280px,94vw,calc((100dvh - 72px) * 1691 / 930))!important;
    top:0!important;
  }
}
@media (min-width:1366px) and (max-width:1599px),
       (min-width:1366px) and (min-height:720px) and (max-height:779px){
  #huntModal .hunt-browser-modal.zk63-shell{
    width:min(1180px,94vw,calc((100dvh - 62px) * 1691 / 930))!important;
    top:0!important;
  }
}
@media (min-width:901px) and (max-width:1365px),
       (min-width:901px) and (max-height:719px){
  #huntModal .hunt-browser-modal.zk63-shell{
    width:min(1040px,96vw,calc((100dvh - 46px) * 1691 / 930))!important;
    top:0!important;
  }
}

/* Tabs use their real HD source without the later mini/inactive squeeze. */
@media (min-width:901px){
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs{
    left:6.0%!important;
    right:6.0%!important;
    top:18.0%!important;
    height:9.0%!important;
    gap:.45%!important;
  }
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button,
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button.active,
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button[aria-selected="true"],
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button:not(.active):hover{
    width:100%!important;
    height:100%!important;
    transform:none!important;
    background-size:contain!important;
    image-rendering:auto!important;
  }
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button:not(.active){opacity:.92!important}
  #huntModal .hunt-browser-modal.zk63-shell .hunt-mode-tabs button.active{filter:brightness(1.05) drop-shadow(0 0 5px rgba(28,191,255,.18))!important}

  #huntModal .hunt-browser-modal.zk63-shell.zk63-hunts-mode #zk63HuntInterior:not([hidden]),
  #huntModal .zk63-shell .zk63-interior{
    left:4.55%!important;
    right:4.45%!important;
    top:27.9%!important;
    bottom:4.35%!important;
    grid-template-columns:26.5% minmax(0,1fr) 24.7%!important;
    grid-template-rows:minmax(0,1fr) 44px!important;
    gap:7px 9px!important;
  }

  /* Left column: larger rows, fewer microscopic labels. */
  #huntModal .zk63-shell .zk63-left{
    grid-template-rows:42px 21px minmax(0,1fr)!important;
    gap:3px!important;
    padding:4px 4px 5px!important;
  }
  #huntModal .zk63-shell .zk63-search{height:42px!important;padding:0 12px!important;background-size:100% 100%!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-search input{height:31px!important;line-height:31px!important;font-size:12.5px!important}
  #huntModal .zk63-shell .zk63-count{height:21px!important;line-height:21px!important;font-size:9.5px!important;padding:0 9px!important}
  #huntModal .zk63-shell .zk63-hunt-card{
    min-height:64px!important;height:64px!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    gap:8px!important;margin-bottom:4px!important;padding:7px 15px 7px 9px!important;
    background-size:100% 100%!important;image-rendering:auto!important;
  }
  #huntModal .zk63-shell .zk63-hunt-card>img{width:41px!important;height:41px!important}
  #huntModal .zk63-shell .zk63-hunt-card b{font-size:12.5px!important;line-height:1.08!important}
  #huntModal .zk63-shell .zk63-hunt-card small{font-size:9.4px!important;line-height:1.12!important}
  #huntModal .zk63-shell .zk63-hunt-card em{font-size:8.2px!important;line-height:1.1!important}

  /* Center: keep hierarchy, stop packing every metric into a tiny strip. */
  #huntModal .hunt-browser-modal.zk63-shell .zk63-center{
    grid-template-rows:minmax(104px,1fr) 76px 23px minmax(90px,.86fr)!important;
    gap:5px!important;
    padding:34px 10px 8px!important;
    border-width:12px!important;
    image-rendering:auto!important;
  }
  #huntModal .zk63-shell .zk63-center::before{height:40px!important;width:74%!important;background-size:contain!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-summary{grid-template-columns:61px minmax(0,1fr) 128px!important;gap:9px!important}
  #huntModal .zk63-shell .zk63-portrait{width:58px!important;height:58px!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-portrait img{width:45px!important;height:45px!important}
  #huntModal .zk63-shell .zk63-copy h2{font-size:22px!important;line-height:1.04!important}
  #huntModal .zk63-shell .zk63-level{font-size:10px!important;margin-top:2px!important}
  #huntModal .zk63-shell .zk63-copy p{font-size:10.6px!important;line-height:1.32!important;margin-top:6px!important;-webkit-line-clamp:4!important}
  #huntModal .zk63-shell .zk63-record{width:128px!important;height:72px!important;padding:23px 11px 6px!important;background-size:contain!important;image-rendering:auto!important;opacity:.9!important}
  #huntModal .zk63-shell .zk63-record-body{font-size:8.5px!important;line-height:1.2!important;max-height:40px!important}

  #huntModal .zk63-shell .zk63-stats{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    height:76px!important;gap:2px 5px!important;overflow:visible!important;
  }
  #huntModal .zk63-shell .zk63-stat:nth-child(1){grid-column:1/3!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(2){grid-column:3/5!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(3){grid-column:5/7!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(4){grid-column:7/9!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(5){grid-column:2/4!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(6){grid-column:4/6!important}
  #huntModal .zk63-shell .zk63-stat:nth-child(7){grid-column:6/8!important}
  #huntModal .zk63-shell .zk63-stat{height:auto!important;aspect-ratio:2.91/1!important;background-size:contain!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-stat>span{font-size:8.8px!important;right:6px!important;bottom:4px!important}
  #huntModal .zk63-shell .zk63-section-title{height:23px!important;min-height:23px!important;font-size:10.5px!important;padding:0 12px!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-section-title small{font-size:8.7px!important}
  #huntModal .zk63-shell .zk63-pulls{min-height:90px!important;gap:7px!important;padding:1px 2px 4px!important}
  #huntModal .zk63-shell .zk63-pull{width:88%!important;height:63px!important;min-height:63px!important;background-size:contain!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-pull.active{width:100%!important;height:82px!important;min-height:82px!important}
  #huntModal .zk63-shell .zk63-pull:not(.active):not(:disabled):hover{width:94%!important;height:70px!important;min-height:70px!important}
  #huntModal .zk63-shell .zk63-pull-level{font-size:8.7px!important}

  /* Loot column: keep information, but give each row breathing room. */
  #huntModal .zk63-shell .zk63-right{padding:42px 5px 5px 7px!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-right::before{height:42px!important;background-size:100% auto!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-loot-group-title{height:22px!important;line-height:22px!important;font-size:9.4px!important;margin-bottom:2px!important}
  #huntModal .zk63-shell .zk63-loot-row{
    min-height:53px!important;height:53px!important;
    grid-template-columns:37px minmax(0,1fr) 32px!important;
    gap:7px!important;margin-bottom:4px!important;padding:5px 7px!important;
    background-size:100% 100%!important;image-rendering:auto!important;
  }
  #huntModal .zk63-shell .zk63-loot-row>img{width:32px!important;height:32px!important}
  #huntModal .zk63-shell .zk63-loot-row b{font-size:10.8px!important;line-height:1.06!important}
  #huntModal .zk63-shell .zk63-loot-row small{font-size:8.2px!important;line-height:1.06!important}
  #huntModal .zk63-shell .zk63-loot-row em{font-size:7.8px!important;line-height:1.06!important}
  #huntModal .zk63-shell .zk63-loot-state{width:24px!important;height:24px!important;image-rendering:auto!important}

  #huntModal .zk63-shell .zk63-footer{height:44px!important;min-height:44px!important;padding:0 8px 0 12px!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-notice{font-size:9.5px!important}
  #huntModal .zk63-shell .zk63-actions{gap:8px!important}
  #huntModal .zk63-shell .zk63-start{width:168px!important;height:44px!important;background-size:contain!important;image-rendering:auto!important}
  #huntModal .zk63-shell .zk63-close{width:86px!important;height:44px!important;background-size:contain!important;image-rendering:auto!important}
}

/* ========================================================================== */
/* FORGE — real project assets, same visual family, less list clutter          */
/* ========================================================================== */
#infoModal.forge-mode{padding:18px!important}
#infoModal.forge-mode .modal.compact{
  width:min(1220px,96vw)!important;
  max-width:none!important;
  height:min(760px,90dvh)!important;
  max-height:min(760px,90dvh)!important;
  border:18px solid transparent!important;
  border-image:url('assets/ui/inventory_v95/frame.png') 54 fill stretch!important;
  border-radius:0!important;
  background:#061426!important;
  box-shadow:0 28px 90px #000e,0 0 38px rgba(0,139,255,.14)!important;
  overflow:hidden!important;
  image-rendering:auto!important;
}
#infoModal.forge-mode .modal-head{
  height:48px!important;min-height:48px!important;
  padding:7px 48px 7px 18px!important;
  background:linear-gradient(180deg,rgba(8,40,73,.98),rgba(3,20,40,.98))!important;
  border-bottom:1px solid #1a78b9!important;
  color:#f2f8ff!important;
  font-size:18px!important;letter-spacing:.12em!important;
  text-shadow:0 0 12px rgba(54,177,255,.34)!important;
}
#infoModal.forge-mode .modal-head .x{
  position:absolute!important;right:22px!important;top:20px!important;
  width:34px!important;height:34px!important;border:0!important;color:transparent!important;font-size:0!important;
  background:url('assets/ui/hunt_clean_v65/buttons/close.png') center/contain no-repeat!important;
  opacity:.92!important;
}
#infoModal.forge-mode .modal-body{
  height:calc(100% - 48px)!important;
  max-height:none!important;
  padding:8px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#07182b,#04101e)!important;
}
#infoModal.forge-mode .modal-actions{display:none!important}
#infoModal.forge-mode #infoContent{height:100%!important;min-height:0!important}
#infoModal.forge-mode .r164-forge-hd{height:100%!important;display:grid!important;grid-template-rows:38px auto minmax(0,1fr)!important;gap:6px!important;padding:0!important}

.r164-forge-topline{display:flex;align-items:center;justify-content:space-between;padding:0 8px 6px;border-bottom:1px solid rgba(49,143,207,.3)}
.r164-forge-topline>div{display:flex;align-items:baseline;gap:10px}.r164-forge-topline small{color:#6e9fbd;font-size:9px;letter-spacing:.16em}.r164-forge-topline b{font-size:13px;letter-spacing:.08em;color:#eaf7ff}.r164-forge-topline>span{font-size:9px;font-weight:800;letter-spacing:.08em;color:#77dcff;border:1px solid rgba(61,187,255,.35);background:rgba(16,81,119,.22);padding:5px 8px}
#infoModal.forge-mode .r164-forge-note{margin:0!important;padding:7px 10px!important;font-size:10px!important;border-radius:2px!important}

.r164-forge-layout{min-height:0;display:grid;grid-template-columns:27% minmax(0,1fr) 24%;gap:8px}
.r164-forge-library,.r164-forge-detail,.r164-forge-side>section{
  min-width:0;min-height:0;
  border:12px solid transparent;
  border-image:url('assets/ui/hunt_clean_v65/panels/scroll_panel.png') 34 fill stretch;
  background:#06172a;
}
.r164-forge-detail{border-image-source:url('assets/ui/hunt_clean_v65/panels/details_panel.png');border-image-slice:62 fill;padding:8px;overflow:auto}
.r164-forge-library{display:grid;grid-template-rows:34px minmax(0,1fr);padding:5px;overflow:hidden}
.r164-forge-library>header,.r164-forge-side section>header,.r164-forge-affix-panel>header{display:flex;align-items:center;justify-content:space-between;min-height:28px;padding:0 7px;border-bottom:1px solid rgba(59,147,205,.28);color:#bfe9ff;font-size:10px;letter-spacing:.08em}
.r164-forge-library>header b,.r164-forge-side section>header b,.r164-forge-affix-panel>header b{color:#f2cc68}
.r164-forge-library>div{min-height:0;overflow:auto;padding:4px 2px 4px 0;scrollbar-width:thin;scrollbar-color:#1cb9ed #06182e}
.r164-forge-pick{
  width:100%;min-height:62px;display:grid;grid-template-columns:45px minmax(0,1fr) 34px;align-items:center;gap:7px;
  margin:0 0 4px;padding:6px 10px 6px 7px;border:0!important;border-radius:0!important;
  background:url('assets/ui/hunt_clean_v65/cards/row_normal.png') center/100% 100% no-repeat!important;
  color:#eaf7ff!important;text-align:left;cursor:pointer;image-rendering:auto;
}
.r164-forge-pick.active{background-image:url('assets/ui/hunt_clean_v65/cards/row_active.png')!important;filter:brightness(1.05)}
.r164-forge-pick-icon{width:40px;height:40px;display:grid;place-items:center;background:url('assets/ui/hunt_clean_v65/cards/icon_frame.png') center/contain no-repeat}
.r164-forge-pick-icon img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}
.r164-forge-pick span:nth-child(2){min-width:0}.r164-forge-pick b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r164-forge-pick small{display:block;margin-top:3px;font-size:8.3px;color:#83a8c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r164-forge-pick>strong{text-align:center;font-size:16px;color:#ffd66b}

.r164-forge-selected{display:grid;gap:7px}.r164-forge-hero{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;gap:10px;align-items:center;padding:8px 10px;border-bottom:1px solid rgba(69,171,235,.25)}
.r164-forge-hero-icon{width:68px;height:68px;display:grid;place-items:center;background:url('assets/ui/hunt_clean_v65/cards/icon_frame.png') center/contain no-repeat}
.r164-forge-hero-icon img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}
.r164-forge-hero>div:nth-child(2){min-width:0}.r164-forge-hero small{font-size:9px;letter-spacing:.14em;color:#f0bc51}.r164-forge-hero h2{margin:2px 0 3px;font-size:20px;line-height:1.05;color:#f4f9ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r164-forge-hero span{font-size:9px;color:#799ab2}.r164-forge-hero>strong{font-size:28px;text-align:center;color:#ffd163;text-shadow:0 0 10px rgba(255,170,34,.28)}

.r164-forge-affix-panel{padding:4px 5px 6px}.r164-forge-affix-panel>header{margin-bottom:4px}.r164-forge-affix-panel>header h3{margin:1px 0 0;font-size:11px;color:#eef9ff}.r164-forge-affix-panel>header small{font-size:7.8px;color:#6d9db8}.r164-affixes{display:grid;gap:3px!important;margin:0!important}.r164-affix-row{min-height:38px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:5px 9px!important;border-radius:0!important;background:url('assets/ui/hunt_clean_v65/cards/row_normal.png') center/100% 100% no-repeat!important;image-rendering:auto!important}.r164-affix-row>span{min-width:0;font-size:10px;color:#dff3ff}.r164-affix-row>span small{display:block;font-size:7px;color:#628da6;letter-spacing:.08em}.r164-affix-row>b{font-size:10px;color:#87d8ff}.r164-affix-row.legendary{background-image:url('assets/ui/hunt_clean_v65/cards/row_chase.png')!important}.r164-affix-row.legendary>span small,.r164-affix-row.legendary>b{color:#ffd060}.r164-affix-row.empty{opacity:.55}

.r164-forge-operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.r164-forge-operation-grid article{min-width:0;padding:8px;border:1px solid rgba(45,126,181,.28);background:linear-gradient(180deg,rgba(9,39,66,.86),rgba(3,20,36,.88));box-shadow:inset 0 0 15px rgba(0,108,190,.06)}.r164-forge-operation-grid article.legendary{grid-column:1/-1;border-color:rgba(223,164,56,.45);background:linear-gradient(180deg,rgba(75,48,10,.34),rgba(28,19,7,.68))}.r164-forge-operation-grid article>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.r164-forge-operation-grid article>header b{font-size:10px;color:#e8f6ff;letter-spacing:.06em}.r164-forge-operation-grid article>header small{font-size:7.5px;color:#6e9ab5}.r164-forge-operation-grid article.legendary>header b{color:#ffd063}.r164-forge-operation-grid p{min-height:26px;margin:0 0 6px;font-size:8.4px;line-height:1.3;color:#829fb3}.r164-forge-operation-grid select{width:100%;min-height:28px;margin-bottom:5px;background:#071725;color:#d8edf9;border:1px solid #275372;border-radius:2px;padding:4px 6px;font-size:9px}.r164-forge-operation-grid button,.r164-forge-core button{width:100%;min-height:31px;border:1px solid #2277ac!important;border-radius:2px!important;background:linear-gradient(180deg,#114a72,#082840)!important;color:#dff4ff!important;font-size:9px!important;font-weight:900!important;letter-spacing:.04em!important;cursor:pointer}.r164-forge-operation-grid article:first-child button{border-color:#b87820!important;background:linear-gradient(180deg,#7a4714,#3c250d)!important;color:#ffe4a3!important}.r164-forge-operation-grid article.legendary button,.r164-forge-core button{border-color:#9b7025!important;background:linear-gradient(180deg,#64400f,#2b1d09)!important;color:#ffdf8d!important}.r164-forge-operation-grid button:disabled,.r164-forge-core button:disabled{opacity:.38!important;cursor:not-allowed!important;filter:grayscale(.4)}.r164-forge-operation-grid em{display:block;margin-top:5px;font-size:7.8px;font-style:normal;color:#6f91a8}

.r164-forge-side{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:7px}.r164-forge-side>section{padding:5px;overflow:hidden}.r164-forge-material-list{max-height:100%;overflow:auto;padding:4px 1px;display:grid;gap:3px}.r164-forge-material{display:flex;justify-content:space-between;gap:7px;align-items:center;min-height:34px;padding:5px 8px;background:url('assets/ui/hunt_clean_v65/cards/row_normal.png') center/100% 100% no-repeat;font-size:8.5px;color:#a9c9dd}.r164-forge-material span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r164-forge-material b{color:#f5cc62;font-size:9px}.r164-forge-core{padding:10px!important}.r164-forge-core small{font-size:7.5px;letter-spacing:.12em;color:#cf9839}.r164-forge-core h3{margin:2px 0 5px;font-size:12px;color:#f5d377}.r164-forge-core p{font-size:8.5px;line-height:1.35;color:#8da6b6;margin:0 0 7px}.r164-forge-rule{padding:9px!important;display:grid;gap:3px}.r164-forge-rule b{font-size:8.5px;color:#8edaff;letter-spacing:.07em}.r164-forge-rule span{font-size:7.8px;line-height:1.32;color:#7895a8}.r164-forge-empty-detail{height:100%;display:grid;place-items:center;align-content:center;gap:5px;text-align:center;color:#7598ad}.r164-forge-empty-detail b{font-size:18px;color:#d9eef9}.r164-forge-empty-detail span{font-size:10px;max-width:320px}

@media(max-width:1050px){
  #infoModal.forge-mode .modal.compact{width:min(940px,97vw)!important;height:min(720px,92dvh)!important}
  .r164-forge-layout{grid-template-columns:31% minmax(0,1fr)}
  .r164-forge-side{grid-column:1/-1;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;max-height:150px}
  .r164-forge-material-list{max-height:100px}
}
@media(max-width:760px){
  #infoModal.forge-mode{padding:5px!important}
  #infoModal.forge-mode .modal.compact{width:98vw!important;height:94dvh!important;border-width:10px!important}
  .r164-forge-layout{display:block;overflow:auto}.r164-forge-library{height:230px;margin-bottom:7px}.r164-forge-detail{margin-bottom:7px}.r164-forge-side{display:grid;grid-template-columns:1fr;max-height:none}.r164-forge-operation-grid{grid-template-columns:1fr}
}


/* R7.10.164 UI-HD NAV FIX --------------------------------------------------
   The lobby bottom panel is authored with only three baked action hitboxes.
   Forge is never allowed in that grid. NAV FIX 2 below gives it a dedicated
   topbar icon beside Inventory. */
html body[data-ui-profile] #forgeQuick{display:none!important;pointer-events:none!important;}

/* R7.10.164 UI NAV FIX 2 — dedicated Forge icon beside Inventory ----------
   The authored right_shell remains pixel-perfect and is shifted one slot to
   the right. Forge gets its own adjacent framed slot using the approved icon.
   The three-lines authored slot returns to MENU semantics. */
:root{--zk-r164-right-native:399px;--zk-r164-stage-native:1216px}
html body[data-ui-profile] .zk-v9-stage{
  grid-template-columns:286px 140px 136px 93px minmax(162px,1fr) 399px!important;
}
html body[data-ui-profile] .zk-v9-right-cell{width:399px!important;}
html body[data-ui-profile] .zk-v9-right-cell>.zk-v9-shell{
  left:58px!important;right:auto!important;width:341px!important;height:105px!important;
  object-fit:fill!important;
}
html body[data-ui-profile] .top-icons{inset:0!important;}
html body[data-ui-profile] #forgeTopBtn{left:4px!important;display:block!important;pointer-events:auto!important;z-index:7!important;
  background:url('assets/ui/inventory_v106/slot_frame.png') center/51px 51px no-repeat!important;
  filter:drop-shadow(0 0 3px rgba(0,177,255,.35))!important;
}
html body[data-ui-profile] #forgeTopBtn .forge-menu-icon{
  position:absolute;left:8px;top:6px;width:39px;height:39px;display:block;pointer-events:none;
  background:url('assets/ui/zenkai_topbar_v13/forge_icon_r164.png') center/contain no-repeat;
  filter:drop-shadow(0 0 2px rgba(255,157,0,.62));
  transition:transform .12s ease,filter .12s ease;
}
html body[data-ui-profile] #forgeTopBtn:hover .forge-menu-icon,
html body[data-ui-profile] #forgeTopBtn:focus-visible .forge-menu-icon{
  transform:scale(1.06);filter:brightness(1.12) drop-shadow(0 0 5px rgba(255,163,0,.9));
}
html body[data-ui-profile] #forgeTopBtn::before{
  background-image:none!important;background:radial-gradient(circle at 50% 46%,rgba(255,170,30,.20),rgba(44,172,255,.08) 48%,transparent 72%)!important;
  opacity:0!important;box-shadow:inset 0 0 0 1px rgba(85,205,255,.58),0 0 8px rgba(0,171,255,.35)!important;border-radius:6px!important;
}
html body[data-ui-profile] #forgeTopBtn:hover::before,
html body[data-ui-profile] #forgeTopBtn:focus-visible::before{opacity:1!important;}
html body[data-ui-profile] #invBtn{left:62px!important;}
html body[data-ui-profile] #guildBtn{left:119px!important;}
html body[data-ui-profile] #huntsBtn{left:176px!important;}
html body[data-ui-profile] #bestiaryBtn{left:233px!important;}
html body[data-ui-profile] .top-gear{left:290px!important;}
html body[data-ui-profile] .zk-v9-menu-btn{left:347px!important;}
html body[data-ui-profile] .hunter-topbar.zk-v9-compact .zk-v9-stage{
  width:1216px!important;
  grid-template-columns:286px 140px 136px 93px 162px 399px!important;
}
body.hunt-active #forgeTopBtn{display:none!important;pointer-events:none!important;}
/* The legacy sixth authored icon is MENU again, never Forge. */
html body[data-ui-profile] #equipmentBtn[aria-label="Menu"]{display:block!important;}
html body[data-ui-profile] #equipmentBtn[aria-label="Forja"]{display:none!important;}
