/* ==== Computer HUD "เรียบ" (pcx), 2026-11-30 ====
   Owner, two pictures of other games' computer screens: "มาดูยูไอเกมนี้หน่อยชอบมา เอาไปทำของเกมเราบนคอมให้หน่อย",
   then "แบบนี้ก็ดีเรียบๆดีดูง่าย", then "ให้ใช้บัฟ แบบมือถืออยู่ใตเลือดตัวละคร". Only their order is taken: no boxes, a
   small card top-left, one thin line of numbers top-right, the menu as labelled icons bottom-right, EXP / Job along
   the very bottom; our own night blue and brass. A choice in Settings (js/pc_hud.js: body.pcx, computer only);
   every rule here is under body.pcx:not(.touch), so the old look is untouched. */

.pcx-exp, .pcx-place, .pcx-auto { display: none; }

/* ---- 1. the card: portrait, name, HP / SP, the dash line; EXP and Job go to the bottom edge ---- */
body.pcx:not(.touch) #hud .panel.status { top: 8px; left: 10px; padding: 0; gap: 9px; align-items: flex-start; }
body.pcx:not(.touch) #hud .status .portrait {
  width: 56px; height: 56px; border: 2px solid rgba(201, 146, 63, .95);
  box-shadow: 0 0 0 2px rgba(8, 12, 22, .85), 0 4px 12px rgba(0, 0, 0, .6);
}
body.pcx:not(.touch) #hud .status .meters { width: 196px; gap: 3px; padding-top: 1px; }
body.pcx:not(.touch) #hud .hud-name {
  font: 700 14px/1.15 "Segoe UI", Tahoma, sans-serif; color: #fff;
  text-shadow: 0 1px 2px #000, 0 0 3px #000, 0 0 6px rgba(0, 0, 0, .6);
}
body.pcx:not(.touch) #hud .status .bar {
  height: 14px; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .75);
  background: rgba(4, 7, 14, .62); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6);
}
body.pcx:not(.touch) #hud .status .bar.sp { height: 12px; }
body.pcx:not(.touch) #hud .status .bar span { font: 700 10px/1 "Segoe UI", Tahoma, sans-serif; }
/* the dash stamina: a hair line, no number */
body.pcx:not(.touch) #hud .status .bar.st { height: 4px; border-width: 0; background: rgba(4, 7, 14, .5); }
body.pcx:not(.touch) #hud .status .bar.st span { display: none; }
body.pcx:not(.touch) #hud .status .bar.xp,
body.pcx:not(.touch) #hud .status .bar.job { display: none; }
/* VIP · world boss · bonus · events · vote beside the card: bare icons with their name under */
body.pcx:not(.touch) #hud .panel.status > button:not(.wb-off):not(.wb-bonus) {
  width: 44px; height: 44px; min-width: 0; margin: 2px 0 0; padding: 0; border: 0; border-radius: 10px;
  background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
body.pcx:not(.touch) #hud .panel.status > button:hover { background: rgba(255, 226, 138, .1); }
/* the world boss button keeps its own rule (hidden from the boss's end until 10 minutes before the next); the bonus
   button stays in the page out of sight - its rates are buff tiles now and a press on one presses it
   (owner, 2026-11-30: "ตรงคูณ2 ให้ไปขึ้นบัฟคูณแทน") */
body.pcx:not(.touch) #hud .panel.status > button.wb-off,
body.pcx:not(.touch) #hud .panel.status > button.wb-bonus { display: none !important; }
body.pcx:not(.touch) #hud .panel.status > button .ico { width: 26px; height: 26px; background-size: 26px 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9)); }
body.pcx:not(.touch) #hud .panel.status > button .rail-label {
  font: 700 11px/1.1 "Segoe UI", Tahoma, sans-serif; color: #fff4d8; white-space: nowrap;
  text-shadow: 0 1px 1px #000, 0 0 2px #000, 0 0 4px rgba(0, 0, 0, .8);
}

/* ---- 2. buffs: the phone's glowing tiles, right under the bars (js/pc_hud.js buffDress) ----
   Their place (and the party list's and the world boss board's under them) is --pcx-top, written by js/pc_hud.js:
   js/status.js and js/world_boss.js write an inline top from the menu rail, which has gone to the bottom. */
