/* Pockie Ninja-style client: top bar, living map field, dock, draggable windows */
:root {
  --ui-bg: #1b2433; --ui-bg2: #243149; --ui-line: #4a6488; --ui-gold: #f2c94c; --ui-gold-d: #b8892a;
  --ui-text: #eef3fb; --ui-muted: #9fb0c8; --ui-accent: #5cc8f8; --ui-good: #52c27a; --ui-bad: #e0566a;
}
*:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { box-sizing: border-box; }
html,  body { margin: 0; height: 100%; overflow: hidden; background: #0e141e; color: var(--ui-text); font-family: "DotGothic16", system-ui, sans-serif; }
button:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font: inherit; color: inherit; }
.muted:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); }
small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12px; }/* ---------- top bar ---------- */


#top:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: fixed; left: 0; right: 0; top: 0; height: 44px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 0 10px;
  background: linear-gradient(#2c3b56, #1b2433); border-bottom: 2px solid var(--ui-gold-d); box-shadow: 0 2px 8px #0008; overflow-x: auto; white-space: nowrap;
}
.logo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 20px; color: var(--ui-gold); text-shadow: 2px 2px 0 #000; margin-right: 6px; }
.chip:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: inline-flex; align-items: center; gap: 6px; background: #0e141e99; border: 1px solid var(--ui-line); border-radius: 14px; padding: 3px 10px; font-size: 14px; color: var(--ui-muted); }
.chip b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-text); font-weight: 400; }
.chip .xp:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 60px; height: 5px; background: #000; border-radius: 3px; overflow: hidden; }
.chip .xp i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: block; height: 100%; background: var(--ui-accent); }
.chip.where:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-left: auto; }
.chip.hunt:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; background: #1f5a34; border-color: #6fe39a; color: #e8ffe8; }
.chip.hunt.on:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #7a2232; border-color: #ff8a9a; animation: pulse 1s infinite alternate; }
@keyframes pulse { to { box-shadow: 0 0 10px #ff6a7a; } }/* ---------- field ---------- */


#field:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; left: 0; right: 0; top: 44px; bottom: 66px; overflow: hidden; }
#field:not(:where(#inst,#v2dock,#v2hud,#v2talk) *)::before { content: ""; position: absolute; inset: 0 0 55% 0; background: var(--sky); z-index: 0; }
#field:not(:where(#inst,#v2dock,#v2hud,#v2talk) *)::after { content: ""; position: absolute; inset: 45% 0 0 0; background: var(--ground); box-shadow: inset 0 14px 18px -10px #0005; }
.banner:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 5; text-align: center;
  background: #0e141ecc; border: 2px solid var(--ui-gold-d); border-radius: 10px; padding: 4px 18px; font-size: 22px; color: var(--ui-gold); text-shadow: 2px 2px 0 #000;
}
.banner small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: block; font-size: 12px; color: var(--ui-muted); text-shadow: none; }
.safe:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); z-index: 3; text-align: center; background: #0e141ecc; border: 1px solid var(--ui-line); border-radius: 10px; padding: 12px 20px; }
.partner:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; left: 2%; bottom: 3%; z-index: 99; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.partner img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 150px; height: 150px; object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; transform: scaleX(-1); filter: drop-shadow(0 6px 0 #0003); }
.partner span:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 14px; background: #0e141ecc; border: 1px solid var(--ui-gold-d); border-radius: 8px; padding: 1px 8px; color: var(--ui-gold); }

.wander:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: absolute; transform: translate(-50%, -100%); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; transition: left 2s linear, top 2s linear;
}
.wander img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: calc(96px * var(--sz, 1)); height: calc(96px * var(--sz, 1)); object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; filter: drop-shadow(0 5px 0 #0003); transition: filter .15s; }
.wander.right img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { transform: scaleX(-1); }
.wander .lbl:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 13px; white-space: nowrap; background: #0e141ebb; border-radius: 7px; padding: 0 7px; margin-top: -2px; }
.wander .lbl i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-style: normal; color: var(--ui-accent); }
.wander .lbl em:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-style: normal; color: var(--ui-gold); }
.wander:hover img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 2px #fff); }
.wander:hover .lbl:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #000; }
.wander.boss img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: drop-shadow(0 0 8px #ff4060) drop-shadow(0 0 3px #ff4060); animation: bossbob 1s ease-in-out infinite alternate; }
.wander.boss .lbl:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border: 1px solid #ff6a7a; }
.wander.boss .lbl b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ff8090; font-weight: 400; }
@keyframes bossbob { to { transform: translateY(-6px); } }/* DMO loading-screen backdrop (scenery stays underneath as a fallback) */