body.pcx:not(.touch) #hud #buffBar,
body.pcx:not(.touch) #hud .party-box,
body.pcx:not(.touch) #hud .wb-live,
body.pcx:not(.touch) #hud .ty-dps { top: var(--pcx-top, 80px) !important; left: 10px; }
body.pcx:not(.touch) #hud #buffBar {
  bottom: auto !important; transform: none;
  /* (display without !important: body.talking hides the whole HUD with an !important rule while an NPC talks) */
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 5px;
  width: 262px; max-height: 32px; overflow: visible; pointer-events: none;
}
body.pcx:not(.touch) #hud #buffBar.pcx-open { max-height: none; }
body.pcx:not(.touch) #hud #buffBar .st-row {
  --st-glow: 150, 200, 255;
  position: relative; flex: none; width: 30px; height: 30px; padding: 0; gap: 0; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; overflow: visible; pointer-events: auto;
  border-radius: 8px; border: 1.5px solid rgba(var(--st-glow), .9); background: rgba(8, 14, 26, .45);
  box-shadow: 0 0 8px rgba(var(--st-glow), .6), inset 0 0 8px rgba(var(--st-glow), .28);
}
body.pcx:not(.touch) #hud #buffBar .st-row.bad { --st-glow: 255, 110, 100; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-fold { display: none; }
body.pcx:not(.touch) #hud #buffBar .st-row .st-name,
body.pcx:not(.touch) #hud #buffBar .st-row .st-left,
body.pcx:not(.touch) #hud #buffBar .st-row .st-bar { display: none; }
body.pcx:not(.touch) #hud #buffBar .st-row .st-ico {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 0 3px rgba(var(--st-glow), .5));
}
body.pcx:not(.touch) #hud #buffBar .st-row .st-ico > * { width: 24px !important; height: 24px !important; image-rendering: pixelated; }
/* the time eats the tile, clockwise (--st-gone, js/status.js) */
body.pcx:not(.touch) #hud #buffBar .st-row::before {
  content: ""; position: absolute; inset: 0; border-radius: 7px; pointer-events: none; z-index: 1;
  background: conic-gradient(rgba(4, 8, 16, .55) calc(var(--st-gone, 0) * 1turn), transparent 0);
}
/* the last minute counts down over the icon */
body.pcx:not(.touch) #hud #buffBar .st-row .pcx-count {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  font: 800 14px/1 "Segoe UI", Tahoma, sans-serif; color: #fff; pointer-events: none;
  text-shadow: 0 0 4px #000, 0 1px 2px #000, 0 -1px 2px #000, 1px 0 2px #000, -1px 0 2px #000;
}
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-soon .pcx-count { color: #ff8e82; }
/* the mouse over a tile names it, with its time */
body.pcx:not(.touch) #hud #buffBar .st-row::after { display: none; }
body.pcx:not(.touch) #hud #buffBar .st-row:hover { z-index: 300; }
body.pcx:not(.touch) #hud #buffBar .st-row:hover::after {
  content: attr(data-tip); display: block; position: absolute; left: 0; right: auto; top: calc(100% + 6px); bottom: auto;
  transform: none; z-index: 80; white-space: nowrap; padding: 4px 8px; border-radius: 7px; pointer-events: none;
  font: 400 12px/1.3 "Segoe UI", Tahoma, sans-serif; color: #f4e6c4;
  background: rgba(10, 14, 24, .96); border: 1px solid rgba(201, 146, 63, .55); box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
/* the bonus tiles say EXP / JOB / DROP and their rate, each its own colour; a press opens the bonus panel */
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bonus { --st-glow: 255, 205, 110; cursor: pointer; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bn-job { --st-glow: 140, 200, 255; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bn-drop { --st-glow: 130, 240, 160; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bonus .st-ico {
  position: absolute; inset: 0; width: auto; height: auto; filter: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bonus .pcx-bn-word {
  font: 800 9px/1 "Segoe UI", Tahoma, sans-serif; color: #ffd76a; text-shadow: 0 0 5px rgba(var(--st-glow), .9), 0 1px 2px #000;
}
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bn-job .pcx-bn-word { color: #9ed2ff; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bn-drop .pcx-bn-word { color: #9df0b4; font-size: 8px; }
body.pcx:not(.touch) #hud #buffBar .st-row.pcx-bonus .pcx-bn-mul {
  font: 700 10px/1.15 "Segoe UI", Tahoma, sans-serif; font-style: normal;
  color: rgb(var(--st-glow)); text-shadow: 0 0 5px rgba(var(--st-glow), .9), 0 1px 2px #000;
}
body.pcx:not(.touch) #hud #buffBar .pcx-bmore {
  flex: none; width: 30px; height: 30px; padding: 0; margin: 0; pointer-events: auto; cursor: pointer;
  font: 700 11px/1 "Segoe UI", Tahoma, sans-serif; color: #ffe9b8; text-shadow: 0 1px 2px #000;
  border-radius: 8px; border: 1px solid rgba(217, 169, 62, .7);
  background: linear-gradient(180deg, rgba(40, 52, 88, .88), rgba(14, 19, 36, .9));
}
body.pcx:not(.touch) #hud #buffBar .pcx-bmore:hover { border-color: #f6d87a; }

/* ---- 3. Bato and rubies right under the SP bar, as in the old card: a screenshot of a trade shows the name and the
   money together (owner, 2026-11-30: "เงินรูบี้มาไว้ใต้หลอดมานา แบบเดิมเวลาแคปซื้อขายจะได้แคปง่ายเพราะมีชื่ออยู่");
   top right: one thin line - clock, online, FPS, ping - no pills. js/pc_hud.js column() writes the spot. ---- */
body.pcx:not(.touch) #hud .net-chips { top: 10px; gap: 2px; }
body.pcx:not(.touch) #hud .purse {
  top: var(--pcx-purse-y, 66px); left: var(--pcx-purse-x, 72px); right: auto;
  display: flex; flex-direction: row; align-items: center; gap: 2px;
}
body.pcx:not(.touch) #hud .purse .purse-row { display: flex; gap: 2px; margin: 0; }
body.pcx:not(.touch) #hud .purse .chip.place { display: none; }
body.pcx:not(.touch) #hud .purse .chip,
body.pcx:not(.touch) #hud .net-chips .chip {
  height: 22px; padding: 0 6px 0 2px; border: 0; border-radius: 6px; background: none; box-shadow: none;
  font: 700 12px/22px "Segoe UI", Tahoma, sans-serif; color: #f4e6c4; text-shadow: 0 1px 2px #000, 0 0 3px #000;
}
body.pcx:not(.touch) #hud .purse .chip:hover,
body.pcx:not(.touch) #hud .net-chips .chip:hover { background: rgba(8, 12, 22, .5); }
body.pcx:not(.touch) #hud .purse .chip .ico { width: 16px; height: 16px; background-size: 16px 16px; margin-right: 3px; }

/* ---- 4. the place's name at the top centre; the monster's plate under it ---- */
body.pcx:not(.touch) #hud .pcx-place {
  display: block; position: absolute; top: var(--pcx-pill-y, 8px); left: var(--pcx-pill-x, 50%); transform: translateX(-50%); z-index: 3;
  max-width: var(--pcx-pill-w, 40%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none;
  padding: 4px 18px; border-radius: 999px; border: 1px solid rgba(201, 146, 63, .55);
  background: linear-gradient(180deg, rgba(20, 28, 50, .78), rgba(8, 12, 22, .78));
  font: 700 13px/1.2 "Segoe UI", Tahoma, sans-serif; color: #f4e6c4; text-shadow: 0 1px 2px #000;
}
body.pcx:not(.touch) #hud .pcx-place:empty,
body.pcx:not(.touch) #hud .pcx-place.gone { display: none; }
/* under it, one below the other (js/pc_hud.js topStack): the world boss's HP bar (its inline top is js/world_boss.js's),
   then the monster's plate; the duel bar and the world boss call keep their distance below the plate as before */
body.pcx:not(.touch) #hud .wb-bar { top: var(--pcx-wb-y, 40px) !important; }
/* fix 2: a narrow screen - the bar ends before the round buttons beside the minimap (js/pc_hud.js topStack) */
body.pcx:not(.touch) #hud .wb-bar.pcx-wbfit { left: var(--pcx-wb-x) !important; width: var(--pcx-wb-w) !important; transform: none !important; }
body.pcx:not(.touch) #hud .target { top: var(--pcx-tgt-y, 42px); }
body.pcx:not(.touch) #hud .travel-chip { top: var(--pcx-tv-y, 42px); }
body.pcx:not(.touch) #hud .duel-bar { top: calc(var(--pcx-tgt-y, 42px) + 42px); }
body.pcx:not(.touch) #hud .wb-call { top: calc(var(--pcx-tgt-y, 42px) + 62px); }

/* ---- 5. the minimap: a soft frame; the buttons beside it smaller and quieter ---- */
body.pcx:not(.touch) #hud .mini-map {
  border: 1px solid rgba(201, 146, 63, .5); border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 28, 50, .72), rgba(8, 12, 22, .72)); box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