.bgimg:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; inset: 0; z-index: 2; background: center 40% / cover no-repeat; pointer-events: none; image-rendering: pixelated; }
.bgimg:not(:where(#inst,#v2dock,#v2hud,#v2talk) *)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0000 50%, #0005); }/* scenery */


.scene:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; left: 0; right: 0; bottom: 55%; height: 30%; width: 100%; z-index: 1; opacity: .9; }
.tufts:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; inset: 45% 0 0 0; z-index: 1; pointer-events: none; }
.tufts span:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; width: 14px; height: 5px; border-radius: 50%; opacity: .55; }
#field > .banner:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), #field > .safe:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { z-index: 5; }
#field > .partner:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { z-index: 99; }/* ---------- dock ---------- */


#dock:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: fixed; left: 0; right: 0; bottom: 0; height: 66px; z-index: 40; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0 8px;
  background: linear-gradient(#243149, #141b27); border-top: 2px solid var(--ui-gold-d); overflow-x: auto;
}
#dock button:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: relative; min-width: 74px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(#34476a, #22304a); border: 2px solid var(--ui-line); border-radius: 10px; cursor: pointer; font-size: 13px;
}
#dock button:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-gold); }
#dock button.open:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-gold); background: linear-gradient(#4a6290, #2c3e60); }
#dock kbd:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; right: 4px; top: 2px; font-size: 10px; color: var(--ui-muted); font-family: inherit; }
.ico:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 22px; height: 22px; border-radius: 6px; display: block; position: relative; }
.ico-tamer:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 35%, #f8d8b0 0 26%, transparent 27%), radial-gradient(ellipse at 50% 100%, #3a7ad8 0 45%, transparent 46%); }
.ico-party:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 35% 40%, #f8c040 0 28%, transparent 29%), radial-gradient(circle at 68% 60%, #58d080 0 26%, transparent 27%); }
.ico-bag:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: linear-gradient(#c8783a, #8a4c20); border-radius: 6px 6px 8px 8px; box-shadow: inset 0 5px 0 #e8a060; }
.ico-map:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: linear-gradient(135deg, #78c050 0 40%, #4890d8 40% 60%, #e0c070 60%); border: 1px solid #000; }
.ico-dex:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: linear-gradient(#e04048 0 48%, #222 48% 56%, #f0f0f0 56%); border-radius: 4px; }
.ico-settings:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle, #1b2433 0 22%, #9fb0c8 23% 48%, transparent 49%), conic-gradient(#9fb0c8 0 10%, transparent 10% 15%, #9fb0c8 15% 35%, transparent 35% 40%, #9fb0c8 40% 60%, transparent 60% 65%, #9fb0c8 65% 85%, transparent 85% 90%, #9fb0c8 90%); border-radius: 50%; }/* ---------- windows ---------- */


#desk:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; inset: 44px 0 66px 0; pointer-events: none; z-index: 60; }
.win:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  position: fixed; pointer-events: auto; max-width: calc(100vw - 8px); max-height: calc(100vh - 120px); display: flex; flex-direction: column;
  background: var(--ui-bg); border: 2px solid var(--ui-gold-d); border-radius: 10px; box-shadow: 0 10px 30px #000a, inset 0 0 0 1px #0008;
}
.win-bar:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) {
  display: flex; align-items: center; padding: 5px 6px 5px 12px; cursor: move; user-select: none; touch-action: none;
  background: linear-gradient(#3a5280, #263858); border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--ui-gold-d);
}
.win-title:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { flex: 1; color: var(--ui-gold); font-size: 17px; text-shadow: 1px 1px 0 #000; }
.win-x:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #7a2232; border: 1px solid #ff8a9a; border-radius: 6px; width: 26px; height: 24px; cursor: pointer; line-height: 1; }
.win-body:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { padding: 10px 12px 12px; overflow: auto; font-size: 15px; }
.win h4:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 12px 0 6px; font-weight: 400; color: var(--ui-accent); font-size: 15px; }
.win h4 .muted:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12px; }
.win input:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .win select:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font: inherit; background: #0e141e; color: var(--ui-text); border: 1px solid var(--ui-line); border-radius: 6px; padding: 4px 8px; }
.win button:not(.slot):not(.evo):not(.tnode):not(.region):not(.win-x):not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2c3e60; border: 1px solid var(--ui-line); border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.win button:disabled:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .45; cursor: default; }
.win button.big:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 100%; margin-top: 10px; font-size: 17px; padding: 8px; background: #2878b8 !important; border: 2px solid #8fe0ff !important; border-radius: 8px !important; }
.win button.small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 13px; }
.row:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 10px; }
.grow:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { flex: 1; min-width: 0; }
.list:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; gap: 4px; }
.li:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 8px; padding: 5px 8px; background: var(--ui-bg2); border-radius: 6px; }
.mbar:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { height: 6px; background: #000; border-radius: 3px; overflow: hidden; margin-top: 3px; }
.mbar i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: block; height: 100%; background: var(--ui-good); }
.mbar.xp i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-accent); }
.mbar.boss i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-bad); }
.chk:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 14px; }
.tabs:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 4px; margin-bottom: 8px; }
.tabs button.on:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-gold-d) !important; color: #000; }
img.mini:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }/* tamer */


.tamer-ico:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--ui-line); background: radial-gradient(circle at 50% 34%, #f8d8b0 0 20%, transparent 21%), radial-gradient(ellipse at 50% 30%, #6a4020 0 26%, transparent 27%), radial-gradient(ellipse at 50% 100%, #3a7ad8 0 42%, transparent 43%), #2b3a55; }
.tname:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 18px !important; width: 100%; margin-bottom: 3px; }
.slots:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.slot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: flex-start; min-height: 46px; padding: 3px 6px; text-align: left; font-size: 13px; background: #0e141e; border: 1px dashed var(--ui-line); border-radius: 6px; cursor: default; color: var(--ui-muted); }
.slot small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 10px; color: var(--ui-muted); }
.slot.full:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border: 1px solid var(--ui-gold); color: var(--ui-text); cursor: pointer; background: #2a2a18; }/* gear */


.slots .slot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { min-height: 54px; }
.slot .nm:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12px; line-height: 1.2; }
.slot.sel:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { outline: 2px solid #fff; }
.gems:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 3px; margin-top: 3px; }
.gem:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid #fff8; display: inline-block; }
.gem.empty:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #0e141e; border-color: #4a6488; }
.gem.HP:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #58d080; } .gem.DS:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #4890f8; } .gem.AT:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #f05868; } .gem.DE:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #f0b040; } .gem.MS:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #b878f8; }
.gem.chip:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #5cc8f8; border-radius: 2px; } .gem.chip.off:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #555; }
.bonus:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-bg2); border-radius: 8px; padding: 6px 8px; margin: 8px 0; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.bonus > div:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bonus b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-good); font-weight: 400; }
.bonus .skr b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-gold); }
.detail:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #12203a; border: 1px solid var(--ui-accent); border-radius: 8px; padding: 8px 10px; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.detail .lines:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { flex-basis: 100%; font-size: 13px; color: var(--ui-text); margin: 2px 0 4px; }
.list.inv .li:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; }
.list.inv .li.sel:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { outline: 2px solid var(--ui-accent); }
.g-Normal:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #e8eef8; } .g-Magic:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #6fb8ff; } .g-Rare:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #f2c94c; } .g-Epic:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #c890f8; } .g-Unique:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ff8a5c; }
.slot.full.g-Magic:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #6fb8ff; } .slot.full.g-Rare:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #f2c94c; } .slot.full.g-Epic:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #c890f8; } .slot.full.g-Unique:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #ff8a5c; }
.slot.full:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-text); }
.sealgrid:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 5px; margin-top: 6px; }
.sealcard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 8px; align-items: center; background: var(--ui-bg2); border-radius: 8px; padding: 4px 6px; font-size: 13px; }
.sealcard img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.sealcard.none:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .45; }
.ico-seals:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 50%, #f2c94c 0 30%, #b8892a 31% 45%, transparent 46%), conic-gradient(#f2c94c 0 12%, transparent 12% 25%, #f2c94c 25% 37%, transparent 37% 50%, #f2c94c 50% 62%, transparent 62% 75%, #f2c94c 75% 87%, transparent 87%); border-radius: 50%; }/* step 5: party strip, archive, incubator, raids */