body.pcx:not(.touch) #hud .mini-map canvas { border-radius: 8px; }
body.pcx:not(.touch) #hud .rail.side .round {
  width: 34px; height: 34px; border-color: rgba(201, 146, 63, .55);
  background: radial-gradient(circle at 50% 30%, rgba(52, 74, 130, .85), rgba(14, 20, 38, .85) 75%);
}
body.pcx:not(.touch) #hud .rail.side .round .ico { width: 20px; height: 20px; background-size: 20px 20px; }
/* the joystick and auto buttons out, the cash shop where auto stood (owner, 2026-11-30: "เอาปุ่มจอยออก เอาปุ่มออโต้ออก ใส่
   แคชชอป เข้าไปแทน"); AUTO is the big button by the skill bar, Q still switches it */
body.pcx:not(.touch) #hud .rail.side > .round:has(> .joy-ico) { display: none !important; }
/* the auto toggle stays in the page, unseen and out of the flow, under the shop button: js/world_boss_auto_ui.js puts
   the world boss auto button beside it (a display:none anchor has no place, and that button never showed) */
body.pcx:not(.touch) #hud .rail.side > #btnAutoToggle { position: absolute; opacity: 0; pointer-events: none; }
.pcx-cshop { display: none; }
body.pcx:not(.touch) #hud .rail.side > .pcx-cshop { display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
/* a shop front with a ruby sign (owner, 2026-11-30: "ตรงแคชชอปทำเป็นรูปหน้าร้านแบบเกมอื่นได้มะ"; GPT's art, cut by
   tasks/pc_hud_2026-11-30/make_cshop_icon.py) */
body.pcx:not(.touch) #hud .pcx-cshop .pcx-cs-ico {
  display: block; width: 28px; height: 28px; background: url("../assets/ui/rail-cshop.png") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 0 4px rgba(255, 90, 110, .45));
}

/* ---- 6. the quests under the minimap: lighter ---- */
body.pcx:not(.touch) #hud .qt {
  overflow-y: auto; border: 0; border-left: 2px solid rgba(201, 146, 63, .75); border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(8, 12, 22, .72), rgba(8, 12, 22, .42)); box-shadow: none;
}

/* ---- 7. the menu: labelled icons bottom-right, every button shown (no ◀ fold, no ▼ more) ----
   As wide as the room right of the skill bar and its AUTO button (the bar is 496 px, centred). */
body.pcx:not(.touch) #hud .rail.left {
  top: auto !important; left: auto; right: 10px; bottom: var(--pcx-rail-b, 18px); transform: none;
  width: var(--pcx-rail-w, 320px); z-index: 2;
  display: flex; flex-direction: row; flex-wrap: wrap-reverse; justify-content: flex-end; align-content: flex-end; gap: 4px 2px;
  /* fix 3, 2026-12-01 (owner: "ทำพื้นหลังให้ดูง่ายหน่อย"): a block of at most 6 a row, always on a dark panel - the
     icons stood on the grass with nothing behind them */
  padding: 4px; border-radius: 12px; border: 1px solid rgba(201, 146, 63, .45);
  background: linear-gradient(180deg, rgba(20, 28, 50, .82), rgba(8, 12, 22, .86)); box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