.pstrip:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.pslot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; padding: 4px; background: var(--ui-bg2); border: 2px solid var(--ui-line); border-radius: 8px; cursor: pointer; font-size: 13px; }
.pslot img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; }
.pslot small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 11px; color: var(--ui-muted); }
.pslot.sel:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-gold); }
.pslot.empty:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { justify-content: center; text-align: center; border-style: dashed; cursor: default; min-height: 84px; }
.archive:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; gap: 3px; max-height: 220px; overflow: auto; }
.evo.jog.ok:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #c890f8; background: #2a1a40; }
.eggico:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 30px; height: 38px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 13%), linear-gradient(#f8e8c0, #d8b878); border: 2px solid #8a6a38; flex: none; }
.dots:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 9px; height: 9px; border-radius: 50%; background: #0e141e; border: 1px solid var(--ui-line); }
.dots i.on:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-gold); }
.li.raid.locked:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .5; }
.li.raid .mbar:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-top: 4px; }
.raidchest:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: linear-gradient(#c890f8 0 40%, #3a1a5a 40% 48%, #9a60d8 48%); box-shadow: 0 0 24px #c890f8; }
.wander.raidboss img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: drop-shadow(0 0 10px #c890f8) drop-shadow(0 0 4px #ff4060); }
.wander.raidboss .lbl:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border: 1px solid #c890f8; }
.wander.raidboss .lbl b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #e0b0ff; }
.ico-eggs:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(ellipse at 50% 55%, #f8e8c0 0 45%, transparent 46%); }
.ico-raids:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 50%, #ff4060 0 30%, #7a2232 31% 48%, transparent 49%); }/* party */


.pcard + .pcard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-top: 14px; border-top: 1px solid var(--ui-line); padding-top: 10px; }
img.big:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; background: #0e141e; border-radius: 10px; border: 1px solid var(--ui-line); }
.pname:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 20px; }
.stats:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 8px; }
.stats span:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-bg2); border-radius: 6px; text-align: center; padding: 3px 0; }
.stats small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: block; font-size: 10px; color: var(--ui-muted); }
.evos:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 5px; margin-bottom: 8px; }
.evo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; padding: 4px; background: #0e141e; border: 1px solid var(--ui-line); border-radius: 8px; font-size: 12px; cursor: default; opacity: .7; }
.evo img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.evo small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); font-size: 10px; text-align: center; }
.evo.ok:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 1; border-color: var(--ui-good); cursor: pointer; background: #14301e; }
.evo.ok:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #1d4a2c; }
.attr:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { padding: 0 5px; border-radius: 4px; color: #fff; font-size: 12px; }/* map */


.worldcols h4:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-top: 0; }
.region:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin-bottom: 5px; padding: 6px 10px; text-align: left; background: var(--ui-bg2); border: 1px solid var(--ui-line); border-radius: 8px; cursor: pointer; }
.region small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); }
.region.here:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-gold); }
.region.locked:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .55; }
.region:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-accent); }
svg.area:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 100%; height: auto; max-height: 340px; background: radial-gradient(#22344f, #121a28); border: 1px solid var(--ui-line); border-radius: 8px; margin: 8px 0; }
svg.area line:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #7fa0c8; stroke-width: 3; stroke-dasharray: 6 4; opacity: .7; }
svg.area .node:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; }
svg.area .node circle:not(.bossdot):not(:where(#inst,#v2dock,#v2hud,#v2talk) *), svg.area .node rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #3a78c0; stroke: #bfe0ff; stroke-width: 2; }
svg.area .node.town rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #3a9a78; }
svg.area .node.dungeon rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #8a4ab0; }
svg.area .node.locked circle:not(.bossdot):not(:where(#inst,#v2dock,#v2hud,#v2talk) *), svg.area .node.locked rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #3a4252; stroke: #6a7282; }
svg.area .node.here circle:not(.bossdot):not(:where(#inst,#v2dock,#v2hud,#v2talk) *), svg.area .node.here rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: var(--ui-gold); stroke: #fff; }
svg.area .node.sel circle:not(.bossdot):not(:where(#inst,#v2dock,#v2hud,#v2talk) *), svg.area .node.sel rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #fff; stroke-width: 4; }
svg.area .bossdot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #ff4060; stroke: #fff; stroke-width: 1; }
svg.area text:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #e8eef8; font-size: 11px; text-anchor: middle; paint-order: stroke; stroke: #0e141e; stroke-width: 3px; }
svg.area text.req:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 10px; fill: #ffd27a; }
.mapinfo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--ui-bg2); border-radius: 8px; padding: 8px 10px; }
.spawns:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 3px; margin: 6px 0; }
.spawns span:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ui-muted); background: #0e141e; border-radius: 6px; padding: 2px; }
.spawns img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.bossline:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; justify-content: space-between; font-size: 13px; margin-top: 6px; }
.links:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.links .ext:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-style: dashed !important; }/* DMO hex-map art */


svg.artmap:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 100%; height: auto; max-height: 470px; display: block; margin: 6px 0 8px; background: #0b1220; border: 1px solid var(--ui-line); border-radius: 8px; }
svg.artmap.plain:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(#22344f, #121a28); }
svg.artmap line:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #7fc8f8; stroke-width: 3; stroke-dasharray: 6 4; opacity: .75; }
svg.artmap .hex:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; }
svg.artmap .hex polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #0000; stroke: #0000; stroke-width: 4; transition: fill .15s; }
svg.artmap .hex:hover polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #fff8; fill: #ffffff18; }
svg.artmap .hex.label polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #183a60e8; stroke: #5cc8f8; stroke-width: 2.5; }
svg.artmap .hex.label.dungeon polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #4a2a66e8; stroke: #c890f8; }
svg.artmap .hex.label.town polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #1d4a3ae8; stroke: #6fe3b0; }
svg.artmap .hex.locked polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #0007; }
svg.artmap .lock rect:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #1b1206; stroke: #ffd27a; stroke-width: 1; }
svg.artmap .hex.here polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: var(--ui-gold); stroke-width: 5; fill: #f2c94c38; filter: drop-shadow(0 0 6px #f2c94c); }
svg.artmap .hex.sel polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #fff; stroke-width: 4; }
svg.artmap .hex.here.sel polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: var(--ui-gold); }
svg.artmap text:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #eaf6ff; font-size: 12px; text-anchor: middle; paint-order: stroke; stroke: #06101c; stroke-width: 3px; pointer-events: none; }
svg.artmap text.req:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #ffd27a; font-size: 13px; }
svg.artmap .bossdot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #ff4060; stroke: #fff; stroke-width: 1.5; }
.regionlist:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 4px; }
.regionlist .dim:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .5; }/* dungeons */


.dungeon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-top: 10px; padding: 8px; border: 1px solid #8a5ab8; border-radius: 8px; background: #1e1630; }
.dungeon .small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12px; margin-top: 4px; }
.floors:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin: 6px 0; }
.floors i:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); font-style: normal; }
.fl:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; background: #0e141e; border: 1px solid var(--ui-line); border-radius: 6px; padding: 2px 4px; }
.fl img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.fl small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 10px; color: var(--ui-muted); }
.fl.elite:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: var(--ui-gold-d); }
.fl.boss:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #ff6a7a; background: #2a1018; }
.fl.boss img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 52px; height: 52px; }
.modal:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; inset: 0; z-index: 900; background: #0008; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: min(380px, 100%); background: var(--ui-bg); border: 2px solid var(--ui-gold-d); border-radius: 12px; padding: 14px 16px; box-shadow: 0 10px 40px #000; }
.modal-box h3:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 0 0 6px; font-weight: 400; color: var(--ui-gold); }
.modal-box p:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 6px 0; }
.modal-box button:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font: inherit; background: #2c3e60; border: 1px solid var(--ui-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; color: var(--ui-text); }
.modal-box button.go:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .modal-box button.big:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2878b8; border-color: #8fe0ff; }
.modal-box button.big:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 100%; margin-top: 10px; font-size: 17px; }
.chest-ico:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 64px; height: 50px; margin: 6px auto 10px; border-radius: 8px 8px 4px 4px; background: linear-gradient(#e0a838 0 40%, #6a3a14 40% 48%, #c88a28 48%); box-shadow: 0 0 20px #f2c94c88; border: 2px solid #3a2008; }
.li.evo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-left: 3px solid #b878f8; }
.li.gear:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-left: 3px solid var(--ui-gold); }/* dex */


.dexbar:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-bottom: 6px; }
.dexgrid:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 5px; margin-top: 8px; }
.dexcard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; background: var(--ui-bg2); border-radius: 8px; padding: 4px; font-size: 11px; text-align: center; }
.dexcard img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
.dexcard.unknown img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: brightness(0) opacity(.5); }
.dexcard.unknown span:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); }
.seal:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-radius: 4px; padding: 0 4px; margin-top: 2px; background: #555; color: #fff; }
.seal.Bronze:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #9a6030; } .seal.Silver:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #8a98a8; } .seal.Gold:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #c8a020; color: #222; }
.seal.Platinum:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #70c8d8; color: #123; } .seal.Master:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: linear-gradient(90deg, #f05, #fc0, #0cf); }/* toasts */