body.pcx:not(.touch) #hud .rail.left > .rail-extra:not(.hidden):not(.menu-gone):not(.vote-rail):not(.explorer-rail) { display: flex !important; }
body.pcx:not(.touch) #hud .rail.left.folded > button:not(.rail-toggle):not(.hidden):not(.rail-extra) { display: flex; }
body.pcx:not(.touch) #hud .rail.left > .rail-toggle,
body.pcx:not(.touch) #hud .rail.left > .rail-more { display: none !important; }
body.pcx:not(.touch) #hud .rail.left .round {
  width: 50px; height: 48px; margin: 0; padding: 2px 0 0; gap: 3px; border: 0; border-radius: 10px;
  background: none; box-shadow: none; flex-direction: column; justify-content: center; align-items: center;
}
body.pcx:not(.touch) #hud .rail.left .round:hover,
body.pcx:not(.touch) #hud .rail.left .round:focus-visible { background: rgba(255, 226, 138, .1); border: 0; }
body.pcx:not(.touch) #hud .rail.left .round .ico {
  width: 26px; height: 26px; background-size: 26px 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .95));
}
body.pcx:not(.touch) #hud .rail.left .round .rail-label {
  display: block; max-width: 50px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 11px/1.1 "Segoe UI", Tahoma, sans-serif; color: #fff4d8; text-shadow: 0 1px 1px #000, 0 0 2px #000, 0 0 4px rgba(0, 0, 0, .8);
}
/* the hotkey: a small gold letter at the top left; the red pip of unspent points keeps the top right */
body.pcx:not(.touch) #hud .rail.left .round[data-key]::before {
  left: 6px; right: auto; top: 1px; bottom: auto; padding: 0; border: 0; background: none;
  font: 700 9px/1 "Segoe UI", Tahoma, sans-serif; color: #e8c770; text-shadow: 0 1px 2px #000;
}
body.pcx:not(.touch) #hud .rail.left .round.alert::after {
  top: 3px; right: 9px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid #2a0a08; background: #ff5a4a; box-shadow: 0 0 5px rgba(255, 90, 74, .8);
}

/* ---- 8. the skill bar: above the EXP line, a see-through tray; the AUTO button at its right ---- */
body.pcx:not(.touch) #hud .shortbar {
  bottom: 20px; border: 0; padding: 5px 6px;
  background: linear-gradient(180deg, rgba(14, 20, 38, .55), rgba(6, 9, 18, .7)); box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
body.pcx:not(.touch) #hud .pcx-auto {
  display: flex; position: absolute; z-index: 3; width: 50px; height: 50px; padding: 0; margin: 0;
  align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; pointer-events: auto;
  border: 2px solid rgba(201, 146, 63, .9);
  background: radial-gradient(circle at 50% 32%, rgba(58, 82, 140, .95), rgba(12, 18, 34, .95) 72%);
  box-shadow: 0 0 0 2px rgba(6, 9, 16, .8), 0 4px 12px rgba(0, 0, 0, .55);
  font: 800 12px/1 "Segoe UI", Tahoma, sans-serif; letter-spacing: .5px; color: #f4e6c4; text-shadow: 0 1px 2px #000;
}
body.pcx:not(.touch) #hud .pcx-auto:hover { border-color: #f6d87a; }
body.pcx:not(.touch) #hud .pcx-auto.on {
  color: #eaffe9; border-color: #7be38d;
  background: radial-gradient(circle at 50% 32%, rgba(60, 150, 90, .95), rgba(10, 40, 24, .95) 72%);
  box-shadow: 0 0 0 2px rgba(6, 9, 16, .8), 0 0 14px rgba(110, 230, 140, .6);
}
body.pcx:not(.touch) #hud .pcx-auto.gone { display: none; }
/* the world boss auto button (js/world_boss_auto_ui.js places it beside the hidden auto toggle): on top of AUTO, round
   (owner, 2026-11-30: "ย้ายลงมาไว้บนออโต้แล้วทำปุ่มกลม") - js/pc_hud.js writes the spot */
body.pcx:not(.touch) #hud .wb-auto.wb-auto-context {
  left: var(--pcx-wba-x) !important; top: var(--pcx-wba-y) !important;
  width: 50px; height: 50px; min-width: 50px; padding: 0; gap: 0; border-radius: 50%;
  border: 2px solid rgba(201, 146, 63, .9);
  background: radial-gradient(circle at 50% 32%, rgba(110, 52, 40, .95), rgba(30, 14, 12, .95) 72%);
  box-shadow: 0 0 0 2px rgba(6, 9, 16, .8), 0 4px 12px rgba(0, 0, 0, .55);
}
body.pcx:not(.touch) #hud .wb-auto.wb-auto-context:hover { border-color: #f6d87a; }
body.pcx:not(.touch) #hud .wb-auto.wb-auto-context.on { border-color: #ffb070; box-shadow: 0 0 0 2px rgba(6, 9, 16, .8), 0 0 14px rgba(255, 150, 80, .65); }
body.pcx:not(.touch) #hud .wb-auto.wb-auto-context .ico { width: 22px; height: 22px; background-size: 22px 22px; }
body.pcx:not(.touch) #hud .wb-auto.wb-auto-context .rail-label {
  max-width: 44px; font: 700 8px/1.05 "Segoe UI", Tahoma, sans-serif; color: #fff0d0; text-shadow: 0 1px 1px #000;
}