#toasts:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; left: 50%; top: 52px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(560px, calc(100vw - 32px)); }
.toast:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #0e141ef0; border: 2px solid var(--ui-gold-d); border-radius: 10px; padding: 8px 14px; font-size: 14px; text-align: center; box-shadow: 0 6px 18px #000a; animation: tin .25s ease-out; transition: opacity .4s, transform .4s; }
.toast b:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-gold); font-weight: 400; }
.toast.out:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 0; transform: translateY(-10px); }
@keyframes tin { from { opacity: 0; transform: translateY(-10px); } }/* battle overlay tweak: hunt stop button */


.speed .stop:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #7a2232 !important; color: #fff !important; border-color: #ff8a9a !important; }

@media (max-width: 640px) {
  .logo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: none; }
  .partner img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 96px; height: 96px; }
  .wander img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: calc(70px * var(--sz, 1)); height: calc(70px * var(--sz, 1)); }
  #dock button:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { min-width: 56px; font-size: 11px; }
  .win:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { left: 4px !important; width: calc(100vw - 8px) !important; }
  .worldcols:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { grid-template-columns: 1fr; }
  .slots:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { grid-template-columns: repeat(3, 1fr); }
  .stats:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { grid-template-columns: repeat(3, 1fr); }
}/* DMO-style evolution tree (Party window) */

.etree:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; gap: 3px; margin: 4px 0 8px; }
.tnode:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 6px; padding: 2px 8px 2px 4px; background: #0e141e; border: 1px solid var(--ui-line); border-radius: 8px; color: var(--ui-text, #e8eefc); font: inherit; font-size: 12px; text-align: left; cursor: default; opacity: .6; }
.tnode img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.tnode small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--ui-muted); font-size: 10px; max-width: 46%; text-align: right; }
.tnode.cur:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 1; border-color: #f8d050; background: #2e2610; }
.tnode.open:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 1; border-color: #4a8ad8; cursor: pointer; }
.tnode.open.low:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .75; cursor: default; }
.tnode.ready:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 1; border-color: var(--ui-good); background: #14301e; cursor: pointer; }
.tnode.open:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .tnode.ready:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: brightness(1.25); }
.tnode.jog:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-style: dashed; }
.tnode.cur:disabled:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .tnode.cur:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 1 !important; color: #fff3c8; }/* step 8: power layers */

.ico-power:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 50%, #fff6a8 0 18%, #f8a020 19% 40%, transparent 41%), conic-gradient(#f8c040 0 8%, transparent 8% 17%, #f8c040 17% 25%, transparent 25% 33%, #f8c040 33% 42%, transparent 42% 50%, #f8c040 50% 58%, transparent 58% 67%, #f8c040 67% 75%, transparent 75% 83%, #f8c040 83% 92%, transparent 92%); border-radius: 50%; }
.ico-lab:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(ellipse at 50% 72%, #58e0a0 0 34%, transparent 35%), linear-gradient(90deg, transparent 38%, #c8d8f0 38% 62%, transparent 62%); }
#dock button.locked:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .5; }
.list .li.dim:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .55; }
small.bad:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ff8080; }/* tamers */

.tface:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 2px solid #3a5a8a; background: #13233a; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; font-size: 22px; color: #f8d050; flex: none; }
.tface.small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 40px; height: 40px; font-size: 14px; }
.tpick-box:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: min(880px, 96vw); max-height: 94vh; overflow: auto; }
.tgrid:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; margin: 8px 0; }
.tbtn:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; background: #0e141e; border: 2px solid #2a3a55; border-radius: 10px; color: #dfe8f8; cursor: pointer; }
.tbtn.sel:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #f8d050; background: #2e2610; }
.tbtn small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 11px; }
.tcard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #0e1726; border: 1px solid #2a3a55; border-radius: 10px; padding: 8px; margin-bottom: 8px; text-align: left; }
.tcard-h:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.tskill:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { padding: 3px 6px; border-left: 3px solid #4a8ad8; margin: 3px 0; font-size: 13px; }
.tskill.act:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-left-color: #f8a020; }
.tskill.off:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .5; }
.tskill small:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #a8b8d0; }
.tface.mini:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 22px; height: 22px; border-radius: 5px; border-width: 1px; font-size: 9px; margin-right: 5px; vertical-align: middle; }/* guidance: Journey tracker, unlock pop-up, level colours */

#tracker:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; top: 52px; right: 12px; width: 300px; z-index: 40; background: #0d1626ee; border: 1px solid #3a5a8a; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; color: #dfe8f8; box-shadow: 0 4px 14px #0008; }
#tracker a:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #8fd0ff; cursor: pointer; text-decoration: underline; }
.trhead:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: #f8d050; }
.trx:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: none; border: none; color: #a8b8d0; cursor: pointer; font-size: 16px; }
.trch:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #8aa0c0; font-size: 11px; }
.trt:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-weight: bold; font-size: 14px; margin: 2px 0; }
.trnpc:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #c8d4e8; font-style: italic; margin: 3px 0; font-size: 12px; }
.trg:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; gap: 6px; padding: 1px 0; }
.trwhere:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #a8f0b8; margin: 3px 0; }
.trblock:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ffc070; margin: 4px 0; }
.treasy:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ffd070; margin-top: 6px; border-top: 1px solid #2a3a55; padding-top: 4px; }
.trside:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin-top: 6px; border-top: 1px solid #2a3a55; padding-top: 4px; }
#tracker .row:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { gap: 4px; margin-top: 5px; }
#tracker button.go:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2a7a3a; border-color: #4ac86a; }
.jcur:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #0e1726; border: 1px solid #2a3a55; border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.jcur h4:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 2px 0 6px; }
.jstory:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12.5px; margin: 3px 0; padding-left: 6px; border-left: 3px solid #4a8ad8; color: #c8d4e8; }
.jside:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-bottom: 1px solid #2a3a55; padding: 4px 0; }
.unlock-box:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: min(620px, 94vw); max-height: 88vh; overflow: auto; }
.ulf:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { padding: 4px 6px; border-left: 3px solid #f8a020; margin: 4px 0; }
.ulm:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 8px; padding: 5px 6px; margin: 4px 0; background: #0e1726; border-radius: 8px; border-left: 4px solid #4a8ad8; }
.ulsp img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 28px; height: 28px; image-rendering: pixelated; object-fit: contain; }
.feel-easy:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { --feel: #8a94a6; } .feel-ok:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { --feel: #4ad06a; } .feel-hard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { --feel: #f8c040; } .feel-deadly:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { --feel: #ff5050; }
.ulm.feel-easy:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .ulm.feel-ok:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .ulm.feel-hard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .ulm.feel-deadly:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-left-color: var(--feel); }
.small.feel-easy:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .small.feel-ok:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .small.feel-hard:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .small.feel-deadly:not(:where(#inst,#v2dock,#v2hud,#v2talk) *), .maplegend span[class^=feel]:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: var(--feel); }
.maplegend:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #c8d4e8; margin: 4px 0; }
svg.artmap .hex .feeldot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: var(--feel, transparent); stroke: #000a; stroke-width: 1.5; }
svg.artmap .hex.label.feel-ok polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #4ad06a; } svg.artmap .hex.label.feel-hard polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #f8c040; }
svg.artmap .hex.label.feel-deadly polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #ff5050; } svg.artmap .hex.label.feel-easy polygon:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { stroke: #8a94a6; }
svg.artmap .mark:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #f8d050; font-size: 20px; text-anchor: middle; paint-order: stroke; stroke: #000; stroke-width: 3px; pointer-events: none; }
svg.artmap .mark.rec:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #6fe3ff; font-size: 16px; }
.quickgo:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { gap: 6px; flex-wrap: wrap; margin: 4px 0; }
#tracker button:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2c3e60; border: 1px solid #4a6a9a; border-radius: 6px; padding: 3px 10px; color: #dfe8f8; cursor: pointer; font: inherit; font-size: 12px; } #tracker button:hover:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: brightness(1.2); } #tracker .trx:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border: none; background: none; }/* dock icons: Journey (quest scroll with a star) and Tamer (the chosen tamer's face via --tface, else a silhouette) */

.ico-journey:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 46%, #f8d050 0 17%, transparent 18%), linear-gradient(#f4e2b0, #d8b878); border-radius: 3px 3px 3px 3px; box-shadow: inset 0 3px 0 #b08848, inset 0 -3px 0 #b08848; }
.ico-side:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(circle at 50% 46%, #8fe07a 0 17%, transparent 18%), linear-gradient(#d8ecc8, #9cc488); border-radius: 3px; box-shadow: inset 0 3px 0 #5f8e4c, inset 0 -3px 0 #5f8e4c; }
.ico-quests:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: radial-gradient(ellipse at 50% 55%, #f0f0ff 0 22%, transparent 23%), linear-gradient(135deg, #b06ae0, #5a2e9a); border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; box-shadow: inset 0 -3px 0 #3e1f6e; }
.ico-profile:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: var(--tface, radial-gradient(circle at 50% 35%, #f8d8b0 0 26%, transparent 27%), radial-gradient(ellipse at 50% 100%, #f8a020 0 45%, transparent 46%)); background-size: cover; border-radius: 5px; }
.chip.boost:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #3a2a08; border-color: #f8c040; color: #ffe08a; }
svg.artmap .mark.xp:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { fill: #ffe040; font-size: 15px; }
.xpspot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #ffe060; }
.spawns span.hot:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { outline: 1px solid #ffe040; border-radius: 6px; }
.boostline:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-left: 3px solid #f8c040; }/* tracker tabs: Journey / Side / Quests */


#tracker .trhead:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 4px; }
#tracker .trtab:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #1c2740; border: 1px solid #34486e; border-radius: 6px; padding: 2px 8px; color: #9fb0c8; font-size: 12px; font-weight: bold; }
#tracker .trtab.on:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2c3e60; color: #f8d050; border-color: #6a8ac0; }
#tracker .trt.dim:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: 0.55; }/* Dungeon Gate: the 5-Digimon dungeon team */


.dgteam:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.dgteam .dgm:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 4px; background: #1c2740; border: 1px solid #34486e; border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.dgpick:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { max-height: 220px; overflow: auto; margin-bottom: 6px; }
.dgpick label:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; }/* team picker (before a dungeon / raid) */


.teampick .modal-box:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: min(560px, 94vw); }
.teampick .tp-foes:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.teampick .tp-foe:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: flex; align-items: center; gap: 4px; background: #2a1a1a; border: 1px solid #6a3a3a; border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.teampick .tp-foe.boss:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { border-color: #f8c040; }
.teampick .tp-list:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { max-height: 46vh; overflow: auto; margin: 6px 0; }
.teampick .tp-list label:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { cursor: pointer; gap: 6px; }
.teampick .tp-list label.on:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #24385a; }
.teampick .attr:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 10px; padding: 0 4px; border-radius: 4px; color: #fff; background: #667; }
.teampick .attr.Vaccine:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2f8a4a; } .teampick .attr.Data:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #2f6ac0; } .teampick .attr.Virus:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #c03a3a; }

.acard .tfuse:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: absolute; top: 2px; left: 4px; font-size: 13px; }
.acard:has(.tfuse) img:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { opacity: .55; }/* v0.48 offline badge next to Stop Hunt (top bar + battle) and its tooltip */


.offbadge:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 12px; font-size: 13px; cursor: help; white-space: nowrap;
  background: #2a3240; border: 1px solid #66748a; color: #c8d2e0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.offbadge.ready:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #1f6a3a; border-color: #7cf0a4; color: #eaffef; box-shadow: 0 0 8px #3ad07a88; }
.battle .speed .offbadge:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { font-size: 12px; padding: 1px 7px; border-radius: 5px; border: 2px solid #283038; background: #f8f8f0d0; color: #586878; }
.battle .speed .offbadge.ready:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #58d080; color: #0e3a1e; border-color: #283038; box-shadow: none; }
.offtip:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { position: fixed; z-index: 5000; max-width: 320px; padding: 10px 12px; border-radius: 8px; background: #101826f2; border: 1px solid #4a6a90;
  color: #dfe8f4; font-size: 13px; line-height: 1.45; box-shadow: 0 6px 24px #000a; pointer-events: none; }
.offtip ul:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 6px 0 0; padding-left: 18px; } .offtip li:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { margin: 3px 0; } .offtip .good:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { color: #7cf0a4; }/* the moon alone (v0.48 follow-up): a round icon, grey while learning, green when ready */

.offbadge:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { justify-content: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; font-size: 16px; filter: grayscale(1) brightness(1.1); }
.offbadge.ready:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { filter: none; }
.battle .speed .offbadge:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { width: 26px; height: 24px; padding: 0; border-radius: 5px; font-size: 14px; }
.battle .speed .offbadge:not(.ready):not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { background: #485058; }
/* v0.74.2: gear that auto-sell sold straight from a chest stays listed, marked */
.li.gear.sold { opacity: .7; border-left-color: #8a96a3; }
.li.gear .soldtag { font-size: 11px; color: #c9a14a; white-space: nowrap; }

/* v0.77.4: quest requirements stay readable inside short phone screens. */
.offtip:not(:where(#inst,#v2dock,#v2hud,#v2talk) *) { box-sizing: border-box; max-width: min(320px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow-y: auto; }