/* ---- 9. EXP and Job along the very bottom edge ---- */
body.pcx:not(.touch) #hud .pcx-exp {
  display: flex; position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 13px; gap: 2px;
  pointer-events: none; background: rgba(4, 6, 12, .7); border-top: 1px solid rgba(201, 146, 63, .35);
}
body.pcx:not(.touch) #hud .pcx-exp > div { position: relative; overflow: hidden; }
/* EXP the left half, Job the right half (owner, 2026-11-30: "แบ่งครึ่งหลอดประสบการณ์") */
body.pcx:not(.touch) #hud .pcx-exp .pcx-e,
body.pcx:not(.touch) #hud .pcx-exp .pcx-j { flex: 1 1 0; min-width: 0; }
body.pcx:not(.touch) #hud .pcx-exp i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
body.pcx:not(.touch) #hud .pcx-exp .pcx-e i { background: linear-gradient(180deg, #ffe48a, #d9a43c 60%, #a8741e); }
body.pcx:not(.touch) #hud .pcx-exp .pcx-j i { background: linear-gradient(180deg, #9ef0d8, #3cb89a 60%, #22806a); }
body.pcx:not(.touch) #hud .pcx-exp span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font: 700 10px/1 "Segoe UI", Tahoma, sans-serif; color: #fff; text-shadow: 0 1px 1px #000, 0 0 2px #000, 0 0 3px #000;
}

/* ---- 10. the chat: the old box, fainter; 💬 (Enter) and 😊 under it (owner, 2026-11-30, a picture: "แชทให้ทำแบบอันนี้",
   "ปุ่มเอ็นเทอกับอีโมจิ พื้นหลังอาจจะทำแบบเดิมแต่จางลงหน่อย") ---- */
body.pcx:not(.touch) #hud .chat-panel { bottom: 58px; }
body.pcx:not(.touch) #hud .chat-box { bottom: 58px; }
body.pcx:not(.touch) #hud .chat-panel:not(.gone) {
  border: 1px solid rgba(255, 255, 255, .05); box-shadow: none; background: rgba(10, 13, 22, .34);
  transition: background .2s;
}
body.pcx:not(.touch) #hud .chat-panel:not(.gone):hover,
body.pcx:not(.touch) #hud .chat-panel:not(.gone):focus-within { background: rgba(10, 13, 22, .66); }
body.pcx:not(.touch) #hud .chat-panel .chat-tabs { background: rgba(0, 0, 0, .18); }
body.pcx:not(.touch) #hud .chat-panel:hover .chat-tabs,
body.pcx:not(.touch) #hud .chat-panel:focus-within .chat-tabs { background: rgba(0, 0, 0, .35); }
body.pcx:not(.touch) #hud .chat-log .chat-line { text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.pcx-chatbtns { display: none; }
body.pcx:not(.touch) #hud .pcx-chatbtns {
  display: flex; position: absolute; left: 10px; bottom: 20px; z-index: 3; gap: 8px; pointer-events: none;
}
body.pcx:not(.touch) #hud .pcx-chatbtns button {
  position: relative; width: 32px; height: 32px; padding: 0; margin: 0; border-radius: 50%; cursor: pointer; pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 146, 63, .6); background: radial-gradient(circle at 50% 30%, rgba(52, 74, 130, .85), rgba(14, 20, 38, .85) 75%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
body.pcx:not(.touch) #hud .pcx-chatbtns button:hover { border-color: #f6d87a; }
body.pcx:not(.touch) #hud .pcx-chatbtns button > span { font-size: 15px; line-height: 1; filter: drop-shadow(0 1px 1px #000); }
/* "Enter" under the speech bubble, as a key cap */
body.pcx:not(.touch) #hud .pcx-chatbtns small {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 0 4px; border-radius: 4px;
  font: 700 8px/12px "Segoe UI", Tahoma, sans-serif; color: #f4e6c4; background: rgba(8, 12, 22, .9); border: 1px solid rgba(201, 146, 63, .5);
}

/* ---- 11. the line by the skill bar ("<place> — มอนสเตอร์ Lv.1-3", the last thing done): out (fix 3, 2026-12-01, owner:
   "มีป้ายข้างล่าง") - the place and its monsters' levels are in the name at the top, every line is in the chat ---- */
body.pcx:not(.touch) #hud #log { display: none !important; }
