/* The Power Level Online client look (plo.exe, OTClientV8, "classic" theme = amber on violet).
   Tokens from data/themes/classic/styles/00-theme.otui, chrome pictures from data/images/ui
   (served from /plo/img/ui; the sprite sheets are cut into /plo/img/web), layout from
   game_interface/gameinterface.otui, game_healthinfo, game_actionbar and 20-topmenu.otui. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/plo/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/plo/fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/plo/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/plo/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/plo/fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/plo/fonts/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Audiowide; font-weight: 400; font-display: swap; src: url(/plo/fonts/audiowide-regular.ttf) format('truetype'); }
@font-face { font-family: Rajdhani; font-weight: 500; font-display: swap; src: url(/plo/fonts/rajdhani-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Rajdhani; font-weight: 600; font-display: swap; src: url(/plo/fonts/rajdhani-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Rajdhani; font-weight: 700; font-display: swap; src: url(/plo/fonts/rajdhani-latin-700-normal.woff2) format('woff2'); }

:root {
  --p-bg-window: #1c1626; --p-bg-elevated: #302840; --p-surface-1: #ffffff08; --p-surface-2: #ffffff0c; --p-surface-hover: #ffffff14;
  --p-input: #00000059; --p-border-subtle: #ffffff12; --p-border: #ffffff1a; --p-border-strong: #ffffff22; --p-divider: #ffffff14;
  --p-accent: #e09038; --p-accent-hover: #f0b468; --p-accent-press: #c87a28; --p-selection: #5a4a80; --p-selection-hover: #685794;
  --p-header: #3a3054; --p-hover-tint: #453a66; --p-on-accent: #141417;
  --p-text: #e3e7ee; --p-text-strong: #fff; --p-text-list: #d6d6dc; --p-text-2: #9a9aa2; --p-text-muted: #8a8a92; --p-text-faint: #6f6f78;
  --p-gold: #ffcc44; --p-green: #7ed957; --p-danger: #f0a8a4; --p-danger-border: #c14540; --p-hp: #ff4d4d; --p-mana: #8a6cc0;
  --p-font: Inter, Verdana, Tahoma, sans-serif; --p-title: Rajdhani, Inter, sans-serif;
  --p-img: url(/plo/img/);
}

/* ---------------- the whole client ---------------- */
body.plo-skin { background: #000; }
body.plo-skin .game.classic, body.plo-skin .front { font-family: var(--p-font); font-size: 12px; color: var(--p-text); }
body.plo-skin .game.classic {
  --c-frame: #14101c; --c-frame-hi: #4a3e66; --c-frame-lo: #0a0810; --c-panel: var(--p-bg-window); --c-panel-2: #241c32; --c-head: var(--p-header);
  --c-text: var(--p-text); --c-dim: var(--p-text-2); --c-yellow: var(--p-gold); --c-green: var(--p-green); --c-orange: var(--p-accent); --ui: var(--p-font);
  --accent: var(--p-accent); --gold: var(--p-gold);
}
/* Button < UIButton: button_purple 33 x 29, border 7 (normal / hover / pressed) */
body.plo-skin .game.classic button {
  font: 500 12px/1.2 var(--p-font); color: #fff; min-height: 22px; padding: 4px 10px; background: none; border: 7px solid transparent;
  border-image: url(/plo/img/web/btn_n.png) 7 fill / 7px stretch; border-radius: 0; box-shadow: none; text-shadow: 0 1px 0 #000;
}
body.plo-skin .game.classic button:hover:not(:disabled) { border-image-source: url(/plo/img/web/btn_h.png); background: none; }
body.plo-skin .game.classic button:active:not(:disabled), body.plo-skin .game.classic button[aria-pressed="true"] { border-image-source: url(/plo/img/web/btn_p.png); background: none; color: var(--p-accent-hover); }
body.plo-skin .game.classic button:disabled { opacity: 0.6; color: #dfdfdf88; }
body.plo-skin .game.classic button.primary { color: var(--p-on-accent); border: 1px solid var(--p-accent-press); border-image: none; background: var(--p-accent); font: 600 15px/1.1 var(--p-title); text-shadow: none; padding: 4px 14px; }
body.plo-skin .game.classic button.primary:hover:not(:disabled) { background: var(--p-accent-hover); }
body.plo-skin .game.classic button.primary:active:not(:disabled) { background: var(--p-accent-press); }
/* DarkTextEdit */
body.plo-skin .game.classic input:not([type=checkbox]):not([type=radio]):not([type=range]), body.plo-skin .game.classic select, body.plo-skin .game.classic textarea {
  font: 12px var(--p-font); color: var(--p-text); background: var(--p-input); border: 1px solid var(--p-border); border-radius: 0; padding: 4px 6px;
}
body.plo-skin .game.classic input:focus, body.plo-skin .game.classic select:focus, body.plo-skin .game.classic textarea:focus { outline: none; border-color: var(--p-accent); }
body.plo-skin .game.classic select option { background: var(--p-bg-elevated); }
body.plo-skin .game.classic input[type=checkbox] { appearance: none; width: 15px; height: 15px; margin: 0 4px 0 0; vertical-align: -3px; background: url(/plo/img/web/chk_0.png); cursor: pointer; border: 0; }
body.plo-skin .game.classic input[type=checkbox]:checked { background: url(/plo/img/web/chk_2.png); }
body.plo-skin .game.classic input[type=checkbox]:hover { filter: brightness(1.2); }
body.plo-skin .game.classic input[type=range] { accent-color: var(--p-accent); }
body.plo-skin .game.classic label, body.plo-skin .game.classic .note { font-size: 12px; }
body.plo-skin .game.classic .note { color: var(--p-text-2); }
body.plo-skin .game.classic h3 { font: 600 16px/1 var(--p-title); color: #fffcfc; letter-spacing: 0.02em; }
body.plo-skin .game.classic ::-webkit-scrollbar { width: 10px; height: 10px; }
body.plo-skin .game.classic ::-webkit-scrollbar-track { background: #00000040; }
body.plo-skin .game.classic ::-webkit-scrollbar-thumb { background: var(--p-selection); border: 2px solid #14101c; }
body.plo-skin .game.classic ::-webkit-scrollbar-thumb:hover { background: var(--p-accent-press); }
body.plo-skin .game.classic * { scrollbar-color: var(--p-selection) #00000040; }
/* UnderlineTab / TabButton (tabbutton_square) */
body.plo-skin .game.classic [role=tablist] > button, body.plo-skin .game.classic .tabs > button {
  border: 7px solid transparent; border-bottom-width: 0; border-image: url(/plo/img/web/tab_n.png) 7 7 0 7 fill / 7px 7px 0 7px stretch; padding: 2px 8px 4px; color: var(--p-text-2);
}
body.plo-skin .game.classic [role=tablist] > button:hover { border-image-source: url(/plo/img/web/tab_h.png); color: #fff; }
body.plo-skin .game.classic [role=tablist] > button[aria-selected="true"], body.plo-skin .game.classic .tabs > button.on { border-image-source: url(/plo/img/web/tab_p.png); color: var(--p-accent-hover); }

/* ---------------- windows: Window < UIWindow, image ui/window, border 12, top 27 ---------------- */
body.plo-skin .game.classic .window.dlg, body.plo-skin .theme-modern .window.dlg {
  background: none; border: 0 solid transparent; border-radius: 0; box-shadow: 0 8px 30px #000a;
  border-image: url(/plo/img/ui/window.png) 27 12 12 12 fill / 27px 12px 12px 12px stretch; padding: 0 16px 16px; color: var(--p-text);
}
body.plo-skin .game.classic .window.dlg > .head, body.plo-skin .theme-modern .window.dlg > .head {
  position: sticky; top: 0; z-index: 2; height: 27px; margin: 0 -16px 9px; padding: 0 30px; display: flex; align-items: center; justify-content: center; cursor: move;
  background: none; border: 0; border-radius: 0;
}
body.plo-skin .game.classic .window.dlg > .head h3 { font: 500 12px/1 var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
/* the close button of the head becomes the client's 14 x 14 close icon */
body.plo-skin .game.classic .window.dlg > .head > button:last-child {
  position: absolute; right: 6px; top: 6px; width: 14px; height: 14px; min-height: 0; padding: 0; border: 0; border-image: none; font-size: 0; color: transparent;
  background: url(/plo/img/web/mw_close_n.png) no-repeat;
}
body.plo-skin .game.classic .window.dlg > .head > button:last-child:hover { background-image: url(/plo/img/web/mw_close_h.png); }
body.plo-skin .game.classic .window.dlg > .head > button:last-child:active { background-image: url(/plo/img/web/mw_close_p.png); }
body.plo-skin .game.classic .window.dlg > .head > button:not(:last-child) { min-height: 18px; padding: 0 6px; font-size: 11px; }

/* ---------------- the game screen ---------------- */
body.plo-skin #screen-game .gw { display: block; padding: 0; background: #000; }
body.plo-skin #screen-game .gw-left { display: contents; }
body.plo-skin #screen-game .gw-top { display: none; }
body.plo-skin #screen-game .gw-split { display: none; }
/* gameMapPanel: the map fills the window */
body.plo-skin #screen-game .gw-view { position: fixed; inset: 0; border: 0; background: #000; min-height: 0; z-index: 0; }
body.plo-skin #screen-game .gw-view canvas { box-shadow: none; }
body.plo-skin #screen-game .tracker { top: 380px; left: 8px; }

/* topMenu (client_topmenu + game_buttons): the compact panel_top bar at the top-left, 38 x 38 buttons
   (button_topgame) 4 px apart from 15 px down, the SHOP button (premium-shop 115 x 33) at its end */
.plo-top { position: fixed; z-index: 30; top: 0; left: 10px; height: 63px; display: flex; align-items: flex-start; pointer-events: none; }
.plo-top-bar { height: 63px; border: 0 solid transparent; border-image: url(/plo/img/ui/panel_top.png) 0 16 0 16 fill / 0 16px 0 16px stretch;
  display: flex; align-items: flex-start; gap: 4px; padding: 15px 0 0 7px; pointer-events: auto; }
.plo-top-cap { width: 50px; height: 63px; flex: none; background: url(/plo/img/ui/panel_top_right.png) no-repeat; pointer-events: auto; margin-left: -1px; }
.plo-top-info { display: flex; flex-direction: column; padding: 2px 0 0 2px; font: 600 11px/1.25 Verdana, var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; }
.plo-top-info #plo-ping { color: #4fdc4f; }
body.plo-skin .game.classic .plo-tb {
  flex: none; width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-image: none; cursor: pointer;
  background: var(--ico) center / 32px 32px no-repeat, url(/plo/img/web/tb_0.png) no-repeat;
}
body.plo-skin .game.classic .plo-tb:hover:not(:disabled) { background: var(--ico) center / 32px 32px no-repeat, url(/plo/img/web/tb_1.png) no-repeat; border-image: none; opacity: .85; }
body.plo-skin .game.classic .plo-tb:active:not(:disabled) { background: var(--ico) center / 32px 32px no-repeat, url(/plo/img/web/tb_2.png) no-repeat; }
body.plo-skin .game.classic .plo-tb-shop { flex: none; width: 115px; height: 33px; min-height: 0; margin: 3px 0 0 2px; padding: 0; border: 0; border-image: none; background: url(/plo/img/topbuttons/premium-shop.png) center / 100% 100% no-repeat; cursor: pointer; }
body.plo-skin .game.classic .plo-tb-shop:hover:not(:disabled) { background: url(/plo/img/topbuttons/premium-shop.png) center / 100% 100% no-repeat; border-image: none; opacity: .85; }
/* game_dragonpanel */
.dp-win { width: 260px !important; }
.dp-title { display: flex; align-items: center; gap: 8px; }
.dp-title i { width: 4px; height: 22px; background: var(--p-accent); }
.dp-title b { font: 600 20px/1 var(--p-title); color: #fff; }
.dp-hero { color: var(--p-text-2); font-size: 11px; padding-bottom: 6px; border-bottom: 1px solid var(--p-divider); }
.dp-list { display: flex; flex-direction: column; gap: 3px; }
body.plo-skin .game.classic .dp-row { text-align: left; padding: 6px 12px; min-height: 30px; }
.dp-sep { color: var(--p-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.dp-more { max-height: 38vh; overflow: auto; }

/* HealthInfoWindow: top-left, margin-top 65, 244 wide; player_empty 240 x 68 */
.plo-hi { position: fixed; z-index: 25; top: 65px; left: 0; width: 244px; pointer-events: none; }
.plo-hi-frame { position: relative; width: 240px; height: 96px; }
.plo-hi-frame::before { content: ''; position: absolute; left: 0; top: 2px; width: 245px; height: 72px; background: url(/plo/img/ui/player_empty.png) no-repeat; }
.plo-hi-avatar { position: absolute; left: 5px; top: 5px; width: 48px; height: 60px; background: no-repeat 0 0; image-rendering: auto; }
.plo-hi-hp { position: absolute; left: 53px; top: 16px; width: 181px; height: 20px; }
.plo-hi-hp i { position: absolute; left: 0; top: 0; height: 20px; width: 181px; background: url(/plo/img/ui/player_hp.png) no-repeat 0 0; }
.plo-hi-ki { position: absolute; left: 52px; top: 37px; width: 140px; height: 10px; }
.plo-hi-ki i { position: absolute; left: 0; top: 0; height: 10px; width: 140px; background: url(/plo/img/ui/player_ki.png) no-repeat 0 0; }
.plo-hi-hp span, .plo-hi-ki span { position: absolute; left: 0; right: 0; text-align: center; font: 600 9px/1 Verdana, var(--p-font); color: #fff; text-shadow: 0 0 2px #000, 0 1px 1px #000; }
.plo-hi-hp span { top: 6px; width: 181px; }
.plo-hi-ki span { top: 0; width: 140px; }
.plo-hi-name { display: none; position: absolute; left: 58px; top: 52px; font: 600 11px/1 var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; white-space: nowrap; }
.plo-hi-boosts { position: absolute; left: 53px; top: 68px; right: 6px; height: 20px; display: flex; gap: 2px; }
.plo-hi-cond { pointer-events: auto; margin-left: 4px; }
body.plo-skin .plo-hi-cond .icons { display: flex; flex-wrap: wrap; gap: 2px; background: #ffffff11; border: 1px solid #00000077; padding: 2px; min-height: 22px; max-width: 236px; }
body.plo-skin .plo-hi-cond .icons:empty { display: none; }

/* gameRightPanels: the minimap on top (210 px), then the free dock of the small windows */
body.plo-skin #screen-game .gw-side { position: fixed; z-index: 20; right: 0; top: 63px; bottom: 0; width: 200px; flex: none; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
body.plo-skin #screen-game .gw-side > * { pointer-events: auto; }
body.plo-skin #screen-game .sw { border: 12px solid transparent; border-top-width: 10px; border-image: url(/plo/img/ui/miniwindow.png) 30 12 10 12 fill / 10px 12px 10px 12px stretch; background: none; padding: 0; }
body.plo-skin #screen-game .sw-mini { height: 147px; grid-template-columns: 1fr 26px; border: 3px solid transparent; border-image: url(/plo/img/ui/panel_map.png) 8 fill / 3px stretch; }
body.plo-skin #screen-game .sw-mini canvas { height: 118px; width: 100%; aspect-ratio: auto; border: 0; }
body.plo-skin #screen-game .sw-mini .place { grid-column: 1 / -1; font-size: 11px; color: var(--p-text-2); display: flex; gap: 6px; }
body.plo-skin #screen-game .sw-mini .place strong { color: var(--p-accent-hover); }
body.plo-skin #screen-game .mm-btns .ico { width: 22px; height: 22px; min-height: 0; padding: 0; border-width: 4px; }
body.plo-skin.plo-nomm #screen-game .sw-mini { display: none; }
body.plo-skin #screen-game .sw-status { display: none; }
body.plo-skin.plo-noinv #screen-game .sw-inv { display: none; }
body.plo-skin #screen-game .gw-stack { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 2px; }
body.plo-skin #screen-game .side-foot { display: none; }
/* MiniWindow: image ui/miniwindow, border 12, top 30, bottom 10; 14 x 14 buttons from miniwindow_buttons */
body.plo-skin #screen-game .mw { border: 12px solid transparent; border-top-width: 28px; border-bottom-width: 10px; border-image: url(/plo/img/ui/miniwindow.png) 30 12 10 12 fill / 28px 12px 10px 12px stretch; background: none; position: relative; flex: none; }
body.plo-skin #screen-game .mw.min { border-bottom-width: 2px; }
body.plo-skin #screen-game .mw-head { position: absolute; left: -12px; right: -12px; top: -28px; height: 26px; background: none; border: 0; display: flex; align-items: center; padding: 0 6px 0 10px; gap: 3px; cursor: grab; }
body.plo-skin #screen-game .mw-title { flex: 1; font: 500 11px/1 Verdana, var(--p-font); color: #fffcfc; text-shadow: 0 1px 1px #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.plo-skin #screen-game .mw-head button { width: 14px; height: 14px; min-height: 0; padding: 0; border: 0; border-image: none; font-size: 0; color: transparent; background: url(/plo/img/web/mw_min_n.png) no-repeat; }
body.plo-skin #screen-game .mw-head button:hover { background-image: url(/plo/img/web/mw_min_h.png); }
body.plo-skin #screen-game .mw.min .mw-head .mw-min { background-image: url(/plo/img/web/mw_max_n.png); }
body.plo-skin #screen-game .mw-head .mw-x { background-image: url(/plo/img/web/mw_close_n.png); }
body.plo-skin #screen-game .mw-head .mw-x:hover { background-image: url(/plo/img/web/mw_close_h.png); }
body.plo-skin #screen-game .mw-body { padding: 2px 0; font-size: 11px; }
body.plo-skin #screen-game .mw .srow b { color: #fff; }
body.plo-skin #screen-game .pbar, body.plo-skin #screen-game .skills .pbar { background: #00000080; border: 1px solid #00000077; }
body.plo-skin #screen-game .pbar i { background: var(--p-accent); }

/* game_inventory: the item slots */
body.plo-skin .game.classic .slot { background: url(/plo/img/game/actionbarslot.png) center / 100% 100% no-repeat, #0004; border: 0; }
body.plo-skin #screen-game .combat .ico { width: 26px; height: 24px; border-width: 4px; }

/* the chat (game_console): over the action bar, centred */
body.plo-skin #screen-game .gw-console {
  position: fixed; z-index: 22; left: 50%; transform: translateX(-50%); bottom: 92px; width: 500px; height: 170px;
  min-width: 320px; display: flex; flex-direction: column; border: 0; background: linear-gradient(#0d0a1200, #0d0a12cc 22px); padding: 0;
}
body.plo-skin #screen-game .gw-console.plo-hidden { display: none; }
body.plo-skin #screen-game .gw-console .tabs { display: flex; gap: 2px; align-items: flex-end; background: none; border: 0; padding: 0 2px; }
body.plo-skin #screen-game .gw-console .tabs > button { font-size: 11px; min-height: 0; padding: 1px 8px 3px; }
body.plo-skin #screen-game .gw-console .tabs > button.unread { color: #ff6464; }
body.plo-skin #screen-game .gw-console .tabs-tools button { border-width: 4px; padding: 0 6px; font-size: 11px; min-height: 0; }
body.plo-skin #screen-game .gw-console #logs { flex: 1; min-height: 0; background: #00000066; border: 1px solid var(--p-border); }
body.plo-skin #screen-game .gw-console .log { font: 11px/1.35 Verdana, var(--p-font); padding: 2px 4px; text-shadow: 0 1px 1px #000; }
body.plo-skin #screen-game .gw-console form { background: #00000088; border: 1px solid var(--p-border); border-top: 0; display: flex; gap: 4px; padding: 2px; }
body.plo-skin #screen-game .gw-console form input { background: transparent !important; border: 0 !important; }

/* gameBottomActionPanel: 810 x 85, spellbar_main */
.plo-ab { position: fixed; z-index: 21; left: 50%; bottom: 0; width: 810px; height: 85px; transform: translateX(-50%); transform-origin: 50% 100%; pointer-events: none; }
@media (max-width: 1240px) { .plo-ab { transform: translateX(-50%) scale(calc(100vw / 1240px)); } }
.plo-ab-art { position: absolute; inset: 0; background: url(/plo/img/ui/spellbar_main.png) no-repeat; pointer-events: auto; }
.plo-ab-avatar { position: absolute; left: 23px; bottom: 19px; width: 48px; height: 60px; background: no-repeat 0 0; }
.plo-ab-level { position: absolute; left: 31px; bottom: 3px; width: 30px; text-align: center; font: 600 11px/1 Verdana, var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; }
.plo-ab-hp, .plo-ab-ki { position: absolute; bottom: 68px; height: 11px; pointer-events: auto; }
.plo-ab-hp { left: 77px; width: 337px; }
.plo-ab-ki { left: 396px; width: 322px; }
.plo-ab-hp i, .plo-ab-ki i { position: absolute; left: 0; top: 0; height: 11px; background-repeat: no-repeat; }
.plo-ab-hp i { background-image: url(/plo/img/ui/spellbar_health.png); }
.plo-ab-ki i { background-image: url(/plo/img/ui/spellbar_ki.png); }
.plo-ab-hp span, .plo-ab-ki span { position: absolute; inset: 0; text-align: center; font: 600 9px/11px Verdana, var(--p-font); color: #fff; text-shadow: 0 0 2px #000; opacity: 0; transition: opacity .15s; }
.plo-ab-hp:hover span, .plo-ab-ki:hover span { opacity: 1; }
.plo-ab-exp { position: absolute; left: 239px; bottom: 57px; width: 328px; height: 8px; pointer-events: auto; }
.plo-ab-exp i { position: absolute; left: 0; top: 0; height: 8px; background: url(/plo/img/ui/spellbar_expbar.png) no-repeat; }
.plo-ab-slots { position: absolute; left: 90px; bottom: 8px; width: 600px; height: 40px; pointer-events: auto; }
body.plo-skin #screen-game .plo-ab-slots .actionbar { position: static; transform: none; display: flex; gap: 1px; padding: 0; background: none; border: 0; box-shadow: none; width: auto; left: auto; bottom: auto; }
body.plo-skin #screen-game .plo-ab-slots .ab-slot { width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; border-image: none; border-radius: 0; background: url(/plo/img/game/actionbarslot.png) center / 100% 100% no-repeat; position: relative; overflow: visible; }
body.plo-skin #screen-game .plo-ab-slots .ab-slot:hover { filter: brightness(1.25); }
body.plo-skin #screen-game .plo-ab-slots .ab-key { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 8px; color: #fff; background: url(/plo/img/ui/spellbar_numbers.png); border: 0; padding: 0; }
.plo-ab-chat { position: absolute; left: 2px; bottom: 3px; width: 20px; height: 21px; pointer-events: auto; }
body.plo-skin .game.classic .plo-ab-chat { min-height: 0; padding: 0; border: 0; border-image: none; background: url(/plo/img/ui/spellbar_chatbutton.png) no-repeat; }
body.plo-skin #screen-game .statusline { bottom: 190px !important; }
body.plo-skin #screen-game .gw-view.has-ab .statusline { bottom: 190px !important; }

/* PLO windows (js/plo*.js) on the client palette */
body.plo-skin .plo-entry.sel { outline-color: var(--p-accent); background: var(--p-selection) !important; }
body.plo-skin .plo-bar-fill { background: linear-gradient(90deg, var(--p-accent-press), var(--p-accent-hover)); }
body.plo-skin .plo-card { background: var(--p-surface-1); border-color: var(--p-border-subtle); border-radius: 0; }
body.plo-skin .plo-info h4, body.plo-skin .plo-info h5 { color: var(--p-accent-hover); font-family: var(--p-title); font-size: 15px; }
body.plo-skin .plo-toast, body.plo-skin .plo-tip, body.plo-skin .plo-tracker, body.plo-skin .plo-hud, body.plo-skin .plo-pill { background: #1c1626f0; border-color: var(--p-border-strong); color: var(--p-text); border-radius: 0; }
body.plo-skin .plo-table td, body.plo-skin .plo-table th { border-bottom-color: var(--p-divider); }
body.plo-skin .plo-table tr:nth-child(even) td { background: #ffffff0a; }
body.plo-skin .ctx { background: var(--p-bg-elevated); border: 1px solid var(--p-border-strong); border-radius: 0; font-family: var(--p-font); }
body.plo-skin .ctx button { border: 0 !important; border-image: none !important; background: none !important; text-align: left; }
body.plo-skin .ctx button:hover { background: var(--p-selection) !important; }
body.plo-skin .plo-hud { top: 250px; right: 206px; }
body.plo-skin .plo-tracker { right: 206px; top: 70px; }

/* small screens: the classic stacked layout stays */
@media (max-width: 860px), (pointer: coarse) and (max-width: 1100px) {
  .plo-top, .plo-hi, .plo-ab { display: none; }
  body.plo-skin #screen-game .gw-view, body.plo-skin #screen-game .gw-side, body.plo-skin #screen-game .gw-console { position: static; transform: none; width: auto; }
  body.plo-skin #screen-game .gw { display: flex; flex-direction: column; overflow: auto; }
}

/* ---------------- client_entergame: log in, new account, characters ---------------- */
body.plo-skin:not(.in-game) { background: #0b0812 radial-gradient(ellipse at 50% 30%, #3a3054 0%, #1c1626 45%, #0b0812 100%) fixed; color: var(--p-text); font-family: var(--p-font); }
body.plo-skin .front { padding-top: 2vh; gap: 10px; font-family: var(--p-font); }
body.plo-skin .front header { align-items: center; text-align: center; }
body.plo-skin .front header h1 { width: 320px; height: 200px; max-width: 80vw; margin: 0 auto -18px; background: url(/plo/img/web/logo320.png) center / contain no-repeat; font-size: 0; color: transparent; text-shadow: none; }
body.plo-skin .front header h1 a { display: block; width: 100%; height: 100%; }
body.plo-skin .front header p { color: var(--p-text-2); font-size: 12px; text-shadow: 0 1px 1px #000; }
body.plo-skin .front .panel {
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 8px 30px #000a; border: 0 solid transparent; border-radius: 0;
  border-image: url(/plo/img/ui/window.png) 27 12 12 12 fill / 27px 12px 12px 12px stretch; padding: 0 16px 16px; color: var(--p-text);
}
body.plo-skin .front .panel > h2:first-child { height: 27px; margin: 0 -16px 10px; display: flex; align-items: center; justify-content: center; font: 500 12px/1 var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; letter-spacing: 0; }
body.plo-skin .front .panel h2 { font: 600 16px/1.2 var(--p-title); color: var(--p-accent-hover); letter-spacing: 0.02em; }
body.plo-skin .front label { font-size: 11px; color: #dfdfdf; }
body.plo-skin .front input, body.plo-skin .front select { font: 12px var(--p-font); color: var(--p-text); background: var(--p-input); border: 1px solid var(--p-border); border-radius: 0; padding: 6px 8px; }
body.plo-skin .front input:focus { outline: none; border-color: var(--p-accent); }
body.plo-skin .front button { font: 500 12px var(--p-font); color: #fff; background: none; border: 7px solid transparent; border-image: url(/plo/img/web/btn_n.png) 7 fill / 7px stretch; border-radius: 0; min-height: 30px; padding: 2px 12px; box-shadow: none; text-shadow: 0 1px 0 #000; }
body.plo-skin .front button:hover { border-image-source: url(/plo/img/web/btn_h.png); }
body.plo-skin .front button:active { border-image-source: url(/plo/img/web/btn_p.png); }
body.plo-skin .front button.primary { border: 1px solid var(--p-accent-press); border-image: none; background: var(--p-accent); color: var(--p-on-accent); font: 700 16px/1 var(--p-title); text-transform: none; min-width: 150px; min-height: 34px; text-shadow: none; }
body.plo-skin .front button.primary:hover { background: var(--p-accent-hover); }
body.plo-skin .front .error { color: var(--p-danger); }
body.plo-skin .front .note { color: var(--p-text-2); }
body.plo-skin .front .features li { color: var(--p-text-list); }
body.plo-skin .front .features li::marker { color: var(--p-accent); }
body.plo-skin .front .top-list li { color: var(--p-text-list); }
/* characterlist: SelectableRow rows */
body.plo-skin .front .chars .char { background: var(--p-surface-1); border: 1px solid var(--p-border-subtle); border-radius: 0; }
body.plo-skin .front .chars .char:hover { background: var(--p-hover-tint); }
body.plo-skin .front .vocs button[aria-pressed="true"], body.plo-skin .front .vocs .on { border-image-source: url(/plo/img/web/btn_p.png); color: var(--p-accent-hover); }
body.plo-skin .front details summary { color: var(--p-text-2); }

/* game_deathlist */
.dl-win .plo-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--p-divider); }
.dl-stats b { color: var(--p-gold); }
.dl-row { display: grid; grid-template-columns: 80px 34px minmax(90px, 1fr) 44px 74px 34px minmax(140px, 2fr); align-items: center; gap: 4px; min-height: 34px; padding: 0 4px; font-size: 11px; }
.dl-win .dl-head { min-height: 20px; color: var(--p-text-2); border-bottom: 1px solid var(--p-divider); }
.dl-list { max-height: 52vh; overflow: auto; }
.dl-list .dl-row:nth-child(even) { background: #ffffff0a; }
.dl-list .dl-row:hover { background: var(--p-hover-tint); }
.dl-when { color: var(--p-text-muted); }
.dl-name { color: var(--p-text-strong); text-decoration: none; font-weight: 600; }
.dl-name:hover { color: var(--p-accent-hover); }
.dl-skull { color: var(--p-danger); font-size: 10px; }
.dl-killer { display: flex; flex-wrap: wrap; gap: 0 4px; align-items: baseline; }
.dl-pre { color: var(--p-text-muted); }
.dl-pk { color: #ff8a7a; }
.dl-others { flex-basis: 100%; color: var(--p-text-faint); }
.dl-pager { justify-content: center; }

/* ---------------- the right column after the PLO client (game_minimap, game_playerstats) ---------------- */
body.plo-skin #screen-game .gw-side { top: 8px; width: 335px; align-items: flex-end; }
body.plo-skin #screen-game .gw-side > .sw-mini { width: 320px; }
body.plo-skin #screen-game .sw-mini { height: auto; grid-template-columns: 1fr; grid-template-rows: 166px auto; border-width: 4px; }
body.plo-skin #screen-game .sw-mini canvas { height: 166px; width: 100%; }
body.plo-skin #screen-game .mm-btns { flex-direction: row; justify-content: flex-end; gap: 1px; }
body.plo-skin #screen-game .mm-btns .ico { width: 18px; height: 18px; border-width: 3px; }
body.plo-skin #screen-game .mm-btns .ico svg { width: 10px; height: 10px; }
body.plo-skin #screen-game .sw-mini .place { display: none; }
body.plo-skin #screen-game .sw-inv { display: none; }
body.plo-skin #screen-game .gw-stack { width: 192px; flex: 1 1 auto; }
body.plo-skin #screen-game .gw-stack > .mw { width: 192px; }

.plo-ps { position: relative; flex: none; width: 331px; height: 335px; background: no-repeat 0 0 / 331px 313px; pointer-events: auto; font: 11px Verdana, var(--p-font); color: #fff; text-shadow: 0 1px 1px #000; }
body.plo-skin.plo-noinv .plo-ps { display: none; }
.ps-page { position: absolute; inset: 0 0 18px 0; }
.ps-left { position: absolute; left: 6px; top: 140px; width: 120px; display: flex; flex-direction: column; gap: 1px; }
.ps-nick { font: 700 15px/22px var(--p-title); text-align: center; }
.ps-r { display: flex; justify-content: space-between; gap: 4px; height: 15px; align-items: center; }
.ps-r span { color: #dfdfdf; } .ps-r b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-r.g b { color: #7ed957; } .ps-r.r b { color: #ff6464; }
.ps-gap { margin-top: 5px; }
.ps-info { position: absolute; left: 144px; top: 67px; width: 154px; display: flex; flex-direction: column; gap: 1px; }
.ps-controls { position: absolute; left: 6px; top: 160px; width: 124px; display: grid; grid-template-columns: repeat(3, 32px); gap: 8px; }
body.plo-skin .game.classic .ps-tile { width: 32px; height: 32px; min-height: 0; padding: 0; border: 0; border-image: none; background: center / 32px 32px no-repeat; }
body.plo-skin .game.classic .ps-tile:hover:not(:disabled) { border-image: none; filter: brightness(1.25); }
#ps-chase { background-image: url(/plo/img/optionstab/followoff.png) !important; } #ps-chase.on { background-image: url(/plo/img/optionstab/follow.png) !important; }
#ps-pvp { background-image: url(/plo/img/optionstab/pvpoff.png) !important; } #ps-pvp.on { background-image: url(/plo/img/optionstab/pvp.png) !important; }
#ps-hotkeys { background-image: url(/plo/img/optionstab/hotkeys.png) !important; }
#ps-relics { background-image: url(/plo/img/optionstab/relic.png) !important; }
#ps-cores { background-image: url(/plo/img/optionstab/mafuba.png) !important; }
#ps-autoloot { background-image: url(/plo/img/optionstab/autoloot.png) !important; }
/* equipPanel: 118 x 178 at 158, 52; 34 px slots 3 px apart, the middle column head-body-legs-feet */
.ps-equippanel { position: absolute; left: 158px; top: 52px; width: 118px; height: 178px; }
body.plo-skin #screen-game .ps-equippanel .equip { display: block; position: absolute; inset: 0; background: none; border: 0; padding: 0; }
body.plo-skin #screen-game .ps-equippanel .equip > * { position: absolute; width: 34px; height: 34px; margin: 0; }
.ps-equippanel .equip > :nth-child(1) { left: 4px; top: 18px; }   /* necklace */
.ps-equippanel .equip > :nth-child(2) { left: 42px; top: 5px; }   /* head */
.ps-equippanel .equip > :nth-child(3) { left: 80px; top: 7px; }   /* backpack */
.ps-equippanel .equip > :nth-child(4) { left: 80px; top: 44px; }  /* weapon = slot5 = PLO RightSlot (right column) */
.ps-equippanel .equip > :nth-child(5) { left: 42px; top: 42px; }  /* body */
.ps-equippanel .equip > :nth-child(6) { left: 4px; top: 55px; }   /* shield = slot6 = PLO LeftSlot (left column) */
.ps-equippanel .equip > :nth-child(7) { left: 4px; top: 92px; }   /* ring */
.ps-equippanel .equip > :nth-child(8) { left: 42px; top: 79px; }  /* legs */
.ps-equippanel .equip > :nth-child(9) { left: 80px; top: 81px; }  /* dist = slot11 (the ki attacker), under slot5 */
.ps-equippanel .equip > :nth-child(13) { display: none; }          /* ammo (slot10): hidden in PLO, the power core lives there */
.ps-equippanel .equip > :nth-child(10) { left: 4px; top: 129px; height: 20px !important; } /* soul */
.ps-equippanel .equip > :nth-child(11) { left: 42px; top: 116px; } /* feet */
.ps-equippanel .equip > :nth-child(12) { left: 4px; top: 129px; height: 20px !important; } /* cap */
.ps-equippanel .equip > :nth-child(10) { display: none; }
body.plo-skin #screen-game .ps-equippanel .equip .stat { display: flex; align-items: center; justify-content: center; background: url(/plo/img/game/slots/soulcap.png) center / 100% 100% no-repeat; font: 700 11px Verdana; }
body.plo-skin #screen-game .ps-equippanel .equip .stat span { display: none; }
body.plo-skin #screen-game .ps-equippanel .slot { background: url(/plo/img/game/actionbarslot.png) center / 100% 100% no-repeat; }
body.plo-skin .game.classic .ps-pouch { position: absolute; left: 80px; top: 118px; width: 34px; height: 34px; min-height: 0; padding: 0; border: 1px solid #ffffff14; border-image: none; background: #00000040 url(/plo/img/game/slots/pouch.png) center / 32px 32px no-repeat; }
body.plo-skin .game.classic .ps-pouch:hover:not(:disabled) { border-color: var(--p-accent); background-color: #f0902e22; border-image: none; }
.ps-skilllist { position: absolute; left: 144px; top: 60px; width: 170px; max-height: 190px; overflow: auto; font-size: 11px; }
.ps-skilllist .pbar { height: 5px; }
/* the tabs: playerstats_inactive_tab 53 x 16 / playerstats_active_tab 77 x 37 with their icon strips */
.ps-tabs { position: absolute; left: 118px; bottom: 0; display: flex; align-items: flex-end; }
body.plo-skin .game.classic .ps-tab { position: relative; width: 53px; height: 16px; min-height: 0; padding: 0; margin: 0; border: 0; border-image: none; cursor: pointer; background: url(/plo/img/ui/playerstats_inactive_tab.png) no-repeat; }
body.plo-skin .game.classic .ps-tab::before { content: ''; position: absolute; left: 19px; bottom: 1px; width: 15px; height: 15px; background: url(/plo/img/ui/playerstats_inactive_tab_icons.png) calc(var(--i) * -15px) 0 no-repeat; }
body.plo-skin .game.classic .ps-tab:hover:not(:disabled) { border-image: none; background: url(/plo/img/ui/playerstats_inactive_tab.png) no-repeat; filter: brightness(1.2); }
body.plo-skin .game.classic .ps-tab.on, body.plo-skin .game.classic .ps-tab.on:hover:not(:disabled) { width: 77px; height: 37px; margin: 0 -12px; z-index: 1; background: url(/plo/img/ui/playerstats_active_tab.png) no-repeat; }
body.plo-skin .game.classic .ps-tab.on::before { left: 26px; bottom: 8px; width: 25px; height: 25px; background: url(/plo/img/ui/playerstats_active_tab_icons.png) calc(var(--i) * -25px) 0 no-repeat; }

/* client_background: the video behind the log in and the characters (hidden in the game) */
#plo-bgvideo { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: -1; pointer-events: none; }
body.in-game #plo-bgvideo, body.in-game .plo-version { display: none; }
.plo-version { position: fixed; right: 0; bottom: 0; padding: 4px 10px; background: #000c; color: #fff; font: 11px Verdana, monospace; z-index: 1; }
body.plo-skin:not(.in-game) { background: #0b0812 url(/plo/img/web/background.jpg) center / cover fixed; }
/* client_entergame: the log in is a 220 px column on the left (logo, account, password, Log In,
   Create Account, Account Recovery; Settings / Close at the bottom) */
body.plo-skin #screen-login { position: fixed; left: 0; top: 0; bottom: 0; width: 220px; max-width: none; margin: 0; padding: 16px 16px 12px; gap: 6px;
  background: #1c1626f2; border-right: 1px solid #000; box-shadow: 2px 0 12px #0008; overflow: auto; }
body.plo-skin #screen-login header h1 { width: 188px; height: 120px; margin: 0 auto 6px; }
body.plo-skin #screen-login header p { font-size: 10px; }
body.plo-skin #screen-login .grid { display: flex; flex-direction: column; gap: 10px; }
body.plo-skin #screen-login .grid > .panel:nth-child(2) { display: none; }
body.plo-skin #screen-login .panel { border-image: none; box-shadow: none; padding: 0; background: none; }
body.plo-skin #screen-login .panel > h2:first-child { display: none; }
body.plo-skin #screen-login label { font: 700 11px Verdana, var(--p-font); color: #dfdfdf; display: flex; flex-direction: column; gap: 3px; }
body.plo-skin #screen-login input { background: #5a4a80; border: 1px solid #00000077; color: #fff; padding: 4px 6px; }
body.plo-skin #screen-login .row { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; }
body.plo-skin #screen-login button.primary { align-self: center; min-width: 150px; background: #3a3054; color: #fff; border: 1px solid var(--p-accent); font: 600 16px/1 var(--p-title); }
body.plo-skin #screen-login button.primary:hover { background: var(--p-hover-tint); }
body.plo-skin #screen-login button:not(.primary) { align-self: center; width: 150px; }
/* the character list: "Power Level Online" window, the account menu on the left, the rows with the
   portrait, name (level), vocation; CREATE CHARACTER / ENTER GAME */
body.plo-skin #screen-chars, body.plo-skin #screen-register { max-width: 880px; padding-top: 14vh; }
body.plo-skin #screen-chars header h1, body.plo-skin #screen-register header h1 { display: none; }
body.plo-skin #screen-chars header p, body.plo-skin #screen-register header p { color: #fff; background: #1c1626e0; padding: 6px 12px; border-left: 4px solid var(--p-accent); align-self: stretch; text-align: left; }
body.plo-skin #screen-chars .grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; }
body.plo-skin #screen-chars .chars { display: flex; flex-direction: column; gap: 4px; max-height: 330px; overflow: auto; }
body.plo-skin #screen-chars .chars .char { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; background: #ffffff08; border: 1px solid transparent; }
body.plo-skin #screen-chars .chars .char:hover { background: #5a4a80; border-color: var(--p-accent); }
body.plo-skin #screen-chars .chars .char strong { color: #fff; font: 700 13px var(--p-font); }
body.plo-skin #screen-chars .chars .char span { color: var(--p-text-2); font-size: 11px; }
.plo-portrait { width: 44px; height: 44px; object-fit: cover; border: 1px solid #00000077; background: #0006; }
body.plo-skin #screen-chars .chars .char button.primary { min-width: 0; min-height: 28px; padding: 2px 14px; font: 700 14px var(--p-title); background: #3a3054; color: #fff; border: 1px solid var(--p-accent); }
body.plo-skin #screen-chars .chars .char button.primary:hover { background: var(--p-accent); color: var(--p-on-accent); }
body.plo-skin #screen-chars .vocs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-height: 260px; overflow: auto; }
body.plo-skin #screen-chars .vocs .voc { display: flex; gap: 6px; align-items: center; text-align: left; font-size: 11px; }
body.plo-skin #screen-chars .vocs .voc div { overflow: hidden; max-height: 3.6em; }

/* game_console: 500 x 170 over the action bar, small tabs, the input line under the log */
body.plo-skin #screen-game .gw-console .tabs > button { font: 600 10px Verdana, var(--p-font); padding: 0 6px 2px; border-width: 5px 5px 0; }
body.plo-skin #screen-game .gw-console .tabs-tools { margin-left: auto; display: flex; gap: 1px; }
body.plo-skin #screen-game .gw-console .tabs-tools button { font-size: 10px; padding: 0 4px; border-width: 3px; }
body.plo-skin #screen-game .gw-console #logs { background: #1c1626cc; border: 1px solid #00000099; }
body.plo-skin #screen-game .gw-console form { background: #1c1626ee; }
body.plo-skin #screen-game .gw-console form select { font-size: 10px; padding: 1px 2px; }
body.plo-skin #screen-game .gw-console form .note { display: none; }

/* ---------------- the PLO module windows on the 00-theme primitives ----------------
   WindowBackdrop #1c1626 under the window head; GhostButton / ToggleButton (on = orange) / PrimaryButton;
   SelectableRow #5a4a80; SectionTitle Rajdhani orange; Caption #8a8a92 */
body.plo-skin .game.classic .window.dlg.plo-win { background: linear-gradient(#0000 27px, #1c1626 27px) padding-box; border-image-source: url(/plo/img/ui/window.png); }
body.plo-skin .game.classic .plo-win .plo-body button, body.plo-skin .game.classic .plo-win .plo-body .plo-entry {
  border: 1px solid #ffffff22; border-image: none; background: #ffffff0c; color: #d6d6dc; font: 12px var(--p-font); min-height: 24px; padding: 3px 10px; text-shadow: none; border-radius: 0;
}
body.plo-skin .game.classic .plo-win .plo-body button:hover:not(:disabled), body.plo-skin .game.classic .plo-win .plo-body .plo-entry:hover { background: #ffffff1a; border-color: var(--p-accent); color: #fff; border-image: none; }
body.plo-skin .game.classic .plo-win .plo-body button:active:not(:disabled) { background: #00000040; }
body.plo-skin .game.classic .plo-win .plo-body button:disabled { color: #777; border-color: #555; opacity: 1; }
body.plo-skin .game.classic .plo-win .plo-body button.on, body.plo-skin .game.classic .plo-win .plo-body button[aria-selected="true"] { background: var(--p-accent) !important; border-color: var(--p-accent) !important; color: #302840 !important; font-weight: 600; }
body.plo-skin .game.classic .plo-win .plo-body button.primary { background: var(--p-accent); border-color: var(--p-accent); color: #141417; font: 600 14px var(--p-title); }
body.plo-skin .game.classic .plo-win .plo-body button.primary:hover:not(:disabled) { background: var(--p-accent-hover); }
body.plo-skin .game.classic .plo-win .plo-body button.danger { color: #f0a8a4; border-color: #c14540; background: #00000040; }
body.plo-skin .game.classic .plo-win .plo-body .plo-entry { min-height: 40px; background: #ffffff05; border-color: transparent; }
body.plo-skin .game.classic .plo-win .plo-body .plo-entry:nth-child(even) { background: #ffffff0a; }
body.plo-skin .game.classic .plo-win .plo-body .plo-entry.sel, body.plo-skin .game.classic .plo-win .plo-body .plo-entry.on { background: #5a4a80 !important; border-color: transparent; border-left: 3px solid var(--p-accent); outline: 0; }
body.plo-skin .game.classic .plo-win .plo-body .plo-entry.on b::after { content: none; }
body.plo-skin .plo-win .plo-body h4, body.plo-skin .plo-win .plo-body h5 { font: 600 15px/1.2 var(--p-title); color: var(--p-accent); margin: 4px 0 2px; text-transform: none; }
body.plo-skin .plo-win .plo-body .note, body.plo-skin .plo-win .plo-body small { color: #8a8a92; }
body.plo-skin .plo-win .plo-body input:not([type=checkbox]), body.plo-skin .plo-win .plo-body select { background: #00000059; border: 1px solid #ffffff1a; }
body.plo-skin .plo-win .plo-cols { gap: 0; border: 1px solid #ffffff12; }
body.plo-skin .plo-win .plo-list { background: #00000026; padding: 2px; gap: 1px; border-right: 1px solid #ffffff12; }
body.plo-skin .plo-win .plo-info { padding: 8px 10px; }
/* the window foot: Refresh (primary) + Close, bottom-right, like every PLO window */
.plo-foot { display: flex; justify-content: flex-end; gap: 6px; padding-top: 6px; border-top: 1px solid #ffffff14; margin-top: 4px; }

/* game_highscores */
.hs-win { width: min(860px, calc(100vw - 16px)) !important; }
.hs-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 10px; min-height: 0; }
.hs-cats { display: flex; flex-direction: column; gap: 2px; }
body.plo-skin .game.classic .plo-win .plo-body .hs-cat { text-align: left; border-color: transparent; background: #ffffff08; min-height: 28px; }
.hs-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hs-search { width: 100%; }
.hs-bar { gap: 8px; } .hs-total { margin-left: auto; color: #8a8a92; }
.hs-on { display: flex; align-items: center; }
.hs-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 6px; align-items: end; }
.hs-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; background: #ffffff08; border: 1px solid #ffffff12; cursor: pointer; text-align: center; }
.hs-pod:hover { border-color: var(--p-accent); }
.hs-pod.p1 { border-color: #ffcc44; background: #ffcc440f; padding-top: 12px; }
.hs-pk { position: absolute; left: 4px; top: 2px; font: 700 12px var(--p-title); color: #fff; }
.hs-pod.p1 .hs-pk { left: 50%; transform: translateX(-50%); top: -2px; color: #ffcc44; }
.hs-pod b { color: #fff; font-size: 12px; } .hs-pod small { color: #8a8a92; font-size: 10px; }
.hs-val, .hs-v { color: #ffcc44; font-weight: 700; }
.plo-av { object-fit: cover; border: 1px solid #00000077; background: #0005; flex: none; }
.hs-row { display: grid; grid-template-columns: 40px 28px 1.4fr 1fr 70px 90px; align-items: center; gap: 6px; min-height: 28px; padding: 0 6px; font-size: 11px; cursor: pointer; }
.hs-head { min-height: 20px; color: #e09038; font-weight: 600; cursor: default; border-bottom: 1px solid #ffffff14; }
.hs-list { max-height: 40vh; overflow: auto; }
.hs-list .hs-row:nth-child(odd) { background: #ffffff05; } .hs-list .hs-row:nth-child(even) { background: #ffffff0a; }
.hs-list .hs-row:hover { background: #453a66; } .hs-list .hs-row.me { background: #5a4a80; }
.hs-nm { color: #fff; } .hs-nm.online::after { content: ' ●'; color: #7ed957; font-size: 9px; }
.hs-vc, .hs-rk { color: #9a9aa2; }
.hs-low { gap: 8px; } .hs-my { color: #ffcc44; } .hs-pager { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* game_house: House Manager */
.ho-win { width: min(760px, calc(100vw - 16px)) !important; }
.ho-top { justify-content: space-between; } .ho-mine { color: #e09038; } .ho-mine.link { cursor: pointer; text-decoration: underline; }
.ho-filters input { flex: 1 1 200px; }
.ho-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px; font-size: 12px; cursor: pointer; border-left: 3px solid transparent; }
.ho-head { min-height: 22px; color: #9a9aa2; cursor: default; border-bottom: 1px solid #ffffff14; }
.ho-list { max-height: 50vh; min-height: 200px; overflow: auto; background: #00000026; }
.ho-list .ho-row:nth-child(odd) { background: #ffffff05; } .ho-list .ho-row:nth-child(even) { background: #ffffff0a; }
.ho-list .ho-row:hover { background: #453a66; border-left-color: #e09038; } .ho-list .ho-row.mine { background: #5a4a80; border-left-color: #e09038; }
.ho-name { display: flex; flex-direction: column; } .ho-name b { color: #fff; } .ho-name small { color: #8a8a92; font-size: 10px; }
.ho-town { justify-self: start; padding: 1px 8px; background: #ffffff12; border: 1px solid #ffffff1a; font-size: 11px; }
.ho-price { color: #ffcc44; font-weight: 700; }
.ho-status { display: flex; flex-direction: column; align-items: flex-end; } .ho-status small { color: #8a8a92; font-size: 10px; }
.ho-status i { font-style: normal; padding: 1px 8px; font-size: 11px; } .ho-status i.free { background: #7ed95722; color: #7ed957; } .ho-status i.owned { background: #ffffff12; color: #d6d6dc; }
.ho-detail .plo-info { max-height: none; }

/* game_teleports */
.tp-win { width: 450px !important; }
.tp-head { text-align: center; color: #e09038; font-size: 11px; padding: 8px; background: #00000033; border: 1px solid #ffffff12; }
.tp-list { max-height: 260px; overflow: auto; display: flex; flex-direction: column; gap: 3px; padding: 4px; background: #00000026; border: 1px solid #ffffff12; }
.tp-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; background: #1c1626; border: 1px solid #ffffff12; cursor: pointer; font-size: 11px; }
.tp-row:hover { border-color: #e09038; } .tp-row.on { background: #2b3550; border-color: #ffffff33; }
.tp-row span { display: flex; flex-direction: column; } .tp-row b { color: #fff; font-weight: 400; } .tp-row small { color: #d6d6dc; }
.tp-ico { width: 32px; height: 26px; object-fit: cover; border: 1px solid #00000077; }
.tp-foot { justify-content: center; gap: 30px; padding: 6px; }
body.plo-skin .game.classic .plo-win .plo-body .tp-foot button { min-width: 140px; border-color: #c87a28; }

/* game_encyclopedia: the category column is a plain list, the rows have the creature picture */
body.plo-skin .game.classic .plo-win .plo-body .enc-cats button, body.plo-skin .game.classic .plo-win .plo-body .enc-cat { border-color: transparent; background: none; text-align: left; min-height: 20px; padding: 2px 6px; font-size: 11px; }
body.plo-skin .game.classic .plo-win .plo-body .enc-cats button.on, body.plo-skin .game.classic .plo-win .plo-body .enc-cat.on { background: #5a4a80 !important; color: #fff !important; border-color: transparent !important; }

/* game_spelllist: Techniques */
.sp-win { width: min(700px, calc(100vw - 16px)) !important; }
.sp-banner { height: 72px; margin: -9px -16px 4px; background: url(/plo/img/ui/techniques_background.png) center -14px / 100% auto no-repeat; border-bottom: 2px solid #e09038; }
.sp-cols { display: grid; grid-template-columns: 230px 1fr; gap: 8px; min-height: 0; }
.sp-left { display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.sp-list { height: 300px; overflow: auto; background: #00000026; border: 1px solid #ffffff12; }
.sp-row { display: flex; align-items: center; gap: 6px; padding: 2px 4px; min-height: 34px; cursor: pointer; font-size: 11px; }
.sp-row:nth-child(odd) { background: #ffffff05; } .sp-row:nth-child(even) { background: #ffffff0a; }
.sp-row:hover { background: #453a66; } .sp-row.on { background: #5a4a80; }
.sp-row .plo-thumb { width: 28px; height: 28px; } .sp-row span { display: flex; flex-direction: column; } .sp-row b { color: #fff; } .sp-row small { color: #8a8a92; }
.sp-row.locked { opacity: .55; }
.sp-tip { font-size: 10px; color: #6f6f78; }
.sp-right { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sp-filters { gap: 3px; } .sp-avail { margin-left: auto; display: flex; align-items: center; font-size: 11px; }
.sp-info { max-height: 340px !important; padding: 0 !important; }
.sp-head { display: flex; align-items: center; gap: 8px; } .sp-head .plo-thumb { width: 36px; height: 36px; }
.sp-head > div.grow { display: flex; flex-direction: column; } .sp-name { font: 600 18px var(--p-title); color: #fff; } .sp-head small { color: #8a8a92; }
.sp-box { display: flex; flex-direction: column; align-items: center; min-width: 60px; padding: 2px 6px; background: #ffffff08; border: 1px solid #ffffff12; }
.sp-box small { color: #9a9aa2; font-size: 10px; } .sp-box b { color: #fff; font-size: 12px; }
.sp-say { display: flex; align-items: center; justify-content: space-between; padding: 3px 3px 3px 8px; background: #00000059; border: 1px solid #ffffff1a; color: #e09038; font-size: 11px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; } .sp-grid .sp-box { align-items: flex-start; }
.sp-desc { font-size: 11px; color: #d6d6dc; line-height: 1.4; }
.sp-foot { align-items: center; } .sp-pts { margin-right: auto; margin-left: auto; color: #fff; }

/* game_missions: Mission Manager */
.plo-win.plo-embedded { display: none !important; }
.mm-win { width: min(760px, calc(100vw - 16px)) !important; }
.mm-tabs { display: flex; gap: 3px; margin-bottom: 6px; }
body.plo-skin .game.classic .plo-win .plo-body .mm-tabs button { min-width: 70px; }
body.plo-skin .game.classic .plo-win .plo-body .mm-tabs .mm-tp { margin-left: auto; border-color: #c87a28; }
.mm-page > .plo-body > .plo-row:first-child { display: none; }
.mm-page > .plo-body { gap: 6px; }
.mm-cols { display: grid; grid-template-columns: 230px 1fr; gap: 10px; }
.mm-left { display: flex; flex-direction: column; gap: 4px; }
.mm-list { height: 300px; overflow: auto; background: #00000026; border: 1px solid #ffffff12; }
.mm-row { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 2px 4px; cursor: pointer; font-size: 11px; }
.mm-row:nth-child(odd) { background: #ffffff05; } .mm-row:nth-child(even) { background: #ffffff0a; }
.mm-row:hover { background: #453a66; } .mm-row.on { background: #5a4a80; }
.mm-row span { display: flex; flex-direction: column; } .mm-row b { color: #fff; } .mm-row small { color: #9a9aa2; }
.mm-row.cur b { color: #e09038; } .mm-row.lock { opacity: .6; } .mm-row.done b::after { content: ' ✓'; color: #7ed957; }
.mm-ico { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.mm-sagaico { width: 34px; height: 34px; background: center / 100% 100% no-repeat; display: grid; place-items: center; flex: none; }
.mm-chk { display: flex; align-items: center; font-size: 11px; }
.mm-right { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mm-title { display: flex; justify-content: flex-end; font: 600 18px var(--p-title); color: #e09038; }
.mm-mission { font: 600 18px var(--p-title); color: #fff; }
.mm-card { background: #ffffff08; border: 1px solid #ffffff12; padding: 6px 8px; }
.mm-card-h { text-align: center; color: #e09038; font-size: 11px; text-transform: uppercase; margin-bottom: 4px; }
.mm-cardrow { display: flex; align-items: center; gap: 8px; }
.mm-kv { display: flex; gap: 6px; font-size: 11px; } .mm-kv span { color: #9a9aa2; } .mm-kv b { color: #fff; font-weight: 600; }
.mm-txt { font-size: 11px; color: #d6d6dc; margin: 0; line-height: 1.4; }
.mm-next { color: #e09038; font-size: 11px; }
.mm-prog { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mm-note { margin-right: auto; color: #8a8a92; font-size: 11px; align-self: center; }

/* game_relics: Relic Container */
.rl-win { width: min(640px, calc(100vw - 16px)) !important; }
.rl-top, .rl-mid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; }
.rl-box { background: #ffffff08; border: 1px solid #ffffff12; padding: 6px 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rl-h { display: flex; align-items: center; gap: 8px; } .rl-h b { color: #e09038; font: 600 13px var(--p-title); } .rl-h > span { color: #9a9aa2; font-size: 11px; }
.rl-pbtns { margin-left: auto; display: flex; gap: 3px; } body.plo-skin .game.classic .plo-win .plo-body .rl-pbtns button { min-width: 24px; padding: 2px 6px; }
.rl-slots { display: flex; gap: 8px; }
.rl-slot { position: relative; width: 36px; height: 36px; display: grid; place-items: center; background: #00000040 url(/plo/img/game/actionbarslot.png) center / 100% 100%; cursor: pointer; }
.rl-slot.locked { background-image: url(/plo/img/lock.png), url(/plo/img/game/actionbarslot.png); background-size: 18px, 100% 100%; background-repeat: no-repeat; background-position: center; }
.rl-slot small { position: absolute; bottom: -12px; left: 0; right: 0; text-align: center; font-size: 9px; color: #9a9aa2; }
.rl-mid { grid-template-columns: 1.6fr 1fr; } .rl-mid .plo-row input { flex: 1; }
.rl-info { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; } .rl-cnt { color: #9a9aa2; white-space: nowrap; }
.rl-grid { display: grid; grid-template-columns: repeat(auto-fill, 34px); gap: 3px; max-height: 150px; overflow: auto; padding: 2px; background: #00000026; min-height: 110px; align-content: start; }
.rl-cell { width: 34px; height: 34px; display: grid; place-items: center; background: #ffffff0c; border: 1px solid transparent; cursor: pointer; }
.rl-cell:hover { border-color: #e09038; } .rl-cell.sel { border-color: #e09038; background: #5a4a80; } .rl-cell.eq { box-shadow: inset 0 0 0 1px #7ed957; }
.rl-bp { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.rl-det { justify-content: flex-start; } .rl-empty { margin: auto; text-align: center; } .rl-name { color: #fff; } .rl-eff { font-size: 11px; color: #d6d6dc; line-height: 1.4; margin: 0; }

/* game_kiattacker */
.ka-win { width: 470px !important; }
.ka-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ka-card { border: 1px solid #ffffff1a; background: #ffffff08; padding: 4px 6px; display: flex; flex-direction: column; gap: 4px; }
.ka-ch { display: flex; justify-content: space-between; font-size: 11px; } .ka-ch b { color: var(--kc); font-weight: 600; } .ka-ch span { color: #9a9aa2; }
.ka-ico { height: 46px; display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle, color-mix(in srgb, var(--kc) 35%, transparent), transparent 70%); }
.ka-cf { display: flex; justify-content: flex-end; font-size: 11px; color: var(--kc); border-top: 1px solid #ffffff12; padding-top: 2px; }
.ka-card.locked { opacity: .5; }
.ka-mid { display: grid; grid-template-columns: 1fr 110px 1fr; gap: 6px; align-items: start; }
.ka-box { background: #ffffff08; border: 1px solid #ffffff12; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.ka-h { color: #e09038; font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; }
.ka-st { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #d6d6dc; } .ka-st i { width: 6px; height: 6px; } .ka-st b { margin-left: auto; color: #fff; font-weight: 600; }
.ka-wpn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: 11px; }
.ka-wi { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #e09038; background: #c1454055; }
.ka-wpn b { color: #fff; } .ka-wpn small { font-size: 9px; }
.ka-skinbox { height: 30px; display: grid; place-items: center; background: #00000040; border: 1px solid #ffffff12; color: #e09038; font-size: 11px; }
.ka-skinnav { font-size: 11px; text-align: center; } body.plo-skin .game.classic .plo-win .plo-body .ka-skinnav button { padding: 0 6px; min-height: 20px; }
.ka-low { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; }
.ka-inv { display: flex; gap: 4px; flex-wrap: wrap; } .ka-cell { width: 34px; height: 34px; display: grid; place-items: center; background: #ffffff0c; border: 1px solid #ffffff1a; cursor: pointer; }
.ka-cell.empty { background: #00000040 url(/plo/img/lock.png) center / 14px no-repeat; cursor: default; } .ka-cell:hover:not(.empty) { border-color: #e09038; }
.ka-pts { color: #9a9aa2; font-weight: 400; }
.ka-note { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 4px; } .ka-note small { font-size: 10px; }

/* game_autoloot */
.al-win { width: 340px !important; }
.al-head { display: flex; align-items: center; gap: 6px; } .al-head b { color: #e09038; font: 600 13px var(--p-title); margin-right: auto; }
.al-slots { color: #4a8cff; font-size: 10px; font-weight: 700; }
body.plo-skin .game.classic .plo-win .plo-body .al-head button { min-height: 20px; padding: 0 8px; font-size: 11px; }
.al-list { height: 200px; overflow: auto; background: #00000026; border: 1px solid #ffffff12; padding: 2px; display: flex; flex-direction: column; gap: 2px; }
.al-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; background: #ffffff08; cursor: pointer; }
.al-row:hover { background: #453a66; } .al-row.on { background: #5a4a80; }
.al-ic { width: 32px; height: 32px; display: grid; place-items: center; background: #00000040; color: #ffcc44; font-weight: 700; }
.al-row span { flex: 1; display: flex; flex-direction: column; } .al-row b { color: #fff; font-size: 11px; } .al-row small { color: #9a9aa2; font-size: 9px; }
body.plo-skin .game.classic .plo-win .plo-body .al-tg { background: #2f8a3a !important; border-color: #2f8a3a !important; color: #fff !important; min-width: 44px; font-weight: 700; }
body.plo-skin .game.classic .plo-win .plo-body .al-tg.off { background: #6a2a2a !important; border-color: #6a2a2a !important; }
.al-pet { display: flex; align-items: center; justify-content: center; gap: 10px; }
.al-petbox { width: 120px; display: flex; flex-direction: column; align-items: center; background: #00000040; border: 1px solid #ffffff12; padding: 4px; }
.al-petbox b { color: #fff; font-size: 11px; } .al-pic { position: relative; } .al-lock { position: absolute; right: -6px; top: 4px; width: 12px; height: 12px; background: url(/plo/img/lock.png) center / contain no-repeat; }
.al-state { color: #9a9aa2; font-size: 10px; letter-spacing: .04em; }
.al-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.al-res { max-height: 120px; overflow: auto; }

/* game_powercores */
.pc-win { width: 520px !important; }
.pc-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6px; }
.pc-box { background: #ffffff08; border: 1px solid #ffffff12; padding: 8px; display: flex; flex-direction: column; gap: 4px; position: relative; min-height: 150px; }
.pc-h { display: flex; justify-content: space-between; color: #e09038; font-size: 11px; font-weight: 600; } .pc-h span { color: #fff; }
.pc-grid { display: grid; grid-template-columns: repeat(5, 34px); gap: 3px; justify-content: center; margin-top: 6px; }
.pc-cell { width: 34px; height: 34px; display: grid; place-items: center; background: #ffffff10; border: 1px solid #00000066; } .pc-cell.on { background: #ffffff20; cursor: pointer; }
.pc-q { position: absolute; right: 8px; bottom: 6px; color: #9a9aa2; }
.pc-b { color: #fff; font-size: 11px; }

/* game_dailyboss */

/* game_shop: the WoNO Shops chooser and the shop */
.shc-win { width: 440px !important; }
.shc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
body.plo-skin .game.classic .plo-win .plo-body .shc-card { height: 220px; background-color: #ffffff08; background-position: center; background-size: 90% auto; background-repeat: no-repeat; border: 1px solid #ffffff12; }
body.plo-skin .game.classic .plo-win .plo-body .shc-card:hover { border-color: #e09038; background-color: #ffffff12; }
.shc-mk { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
body.plo-skin .game.classic .plo-win .plo-body .shc-m { display: flex; align-items: center; gap: 6px; justify-content: flex-start; font-size: 11px; }
.shc-m i { width: 18px; height: 18px; background: center / contain no-repeat; }
.sh-win { width: min(820px, calc(100vw - 16px)) !important; }
.sh-head { display: flex; align-items: center; gap: 10px; } .sh-title { font: 600 20px var(--p-title); color: #fff; border-left: 4px solid #e09038; padding-left: 8px; margin-right: auto; }
.sh-pts { display: flex; flex-direction: column; padding: 2px 10px; background: #00000040; border: 1px solid #ffffff12; } .sh-pts small { color: #9a9aa2; font-size: 9px; } .sh-pts b { color: #7ed957; font: 600 16px var(--p-title); }
.sh-top { gap: 6px; } .sh-catt { font: 600 18px var(--p-title); color: #e09038; margin-right: auto; }
.sh-top > button { display: none; }
.sh-cath { color: #9a9aa2; font-size: 10px; padding: 2px 4px; }
body.plo-skin .game.classic .plo-win .plo-body .sh-cat { display: flex; align-items: center; gap: 6px; text-align: left; min-height: 22px; padding: 2px 6px; font-size: 11px; background: #ffffff08; border-color: #ffffff12; }
body.plo-skin .game.classic .plo-win .plo-body .sh-cat::before { content: ''; width: 16px; height: 16px; background: var(--ic) center / contain no-repeat; }
body.plo-skin .game.classic .plo-win .plo-body .sh-cat.on { background: #5a4a80 !important; color: #fff !important; border-color: #e09038 !important; }
.sh-win .plo-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); align-content: start; }
.sh-win .plo-card { background: #00000033; border-color: #ffffff1a; gap: 2px; }
.sh-win .plo-card > b { font-size: 11px; color: #fff; } .sh-win .plo-card > span:not(.done) { width: 100%; background: #ffffff0c; padding: 2px; color: #fff; font-weight: 600; }

body.plo-skin #screen-game .gw-stack, body.plo-skin #screen-game .gw-side { background: transparent !important; border: 0 !important; }
.sh-top > .note { display: none; }

/* game_dungeons: Time Patrol */
.tp2-win { width: min(880px, calc(100vw - 16px)) !important; }
.tp2-cols { display: grid; grid-template-columns: 180px 1fr; gap: 8px; }
.tp2-left { display: flex; flex-direction: column; gap: 4px; } .tp2-entries { color: #fff; font-size: 11px; }
.tp2-list { height: 470px; overflow: auto; display: flex; flex-direction: column; gap: 1px; }
.tp2-row { display: flex; gap: 6px; align-items: center; padding: 3px; cursor: pointer; font-size: 10px; background: #ffffff05; }
.tp2-row:hover { background: #453a66; } .tp2-row.on { background: #5a4a80; }
.tp2-row span { display: flex; flex-direction: column; } .tp2-row b { color: #fff; font-size: 11px; } .tp2-row small { color: #9a9aa2; }
.tp2-ico { width: 30px; height: 30px; object-fit: cover; border: 1px solid #00000077; }
.tp2-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tp2-banner { height: 120px; background: center / cover no-repeat; border: 1px solid #ffffff1a; }
.tp2-card { background: #ffffff08; border: 1px solid #ffffff12; padding: 4px 6px 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tp2-ch { text-align: center; color: #e09038; font-size: 11px; font-weight: 600; }
.tp2-diffs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.tp2-diff { height: 92px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3px; background: #ffffff0a; border: 1px solid transparent; cursor: pointer; font-size: 9px; color: #9a9aa2; white-space: pre-line; }
.tp2-diff b { color: #fff; font-size: 11px; } .tp2-diff.on { background: #5a4a80; border-color: #e09038; } .tp2-diff:hover:not(.lock) { border-color: #e09038; }
.tp2-diff.lock { background: #1d2a46 url(/plo/img/dungeons/difficulty_lock.png) center / 60% auto no-repeat; cursor: default; }
.tp2-skull { width: 40px; height: 42px; flex: none; background: url(/plo/img/dungeons/diff.png) 0 0 no-repeat; transform: scale(.6); margin: -8px 0 -10px; }
.tp2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tp2-kv { display: flex; flex-direction: column; gap: 2px; font-size: 11px; } .tp2-kv > div { display: flex; justify-content: space-between; } .tp2-kv b { color: #fff; } .tp2-kv span { color: #e09038; }
.tp2-waitl { text-align: center; font-size: 11px; color: #9a9aa2; } .tp2-wait { text-align: center; font: 600 16px var(--p-title); color: #fff; }
body.plo-skin .game.classic .plo-win .plo-body .tp2-join { align-self: center; min-width: 110px; }
.tp2-chal { max-height: 110px; overflow: auto; font-size: 10px; display: flex; flex-direction: column; gap: 3px; } .tp2-chal small { display: block; color: #9a9aa2; }
/* the offers like game_shop: name, picture, the price box; a click buys (asks first) */
.sh-win .plo-card { cursor: pointer; justify-content: flex-start; padding: 4px; min-height: 120px; }
.sh-win .plo-card:hover { border-color: #e09038; }
.sh-win .plo-card > b { order: -1; min-height: 2.6em; display: flex; align-items: center; }
.sh-win .plo-card > small.note, .sh-win .plo-card > input, .sh-win .plo-card > button { display: none !important; }
.sh-win .plo-card > span:not(.done) { margin-top: auto; }

/* game_dailyrewards */
.dr-win { width: 520px !important; }
.dr-head { color: #e09038; font-size: 12px; text-align: center; }
.dr-grid { display: grid; grid-template-columns: repeat(8, 54px); gap: 6px 4px; justify-content: center; }
.dr-day { display: flex; flex-direction: column; align-items: center; font-size: 10px; }
.dr-lbl { color: #fff; } .dr-day.today .dr-lbl { color: #ffcc44; font-weight: 700; }
.dr-box { position: relative; width: 50px; height: 50px; display: grid; place-items: center; background: url(/plo/img/ui/daily1.png) center / 100% 100% no-repeat; }
.dr-day.taken .dr-box { background-image: url(/plo/img/ui/daily2.png); } .dr-day.today .dr-box { outline: 1px solid #ffcc44; }
.dr-txt { font-size: 9px; color: #ffcc44; } .dr-vip { color: #ffcc44; font-weight: 700; font-size: 9px; }
.dr-check { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; background: #2f8a3a; border-radius: 2px; }
.dr-check::after { content: '✓'; color: #fff; font-size: 11px; position: absolute; left: 2px; top: -2px; }

/* game_crafting: Crafting System */
.cr-win { width: 560px !important; }
.cr-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
body.plo-skin .game.classic .plo-win .plo-body .cr-tab { display: flex; align-items: center; gap: 4px; padding: 2px 4px; min-height: 32px; font-size: 11px; font-weight: 700; }
.cr-search { display: flex; align-items: center; gap: 8px; font-size: 11px; } .cr-search b { color: #fff; } .cr-search input { width: 130px; }
.cr-cols { display: grid; grid-template-columns: 210px 1fr; gap: 20px; }
.cr-panel { border: 1px solid #e0903866; background: #00000026; padding-bottom: 6px; position: relative; }
.cr-ph { text-align: center; color: #fff; font-weight: 700; font-size: 11px; background: #3a3054; padding: 2px; margin-bottom: 4px; }
.cr-list { height: 228px; overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 0 3px; }
.cr-row { display: flex; align-items: center; gap: 4px; padding: 1px 3px; background: #1c1626; border: 1px solid #ffffff12; cursor: pointer; font-size: 11px; }
.cr-row:hover { border-color: #e09038; } .cr-row.on { background: #3a3054; border-color: #e09038; }
.cr-row b { display: block; color: #fff; } .cr-row small { color: #9a9aa2; font-weight: 700; }
.cr-mast { display: flex; justify-content: center; position: relative; font-size: 11px; } .cr-mast b { color: #fff; } .cr-q { position: absolute; left: 8px; color: #fff; }
.cr-mbar { width: 128px; height: 5px; margin: 2px auto 0; background: #00000080; border: 1px solid #ffffff22; } .cr-mbar i { display: block; height: 100%; background: #e09038; }
.cr-area { position: relative; height: 140px; margin: 6px 4px 0; }
.cr-slot { position: absolute; width: 32px; height: 32px; background: #00000059; border: 1px solid #ffffff33; display: grid; place-items: center; }
.cr-out { left: calc(50% - 16px); top: 54px; border-color: #ffffff55; }
.cr-slot.m1 { left: 4px; top: 8px; } .cr-slot.m2 { left: 4px; top: 56px; } .cr-slot.m3 { left: 4px; top: 104px; }
.cr-slot.m4 { right: 4px; top: 8px; } .cr-slot.m5 { right: 4px; top: 56px; } .cr-slot.m6 { right: 4px; top: 104px; }
.cr-line { position: absolute; width: 80px; background-repeat: no-repeat; }
.cr-line.l1 { right: calc(50% + 21px); top: 39px; height: 33px; } .cr-line.l2 { right: calc(50% + 21px); top: 70px; height: 2px; } .cr-line.l3 { right: calc(50% + 21px); top: 70px; height: 33px; }
.cr-line.l4 { left: calc(50% + 21px); top: 39px; height: 33px; } .cr-line.l5 { left: calc(50% + 21px); top: 70px; height: 2px; } .cr-line.l6 { left: calc(50% + 21px); top: 70px; height: 33px; }
.cr-cnt { position: absolute; display: flex; flex-direction: column; font: 700 10px/1 Verdana; } .cr-cnt .ok { color: #fff; } .cr-cnt .bad { color: #ff3c3c; }
.cr-cnt.c1 { left: 40px; top: 10px; } .cr-cnt.c2 { left: 40px; top: 58px; } .cr-cnt.c3 { left: 40px; top: 106px; }
.cr-cnt.c4 { right: 40px; top: 10px; text-align: right; } .cr-cnt.c5 { right: 40px; top: 58px; text-align: right; } .cr-cnt.c6 { right: 40px; top: 106px; text-align: right; }
.cr-low { display: grid; grid-template-columns: 70px 1fr 90px; align-items: end; gap: 6px; padding: 0 6px; }
.cr-amt { display: flex; flex-direction: column; align-items: center; font-size: 11px; } .cr-amt b { color: #fff; } .cr-amt input { width: 64px; }
body.plo-skin .game.classic .plo-win .plo-body .cr-go { min-height: 32px; font-weight: 700; padding-left: 26px; background: #ffffff0c url(/plo/img/crafting/craft_recipe.png) 4px center / 18px auto no-repeat; }
.cr-money { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; } .cr-money b { color: #fff; }
.cr-coin { min-width: 82px; text-align: right; background: #00000059; border: 1px solid #ffffff1a; padding: 0 4px; color: #fff; }

/* game_viplist / game_battle */
body.plo-skin #screen-game .vip-add { display: flex; gap: 3px; margin-bottom: 4px; }
body.plo-skin #screen-game .vip-add input { flex: 1; min-width: 0; border: 1px solid #e09038 !important; background: #00000059 !important; padding: 3px 6px !important; font-size: 11px; }
body.plo-skin #screen-game .vip-add button { width: 22px; min-height: 22px; padding: 0; border-width: 4px; font-weight: 700; }
.vip-group { display: flex; justify-content: space-between; color: #e09038; font: 700 12px var(--p-title); cursor: pointer; padding: 2px 2px; }
.vip-group span::before { content: '▾ '; } .vip-group.fold span::before { content: '▸ '; } .vip-group b { color: #9a9aa2; font-weight: 400; }
body.plo-skin #screen-game .vip-row { display: flex; align-items: center; gap: 4px; padding: 2px 4px; font-size: 11px; }
body.plo-skin #screen-game .vip-row::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6f6f78; flex: none; }
body.plo-skin #screen-game .vip-row.on::before { background: #7ed957; }
body.plo-skin #screen-game .vip-row .link { flex: 0 1 auto; text-align: left; color: #9a9aa2; background: none; border: 0; border-image: none; min-height: 0; padding: 0; }
body.plo-skin #screen-game .vip-row.on .link { color: #fff; }
.vip-ago { color: #6f6f78; font-size: 10px; margin-left: auto; }
body.plo-skin #screen-game .vip-row .vip-x { color: #ff5a5a; background: none; border: 0; border-image: none; min-height: 0; padding: 0 2px; }
body.plo-skin #screen-game .battle-filter { gap: 6px; font-size: 11px; }
body.plo-skin #screen-game .battle-filter select { font-size: 10px; padding: 1px 2px; border: 1px solid #e09038 !important; max-width: 64px; }
body.plo-skin #screen-game .battle-filter { flex-wrap: wrap; }

/* game_itemmarket */
.im-win { width: min(860px, calc(100vw - 16px)) !important; }
.im-head { display: flex; align-items: center; gap: 8px; } .im-head .sh-title { margin-right: auto; }
.im-head .sh-pts { align-items: flex-end; min-width: 110px; } .im-head .sh-pts b { color: #ffcc44; }
.im-tabs { display: flex; gap: 3px; border-bottom: 1px solid #ffffff14; padding-bottom: 4px; }
.im-tool { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; } .im-q { width: 170px; } .im-num { width: 58px; }
.im-tool select { max-width: 150px; }
.im-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 80px; align-items: center; gap: 6px; padding: 3px 6px; font-size: 11px; min-height: 40px; }
.im-h { min-height: 20px; color: #9a9aa2; font-weight: 600; border-bottom: 1px solid #ffffff14; }
.im-list, .im-grid { height: 330px; overflow: auto; background: #00000026; border: 1px solid #ffffff12; }
.im-list .im-row:nth-child(odd) { background: #ffffff05; } .im-list .im-row:nth-child(even) { background: #ffffff0a; } .im-list .im-row:hover { background: #453a66; }
.im-it { display: flex; align-items: center; gap: 6px; } .im-it b { color: #fff; } .im-price { color: #ffcc44; font-weight: 700; }
.im-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px; padding: 4px; align-content: start; }
.im-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; background: #ffffff08; border: 1px solid #ffffff12; font-size: 11px; text-align: center; } .im-card b { color: #fff; }
.im-empty { text-align: center; margin-top: 120px; }
.im-sell { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.im-box { background: #ffffff08; border: 1px solid #ffffff12; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.im-slot { width: 46px; height: 46px; display: grid; place-items: center; align-self: center; background: #00000059; border: 1px solid #e09038; }
.im-sname { text-align: center; color: #fff; } .im-field { display: flex; flex-direction: column; gap: 2px; } .im-field small { color: #9a9aa2; font-size: 10px; }
/* game_charmarket */

/* game_console after the client: purple tabs with the orange edge (button_purple), the active one filled,
   Server Log in red, the dark log, the violet input line */
body.plo-skin #screen-game .gw-console { width: 490px; height: 175px; background: none; }
body.plo-skin #screen-game .gw-console .tabs { gap: 1px; padding: 0 0 2px; flex-wrap: nowrap; overflow: hidden; }
body.plo-skin #screen-game .gw-console .tabs > button[role=tab] { font: 700 11px Verdana, var(--p-font); color: #fff; padding: 1px 4px; min-height: 20px; border: 4px solid transparent; border-image: url(/plo/img/web/btn_n.png) 7 fill / 4px stretch; text-shadow: 0 1px 0 #000; white-space: nowrap; }
body.plo-skin #screen-game .gw-console .tabs > button[role=tab][aria-selected="true"] { border-image-source: url(/plo/img/web/btn_p.png); background: #5a4a80; color: #fff; }
body.plo-skin #screen-game .gw-console .tabs > button[data-tab="server"] { color: #ff7a6a; }
body.plo-skin #screen-game .gw-console .tabs-tools { gap: 2px; }
body.plo-skin #screen-game .gw-console .tabs-tools button { width: 20px; height: 20px; min-height: 0; padding: 0; font-size: 11px; line-height: 1; border: 4px solid transparent; border-image: url(/plo/img/web/btn_n.png) 7 fill / 4px stretch; color: #fff; }
body.plo-skin #screen-game .gw-console .tabs-tools { display: flex; gap: 5px; align-items: center; padding-right: 5px; }
body.plo-skin #screen-game .gw-console .tabs-tools button.con-ico { position: relative; width: 22px; height: 23px; min-height: 0; padding: 0 !important; border: 1px solid #ffffff24 !important; border-image: none !important; border-radius: 0; background: #1c1626d9 !important; box-shadow: none !important; flex: none; }
body.plo-skin #screen-game .gw-console .tabs-tools button.con-ico:hover { background: #2e2640e6 !important; border-color: #f0902e !important; }
body.plo-skin #screen-game .gw-console .tabs-tools button.con-ico:disabled { opacity: .5; }
body.plo-skin #screen-game .gw-console .tabs-tools button.con-ico i { position: absolute; left: 2px; top: 3px; width: 16px; height: 16px; background: no-repeat center; filter: brightness(.85); pointer-events: none; }
body.plo-skin #screen-game .gw-console .tabs-tools button.con-ico:hover i { filter: none; }
body.plo-skin #screen-game .gw-console #logs { background: #1c1a26d9; border: 1px solid #00000099; }
body.plo-skin #screen-game .gw-console form { background: #5a4a80; border: 1px solid #00000099; padding: 1px 2px; }
body.plo-skin #screen-game .gw-console form input { color: #fff; }
body.plo-skin #screen-game .gw-console form select { background: #3a3054 !important; border: 0 !important; color: #fff; }
/* the action bar slots: the key on a spellbar_numbers tab under the slot, the picture filling the slot */
body.plo-skin #screen-game .plo-ab-slots .ab-key { top: auto; bottom: -9px; left: 50%; transform: translateX(-50%); width: 18px; height: 11px; line-height: 11px; font-size: 7px; background: #1c1626; border: 1px solid #e0903899; }
body.plo-skin #screen-game .plo-ab-slots .ab-icon { position: absolute; inset: 3px; display: grid; place-items: center; overflow: hidden; }
body.plo-skin #screen-game .plo-ab-slots .ab-icon img { width: 34px; height: 34px; object-fit: contain; }
body.plo-skin #screen-game .plo-ab-slots .ab-icon.spell { font-size: 8px; color: #fff; text-align: center; }
/* every PLO window on the client's 12 px font */
body.plo-skin .game.classic .plo-win .plo-body { font-size: 12px; }
body.plo-skin .game.classic .plo-win .plo-body p, body.plo-skin .game.classic .plo-win .plo-body td, body.plo-skin .game.classic .plo-win .plo-body th { font-size: 12px; }
body.plo-skin .game.classic .plo-win .plo-body .plo-table td, body.plo-skin .game.classic .plo-win .plo-body .plo-table th { padding: 3px 6px; }

/* item slots after 10-items.otui / 40-inventory.otui: ui/item for the containers, the empty equipment
   slots show their game/slots picture (head, neck, back, ...) */
body.plo-skin .game.classic .slot { background: url(/plo/img/ui/item.png) center / 100% 100% no-repeat; }
body.plo-skin #screen-game .ps-equippanel .slot { background: url(/plo/img/ui/item.png) center / 100% 100% no-repeat; }
.ps-equippanel .equip > .slot.empty-label:nth-child(1) { background-image: url(/plo/img/game/slots/neck.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(2) { background-image: url(/plo/img/game/slots/head.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(3) { background-image: url(/plo/img/game/slots/back.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(4) { background-image: url(/plo/img/game/slots/right-hand.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(5) { background-image: url(/plo/img/game/slots/body.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(6) { background-image: url(/plo/img/game/slots/left-hand.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(7) { background-image: url(/plo/img/game/slots/finger.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(8) { background-image: url(/plo/img/game/slots/legs.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(9) { background-image: url(/plo/img/game/slots/ammo.png) !important; }
.ps-equippanel .equip > .slot.empty-label:nth-child(11) { background-image: url(/plo/img/game/slots/feet.png) !important; }
.ps-equippanel .equip > .slot.empty-label { font-size: 0 !important; color: transparent !important; }
.ps-equippanel .equip > .slot.empty-label .ghost { display: none; }
.gd-none { text-align: center; color: #d6d6dc; padding: 18px 0; margin: 0; }
/* smallTabBar: left of it the bar's end (714 px), three 26 px slots */
.plo-ab-small { position: absolute; left: 716px; bottom: 14px; display: flex; gap: 2px; pointer-events: auto; }
body.plo-skin .game.classic .plo-ab-sm { position: relative; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; border-image: none; background: url(/plo/img/ui/item.png) center / 100% 100% no-repeat; }
body.plo-skin .game.classic .plo-ab-sm:hover:not(:disabled) { border-image: none; filter: brightness(1.25); }
.plo-ab-sm i { position: absolute; inset: 2px; display: grid; place-items: center; font: 7px Verdana; color: #fff; font-style: normal; overflow: hidden; }
.plo-ab-sm i img { width: 24px; height: 24px; object-fit: contain; }
.plo-ab-sm i:empty::after { content: '....'; color: #fff; font-size: 8px; }
.plo-ab-sm small { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); font: 7px Verdana; color: #fff; background: #1c1626; border: 1px solid #e0903899; padding: 0 2px; }
/* game_changevoc */
.cv-win { width: 460px !important; }
.cv-head { display: flex; align-items: center; } .cv-head .sh-title { margin-right: auto; }
.cv-charges { display: flex; align-items: center; gap: 4px; color: #ffcc44; font-size: 14px; }
.cv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; background: #ffffff08; border: 1px solid #ffffff12; }
.cv-pic { width: 90px; height: 90px; background: #00000059; border: 1px solid #ffffff1a; display: grid; place-items: center; }
.cv-av { width: 88px; height: 88px; object-fit: cover; } .cv-name { color: #fff; font-size: 12px; text-align: center; }
.cv-pity { color: #7ed957; font-size: 11px; } .cv-side select { width: 100%; }
body.plo-skin .game.classic .plo-win .plo-body .cv-side button { width: 100%; }

/* game_actionbar exactly: 15 ActionButtons 40 x 40 (1 px apart, the first at 90 px, 8 px over the bottom),
   the key on spellbar_numbers under each, 3 SmallActionButtons 30 x 30 from 714 px; the chat toggle with its icon */
.plo-ab-slots { left: 89px !important; bottom: 8px !important; width: 620px !important; height: 40px !important; }
body.plo-skin #screen-game .plo-ab-slots .actionbar { gap: 1px; }
body.plo-skin #screen-game .plo-ab-slots .ab-slot { width: 40px !important; height: 40px !important; padding: 1px; background: none !important; overflow: visible; }
body.plo-skin #screen-game .plo-ab-slots .ab-slot::before { content: ''; position: absolute; inset: 1px; background: url(/plo/img/game/actionbarslot.png) center / 100% 100% no-repeat; }
body.plo-skin #screen-game .plo-ab-slots .ab-icon { position: absolute; inset: 4px; z-index: 1; }
body.plo-skin #screen-game .plo-ab-slots .ab-icon img { width: 32px; height: 32px; object-fit: cover; image-rendering: auto; }
body.plo-skin #screen-game .plo-ab-slots .ab-key { z-index: 2; bottom: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; line-height: 14px; font: 7px Verdana; color: #fff; text-align: center;
  background: url(/plo/img/ui/spellbar_numbers.png) no-repeat; border: 0; padding: 0; overflow: hidden; }
body.plo-skin #screen-game .plo-ab-slots .ab-count { z-index: 2; position: absolute; right: 2px; bottom: 2px; font: 700 9px Verdana; color: #fff; text-shadow: 0 0 2px #000; }
body.plo-skin #screen-game .plo-ab-slots .ab-cd { z-index: 2; position: absolute; inset: 1px; }
.plo-ab-small { left: 714px !important; bottom: 8px !important; gap: 1px !important; }
body.plo-skin .game.classic .plo-ab-sm { width: 30px; height: 30px; background: url(/plo/img/game/actionbarslot.png) center / 28px 28px no-repeat; }
.plo-ab-sm small { width: 16px; height: 16px; bottom: -10px !important; line-height: 14px; padding: 0 !important; text-align: center; background: url(/plo/img/ui/spellbar_numbers.png) no-repeat !important; border: 0 !important; font-size: 6px !important; }
.plo-ab-sm i:empty::after { content: none; }
body.plo-skin .game.classic .plo-ab-chat { background: url(/plo/img/game/console/togglechat.png) center / 14px 14px no-repeat, url(/plo/img/ui/spellbar_chatbutton.png) 0 0 no-repeat; width: 20px; height: 21px; }
body.plo-skin .game.classic .plo-ab-chat:hover:not(:disabled) { background: url(/plo/img/game/console/togglechat.png) center / 14px 14px no-repeat, url(/plo/img/ui/spellbar_chatbutton.png) 0 -21px no-repeat; }

/* game_playerstats exactly: the window 331 x 335 (art 331 x 313), padding 36 16 16 16, the tab pages fill the
   padding area less 18 px at the bottom; equipPanel #ffffff0d; the inactive tabs from 146 px on the bottom
   padding line, the active one 77 x 37 from 134 px reaching 18 px below it */
.ps-page { left: 16px !important; top: 36px !important; right: 16px !important; bottom: 34px !important; }
.ps-left { left: 0 !important; }
body.plo-skin #screen-game .ps-equippanel .equip { background: #ffffff0d !important; }
.ps-tabs { left: 0 !important; right: 0; bottom: 0 !important; height: 37px; display: block !important; }
body.plo-skin .game.classic .ps-tab { position: absolute !important; bottom: 16px; margin: 0 !important; left: calc(146px + var(--i) * 53px); }
body.plo-skin .game.classic .ps-tab.on, body.plo-skin .game.classic .ps-tab.on:hover:not(:disabled) { bottom: -2px; left: calc(134px + var(--i) * 53px); }

/* game_flying FlyBarButton: 36x36 playerstats_tile (clip 0/36/72), left 729, bottom 42 of the bar */
.plo-ab-fly { position: absolute; left: 729px; bottom: 42px; width: 36px; height: 36px; padding: 0; border: 0; background: url(/plo/img/ui/playerstats_tile.png) 0 0 no-repeat; pointer-events: auto; cursor: pointer; }
.plo-ab-fly:hover { background-position: 0 -36px; }
.plo-ab-fly.on, .plo-ab-fly:active { background-position: 0 -72px; }
.plo-ab-fly { border: 0 !important; border-image: none !important; padding: 0 !important; box-shadow: none !important; }
.plo-ab-fly i { position: absolute; left: 2px; top: 2px; width: 32px; height: 32px; background: url(/plo/img/ui/spellbar_flyicon.png) no-repeat; pointer-events: none; }

/* game_playertrade (tradewindow.otui): 348 x 546, the partner's offer on top, the own below; each frame = window art
   (border 12, top 27) padding 32 8 10 8, a grid of 9 x 34 px slots (spacing 2) on #2a2a2e, the status line, then the
   Zeni field (120 x 26 button_purple) + buttons (80 x 26) */
body.plo-skin .game.classic .window.dlg.trade-win { width: 348px; border: 0; border-image: none; background: none; padding: 0; box-shadow: none; }
body.plo-skin .game.classic .window.dlg.trade-win > .head { display: none; }
.trade-win .trade-title { font: 700 12px var(--p-font); color: #fff; text-align: center; height: 16px; text-shadow: 0 0 2px #000, 0 0 2px #000; }
.trade-win .trade-title + .trade-frame { margin-bottom: 6px; }
.trade-win .trade-frame { position: relative; height: 254px; box-sizing: border-box; border: solid transparent; border-width: 27px 12px 12px; border-image: url(/plo/img/ui/window.png) 27 12 12 12 fill / 27px 12px 12px 12px stretch; padding: 5px 0 0; display: flex; flex-direction: column; }
.trade-win .trade-grid { height: 150px; box-sizing: border-box; padding: 3px; background: #2a2a2e; border: 1px solid #121214; display: grid; grid-template-columns: repeat(9, 34px); grid-auto-rows: 34px; gap: 2px; overflow-y: auto; align-content: start; }
body.plo-skin .game.classic .trade-win .trade-grid .slot { width: 34px; height: 34px; min-height: 0; padding: 0; border: 0; background: url(/plo/img/ui/item.png) center / 100% 100% no-repeat; position: relative; }
.trade-win .trade-grid .slot img { width: 32px; height: 32px; }
.trade-win .trade-grid .slot b { position: absolute; right: 1px; bottom: 0; font: 700 9px Verdana; color: #fff; text-shadow: 0 0 2px #000; }
.trade-win .trade-hint { position: absolute; left: 0; right: 0; top: 5px; height: 150px; display: grid; place-items: center; text-align: center; font: 11px var(--p-font); color: #c8c8d0; pointer-events: none; }
.trade-win .trade-hint[hidden] { display: none; }
.trade-win .trade-status { height: 28px; margin-top: 3px; font: 11px var(--p-font); color: #f0f0f0; text-align: center; }
.trade-win .trade-bottom { display: flex; align-items: center; gap: 4px; margin-top: auto; }
.trade-win .trade-bottom .grow { flex: 1; }
body.plo-skin .game.classic .trade-win .trade-zeni, body.plo-skin .game.classic .trade-win .trade-btn { height: 26px; min-height: 0; box-sizing: border-box; border: 7px solid transparent; border-image: url(/plo/img/web/btn_n.png) 7 fill / 7px stretch; background: none; font: 700 12px var(--p-font); color: #fff; padding: 0; line-height: 12px; }
.trade-win .trade-zeni { width: 120px; display: inline-flex; align-items: center; justify-content: flex-end; padding-right: 1px !important; filter: brightness(.87); }
.trade-win .trade-btn { width: 80px; }
.trade-win .trade-btn.add { width: 26px; }
.trade-win .trade-btn:hover:not(:disabled), .trade-win .trade-zeni.edit:hover:not(:disabled) { filter: brightness(1.15); }
.trade-win .trade-btn:disabled, .trade-win .trade-zeni.edit:disabled { color: #ffffff88 !important; filter: brightness(.55); }
.trade-win .trade-btn.on, .trade-win .trade-btn.on:disabled { color: #3ddc55 !important; filter: brightness(.75); }
body.plo-skin .game.classic .window.dlg.trade-req { width: 300px; }
.trade-req p { text-align: center; margin: 12px 0; }
body.plo-skin .game.classic .window.dlg.trade-win { width: 356px; top: 50%; transform: translate(-50%, -50%); max-height: none; overflow: visible; gap: 0; display: block; }
body.plo-skin .game.classic .window.dlg.trade-win.placed { transform: none; }
.trade-win .trade-title { cursor: grab; user-select: none; touch-action: none; }
/* InventoryDurationLabel: cipsoft white on #00000077, 12 px, over the bottom of the slot */
.slot i.dur { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; line-height: 12px; font: normal 9px Verdana, sans-serif; color: #f8f8f8; background: #00000077; text-align: center; pointer-events: none; z-index: 2; }

/* game_minimap full map (toggleFullMap) + MinimapSpawnPanel */
.plo-fullmap { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 40; background: #000; }
.plo-fullmap[hidden] { display: none; }
.plo-fullmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.plo-fullmap canvas:active { cursor: grabbing; }
.pfm-tools { position: absolute; right: 12px; top: 80px; display: flex; flex-direction: column; gap: 2px; z-index: 1; }
body.plo-skin .game.classic .pfm-tools button { width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; border-image: none; background: no-repeat 0 0; }
body.plo-skin .game.classic .pfm-tools button:hover { background-position: 0 -22px; }
body.plo-skin .game.classic .pfm-tools button:active { background-position: 0 -44px; }
.pfm-tools .pfm-zin { background-image: url(/plo/img/game/minimap/zoom_in.png) !important; }
.pfm-tools .pfm-zout { background-image: url(/plo/img/game/minimap/zoom_out.png) !important; }
.pfm-tools .pfm-up { background-image: url(/plo/img/game/minimap/floor_up.png) !important; }
.pfm-tools .pfm-down { background-image: url(/plo/img/game/minimap/floor_down.png) !important; }
.pfm-tools .pfm-center { background-image: url(/plo/img/game/minimap/center_button.png) !important; }
body.plo-skin .game.classic .pfm-tools .pfm-close { background: url(/plo/img/game/minimap/toggle_full.png) no-repeat 0 0 / 22px auto !important; }
.pfm-info { position: absolute; right: 44px; top: 80px; font: 11px Verdana; color: #fff; background: #000a; padding: 2px 6px; pointer-events: none; }
.pfm-spawns { position: absolute; left: 12px; top: 80px; width: 250px; max-height: calc(100% - 200px); display: flex; flex-direction: column; gap: 4px; box-sizing: border-box;
  border: solid transparent; border-width: 12px; border-image: url(/plo/img/ui/miniwindow.png) 30 12 10 12 fill / 12px stretch; color: #fff; font: 11px var(--p-font); z-index: 1; }
.pfm-spawns[hidden] { display: none; }
.pfm-sh { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
body.plo-skin .game.classic .pfm-sx { width: 14px; height: 14px; min-height: 0; padding: 0; border: 0; border-image: none; background: url(/plo/img/web/mw_close_n.png) center / 14px no-repeat; }
.pfm-sub { color: #9a9aa2; }
.pfm-list { overflow: auto; display: flex; flex-direction: column; gap: 2px; }
body.plo-skin .game.classic .pfm-row { display: flex; flex: none; height: auto; line-height: 1.3; gap: 1px; flex-direction: column; align-items: flex-start; text-align: left; padding: 4px 6px; border: 1px solid #ffffff14; border-image: none; background: #00000040; min-height: 0; }
body.plo-skin .game.classic .pfm-row.on { border-color: var(--p-accent); background: #f0902e22; }
.pfm-row small { color: #9a9aa2; font-size: 10px; }
.pfm-nav { display: flex; gap: 4px; } .pfm-nav button { flex: 1; }

/* game_outfit "Character Appearance": MainWindow 660 x 500 (padding of the classic window), rail 140 (FlatPanel,
   RailButton 27 px, verdana 11 #a8a8a8, on = #e09038 / #1a1a1a), preview 220 (title, health bar box 130 x 64 at 56,
   the creature 128 x 128, arrows, count, name), the option list (search 24, SelectableRow 26 px: on #5a4a80 + accent bar) */
body.plo-skin .game.classic .window.dlg.ca-win { width: 660px; height: 500px; max-height: none; display: flex; flex-direction: column; padding: 0 16px 14px; box-sizing: border-box; }
.ca-win .ca-body { flex: 1; min-height: 0; display: flex; gap: 10px; }
.ca-win .ca-rail { width: 140px; box-sizing: border-box; padding: 4px; display: flex; flex-direction: column; gap: 1px; background: #00000040; border: 1px solid #ffffff12; }
body.plo-skin .game.classic .ca-win .ca-rail button { height: 27px; min-height: 0; flex: none; padding: 0 0 0 12px; text-align: left; border: 0; border-image: none; background: transparent; font: 11px Verdana, sans-serif; color: #a8a8a8; text-shadow: none; }
body.plo-skin .game.classic .ca-win .ca-rail button:hover:not(.on) { background: #ffffff14; color: #fff; }
body.plo-skin .game.classic .ca-win .ca-rail button.on { background: #e09038; color: #1a1a1a; }
.ca-win .ca-preview { position: relative; width: 220px; flex: none; background: #00000040; border: 1px solid #ffffff12; }
.ca-win .ca-ptitle { margin: 6px 0 0 8px; font: 700 11px Verdana; color: #e09038; letter-spacing: .5px; }
.ca-win .ca-bar { position: absolute; left: 45px; top: 56px; width: 130px; height: 64px; background: no-repeat center / 130px 64px; image-rendering: pixelated; }
.ca-win #outfit-preview { position: absolute; left: 14px; top: 96px; width: 192px; height: 192px; image-rendering: pixelated; cursor: pointer; background: none; border: 0; }
body.plo-skin .game.classic .ca-win .ca-arrow { position: absolute; top: 300px; width: 24px; height: 24px; min-height: 0; padding: 0; }
.ca-win .ca-arrow.l { left: 10px; } .ca-win .ca-arrow.r { right: 10px; }
.ca-win .ca-count { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 11px Verdana; color: #a8a8a8; }
.ca-win .ca-name { position: absolute; left: 8px; right: 8px; bottom: 30px; text-align: center; font: 700 12px Verdana; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-win .ca-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
body.plo-skin .game.classic .ca-win #ca-search { height: 24px; box-sizing: border-box; padding: 0 8px; background: #00000066; border: 1px solid #ffffff1f; color: #fff; font: 11px Verdana; }
.ca-win .ca-options { flex: 1; overflow-y: auto; background: #00000040; border: 1px solid #ffffff12; }
body.plo-skin .game.classic .ca-win .ca-row { display: block; width: 100%; height: 26px; min-height: 0; padding: 0 0 0 14px; text-align: left; border: 0; border-left: 3px solid transparent; border-image: none; background: #ffffff05; font: 11px Verdana; color: #d2d2d2; text-shadow: none; }
body.plo-skin .game.classic .ca-win .ca-row:nth-child(even) { background: #ffffff0a; }
body.plo-skin .game.classic .ca-win .ca-row:hover { background: #ffffff12; }
body.plo-skin .game.classic .ca-win .ca-row.on { background: #5a4a80; border-left-color: #e09038; color: #fff; }
body.plo-skin .game.classic .ca-win .ca-row.on:hover { background: #685794; }
.ca-win .ca-foot { display: flex; align-items: center; gap: 8px; height: 32px; margin-top: 4px; }
.ca-win .ca-foot .grow { flex: 1; }
body.plo-skin .game.classic .ca-win .ca-foot button { height: 24px; min-height: 0; padding: 0 8px; width: 90px; }
body.plo-skin .game.classic .window.dlg.ca-win:not(.placed) { top: max(8px, calc(50% - 250px)); }

/* ---------------- the PLO launcher (client_entergame characterlist.otui / accounthub, client_news) ---------------- */
body.plo-skin #screen-chars.plo-hub-on > header, body.plo-skin #screen-chars.plo-hub-on > .grid { display: none !important; }
body.plo-skin #screen-chars.plo-hub-on { display: block; position: fixed; inset: 0; padding: 0; margin: 0; max-width: none; overflow: hidden; }
body.plo-skin #screen-chars.plo-hub-on[hidden] { display: none; }
.lh-win { position: absolute; left: var(--lh-cx, 50%); top: 50%; transform: translate(-50%, -50%); width: 880px; height: 620px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px);
  background: #302840; border: 1px solid #ffffff1a; box-shadow: 0 10px 40px #000a; display: grid; grid-template-columns: 260px 1fr; grid-template-rows: 40px 1fr; font: 11px Verdana, sans-serif; color: #cfcfcf; z-index: 2; }
.lh-head { grid-column: 1 / 3; display: flex; align-items: center; gap: 8px; padding: 0 7px 0 16px; background: #00000040; border-bottom: 1px solid #e09038; font: 700 16px var(--p-font, sans-serif); }
.lh-gold { color: #e09038; } .lh-white { color: #fff; flex: 1; }
body.plo-skin #screen-chars .lh-x { width: 28px; height: 28px; min-height: 0; padding: 0; border: 1px solid transparent; border-image: none; background: transparent; color: #8a9096; font: 11px Verdana, sans-serif; }
body.plo-skin #screen-chars .lh-x:hover { color: #ff6b66 !important; border-color: #d9534f; background: #2a141466 !important; border-image: none; }
.lh-side { position: relative; background: #00000040; border-right: 1px solid #e090384d; padding: 18px 12px 14px; display: flex; flex-direction: column; min-height: 0; }
.lh-badgerow { display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.lh-badge { font: 700 9px Verdana, sans-serif; height: 16px; line-height: 16px; padding: 0 6px; color: #141417; background: #ffffff33; }
.lh-badge.prem { background: #e09038; }
.lh-pdays { color: #8a9096; } .lh-pdays.gift { color: #e09038; font-weight: 700; }
.lh-email { margin: 10px 0 0 4px; color: #8a9096; } .lh-email.ok { color: #5cb85c; } .lh-email.bad { color: #d9534f; }
.lh-sep { height: 1px; background: #ffffff1a; margin: 14px 0; }
.lh-section { font: 700 9px Verdana, sans-serif; color: #6f7480; margin: 14px 0 10px 4px; }
.lh-section.top { margin: 14px 16px 10px; }
body.plo-skin #screen-chars .lh-nav { display: flex; align-items: center; width: 100%; height: 34px; min-height: 0; margin: 0 0 2px; padding: 0 12px 0 16px; text-align: left; border: 0; border-left: 3px solid transparent; border-image: none; background: transparent; font: 11px Verdana, sans-serif; color: #cfcfcf; text-shadow: none; position: relative; }
body.plo-skin #screen-chars .lh-nav::after { content: '>'; position: absolute; right: 12px; color: #6f7480; }
body.plo-skin #screen-chars .lh-nav:hover { background: #ffffff14 !important; color: #fff !important; border-image: none; }
body.plo-skin #screen-chars .lh-nav.on { background: #ffffff1a !important; color: #fff; border-left-color: #e09038; }
body.plo-skin #screen-chars .lh-nav.danger { color: #d9534f; } body.plo-skin #screen-chars .lh-nav.danger:hover, body.plo-skin #screen-chars .lh-nav.danger.on { background: #2a1414cc !important; color: #ff6b66 !important; }
.lh-hint { margin-top: auto; padding: 0 4px 10px; color: #8a9096; min-height: 20px; }
body.plo-skin #screen-chars .lh-gbtn { height: 38px; min-height: 0; padding: 0 12px; border: 6px solid transparent; border-image: url(/plo/img/web/bb_n.png) 6 fill / 6px stretch; background: none; font: 700 16px var(--p-font, sans-serif); color: #fff; text-shadow: 0 1px 1px #000; }
body.plo-skin #screen-chars .lh-gbtn:hover:not(:disabled) { border-image-source: url(/plo/img/web/bb_h.png); background: none; }
body.plo-skin #screen-chars .lh-gbtn:active:not(:disabled) { border-image-source: url(/plo/img/web/bb_p.png); }
body.plo-skin #screen-chars .lh-gbtn:disabled { opacity: .6; }
body.plo-skin #screen-chars .lh-gbtn.small { height: 28px; font-size: 12px; align-self: flex-start; min-width: 150px; margin-top: 6px; }
body.plo-skin #screen-chars .lh-gbtn.danger { color: #ff8a86; }
.lh-main { position: relative; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.lh-chars { flex: 1; overflow-y: auto; margin: 0 10px 10px; padding: 4px; background: #00000026; }
.lh-char { position: relative; height: 92px; margin-bottom: 6px; background: #ffffff08; border-left: 2px solid transparent; cursor: pointer; outline: none; }
.lh-char:hover { background: #ffffff10; }
.lh-char.on { background: #ffffff14; border-left-color: #e09038; }
.lh-av { position: absolute; left: 12px; top: 14px; width: 64px; height: 64px; box-sizing: border-box; padding: 4px; background: #00000055; border: 1px solid #ffffff1a; }
.lh-char.on .lh-av { border-color: #ffffff66; background: #ffffff10; }
.lh-av img { width: 100%; height: 100%; object-fit: contain; }
.lh-nm { position: absolute; left: 90px; top: 9px; display: flex; align-items: center; gap: 8px; }
.lh-nm b { font: 700 16px var(--p-font, sans-serif); color: #cfcfcf; } .lh-char.on .lh-nm b { color: #fff; }
.lh-lv { background: #00000066; color: #8a9096; padding: 1px 4px; } .lh-char.on .lh-lv { color: #fff; }
.lh-grp { position: absolute; right: 12px; top: 10px; background: #00000066; color: #e09038; padding: 1px 6px; }
.lh-grp.staff { color: #fff; background: #c0392b; }
.lh-bar { position: absolute; left: 90px; right: 12px; display: flex; align-items: center; gap: 8px; height: 10px; }
.lh-bar.hp { top: 38px; } .lh-bar.ki { top: 54px; }
.lh-bar i { width: 24px; font: 700 9px Verdana, sans-serif; font-style: normal; } .lh-bar.hp i { color: #c0706c; } .lh-bar.ki i { color: #6f86c0; }
.lh-track { flex: 1; height: 10px; box-sizing: border-box; border: 1px solid #000000aa; background: #00000066; }
.lh-track div { height: 100%; } .lh-bar.hp .lh-track div { background: #c0504d; } .lh-bar.ki .lh-track div { background: #4567b0; }
.lh-bar span { width: 38px; text-align: right; color: #8a9096; } .lh-char.on .lh-bar span { color: #fff; }
.lh-world { position: absolute; left: 90px; top: 72px; color: #7d828a; } .lh-char.on .lh-world { color: #bbb; }
.lh-bottom { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #00000059; border-top: 1px solid #e0903859; }
.lh-bottom .grow { flex: 1; }
body.plo-skin #screen-chars .lh-auto, body.plo-skin #screen-chars .lh-ghost { height: 28px; min-height: 0; padding: 0 12px; border: 1px solid #ffffff22; border-image: none; background: #ffffff0c; font: 12px var(--p-font, sans-serif); color: #d6d6dc; text-shadow: none; }
body.plo-skin #screen-chars .lh-auto { width: 150px; color: #d9534f; border-color: #d9534f; } body.plo-skin #screen-chars .lh-auto.on { color: #5cb85c; border-color: #5cb85c; }
body.plo-skin #screen-chars .lh-ghost { height: 34px; min-width: 90px; }
body.plo-skin #screen-chars .lh-auto:hover, body.plo-skin #screen-chars .lh-ghost:hover { background: #ffffff1a !important; border-image: none; }
body.plo-skin #screen-chars .lh-ghost:hover { border-color: #e09038; color: #fff; }
.lh-bottom .lh-gbtn { width: 170px; }
.lh-chead { height: 36px; flex: none; display: flex; align-items: center; gap: 10px; padding-left: 8px; background: #00000033; border-bottom: 1px solid #e0903859; }
.lh-chead b { font: 700 16px var(--p-font, sans-serif); color: #fff; }
body.plo-skin #screen-chars .lh-back { width: 28px; height: 28px; min-height: 0; padding: 0; border: 1px solid transparent; border-image: none; background: transparent; color: #cfcfcf; font: 11px Verdana, sans-serif; }
body.plo-skin #screen-chars .lh-back:hover { border-color: #e09038; background: #ffffff14 !important; border-image: none; }
.lh-cbody { flex: 1; overflow-y: auto; padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 10px; }
.lh-field { display: flex; flex-direction: column; gap: 4px; color: #8a9096; max-width: 420px; }
body.plo-skin #screen-chars .lh-field input, body.plo-skin #screen-chars .lh-field select, body.plo-skin #screen-chars .lh-field textarea { height: 28px; box-sizing: border-box; padding: 0 8px; background: #00000066; border: 1px solid #ffffff1f; color: #fff; font: 12px var(--p-font, sans-serif); border-radius: 0; }
body.plo-skin #screen-chars .lh-field textarea { height: 110px; padding: 6px 8px; resize: vertical; }
body.plo-skin #screen-chars .lh-field input:focus, body.plo-skin #screen-chars .lh-field select:focus, body.plo-skin #screen-chars .lh-field textarea:focus { border-color: #e09038; outline: none; }
.lh-label { color: #8a9096; }
.lh-text { color: #cfcfcf; } .lh-text.bad { color: #d9534f; }
.lh-status { flex: none; min-height: 18px; padding: 6px 20px 14px; white-space: pre-line; color: #8a9096; }
.lh-vocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 4px; max-height: 300px; overflow-y: auto; }
body.plo-skin #screen-chars .lh-voc { display: flex; align-items: center; gap: 8px; height: 44px; min-height: 0; padding: 2px 6px; text-align: left; border: 1px solid #ffffff14; border-image: none; background: #ffffff08; color: #cfcfcf; font: 11px Verdana, sans-serif; }
body.plo-skin #screen-chars .lh-voc img { width: 36px; height: 36px; object-fit: contain; }
body.plo-skin #screen-chars .lh-voc:hover { background: #ffffff14 !important; border-image: none; }
body.plo-skin #screen-chars .lh-voc.on { border-color: #e09038; background: #5a4a80 !important; color: #fff; }
.lh-list { display: flex; flex-direction: column; gap: 2px; }
.lh-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #ffffff08; text-align: left; }
body.plo-skin #screen-chars .lh-row.click { min-height: 0; height: auto; border: 0; border-image: none; color: #cfcfcf; font: 11px Verdana, sans-serif; }
.lh-row.click:hover { background: #ffffff14 !important; }
.lh-row .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; } .lh-row b { color: #fff; } .lh-row small { color: #8a9096; }
.lh-tag { padding: 1px 6px; background: #00000066; } .lh-tag.ok, .lh-tag.answered { color: #5cb85c; } .lh-tag.wait, .lh-tag.open { color: #e09038; } .lh-tag.closed { color: #8a9096; }
.lh-amt { color: #5cb85c; font-weight: 700; } .lh-amt.neg { color: #d9534f; }
.lh-chk { display: flex; align-items: center; gap: 6px; color: #cfcfcf; }
.lh-empty { padding: 14px; color: #8a9096; text-align: center; }
.lh-ttitle { color: #fff; font-weight: 700; }
.lh-thread { display: flex; flex-direction: column; gap: 6px; }
.lh-msg { padding: 6px 10px; background: #ffffff08; border-left: 2px solid #6f7480; white-space: pre-wrap; } .lh-msg.staff { border-left-color: #e09038; }
.lh-msg small { display: block; color: #8a9096; margin-bottom: 3px; }
/* client_news: the panel at the right edge, header bar with Home / Changelog */
.lh-news { position: absolute; right: 5px; top: 10px; bottom: 50px; width: var(--lh-nw, 760px); display: flex; flex-direction: column; background: #302840f0; border: 1px solid #ffffff1a; z-index: 1; font: 12px var(--p-font, sans-serif); color: #d6d6dc; }
@media (max-width: 1240px) { .lh-news { display: none; } }
.lh-news.folded { bottom: auto; height: 30px; }
.lh-news.folded .lh-nbody { display: none; }
.lh-ntabs { height: 30px; flex: none; display: flex; align-items: stretch; background: #00000040; border-bottom: 1px solid #e0903859; }
.lh-ntabs .grow { flex: 1; }
body.plo-skin #screen-chars .lh-ntabs button { min-height: 0; height: 30px; padding: 0 14px; border: 0; border-image: none; background: transparent; color: #a8a8a8; font: 11px Verdana, sans-serif; }
body.plo-skin #screen-chars .lh-ntabs button.on { color: #1a1a1a; background: #e09038; }
body.plo-skin #screen-chars .lh-ntabs button:hover:not(.on) { background: #ffffff14 !important; color: #fff; border-image: none; }
.lh-nbody { flex: 1; overflow-y: auto; padding: 10px 16px; }
.lh-post { padding: 6px 0 14px; border-bottom: 1px solid #ffffff12; margin-bottom: 8px; }
.lh-post h3 { margin: 0; font: 700 16px var(--p-font, sans-serif); color: #fff; }
.lh-post > small { color: #8a9096; }
.lh-pbody { margin-top: 6px; line-height: 1.45; overflow-wrap: anywhere; }
.lh-pbody img { max-width: 100%; height: auto; display: block; margin: 6px auto; }
.lh-pbody h2, .lh-pbody h3 { color: #e09038; font-size: 14px; margin: 10px 0 4px; }
.lh-pbody a { color: #5aa9e6; } .lh-pbody a:hover { color: #8ec5f0; }
.lh-video { display: inline-block; padding: 8px 14px; background: #00000066; border: 1px solid #ffffff22; }
.lh-post.cl { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; } .lh-post.cl > span:nth-child(2) { flex: 1; } .lh-post.cl small { color: #8a9096; }
.lh-clk { font: 700 9px Verdana, sans-serif; padding: 1px 5px; background: #ffffff22; color: #fff; } .lh-clk.k1 { background: #2e7d32; } .lh-clk.k2 { background: #c0392b; } .lh-clk.k3 { background: #b07020; } .lh-clk.k4 { background: #2d6cb0; }

body.plo-skin #screen-chars .lh-chk { flex-direction: row; justify-content: flex-start; }
body.plo-skin #screen-chars .lh-chk input { width: auto; padding: 0; min-height: 0; }

/* game_npcdialog: NpcDialog (WindowWithoutExit, 350 wide, 200 - 600), the message, the buttons one under the other */
body.plo-skin .game.classic .window.dlg.plo-npcdlg { width: 350px; min-width: 200px; max-width: 600px; }
body.plo-skin .game.classic .window.dlg.plo-npcdlg > .head > button:last-child { display: none; }
.plo-npcdlg .plo-npc-text, .plo-npcshop .plo-npc-text { margin: 4px 0 14px; white-space: pre-wrap; text-align: left; color: #fff; font: 12px var(--p-font); }
.plo-npc-btns { display: flex; flex-direction: column; gap: 4px; }
body.plo-skin .game.classic .plo-npc-btns .plo-npc-btn { width: 100%; height: 26px; min-height: 0; text-transform: capitalize; }
.plo-npcshop .plo-npc-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
body.plo-skin .game.classic .plo-npcshop .plo-npc-btns .plo-npc-btn { width: 194px; height: 36px; border: 6px solid transparent; border-image: url(/plo/img/web/bb_n.png) 6 fill / 6px stretch; font: 700 14px var(--p-font); }

/* game_npctrade: MainWindow 550 x 480, TabButtons half / half, FlatPanel 250 with 160 x 90 NPCItemBoxes (border #000,
   checked #fff, not affordable / not owned = 55 % dim), setupPanel + buyOptions 105 px, Buy / Close 64 px bottom right */
body.plo-skin .game.classic .window.dlg.npc-trade { width: 550px; height: 480px; max-height: calc(100vh - 20px); display: flex; flex-direction: column; gap: 5px; padding: 0 16px 14px; box-sizing: border-box; }
.npc-trade .nt-tabs { display: flex; gap: 0; }
body.plo-skin .game.classic .npc-trade .nt-tabs button { flex: 1; height: 24px; min-height: 0; border: 0; border-image: url(/plo/img/web/tab_n.png) 4 fill / 4px stretch; background: none; font: 12px var(--p-font); color: #c8c8d0; }
body.plo-skin .game.classic .npc-trade .nt-tabs button[aria-selected="true"] { border-image-source: url(/plo/img/web/tab_p.png); color: #fff; }
.npc-trade .nt-items { height: 250px; flex: none; overflow-y: auto; box-sizing: border-box; padding: 5px; background: #00000040; border: 1px solid #ffffff12; display: grid; grid-template-columns: repeat(auto-fill, 160px); grid-auto-rows: 90px; gap: 4px; justify-content: space-between; align-content: start; }
body.plo-skin .game.classic .npc-trade .nt-box { position: relative; height: 90px; min-height: 0; padding: 3px 2px 0; border: 1px solid #000; border-image: none; background: #00000030; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #aaaaaa; font: 11px Verdana, sans-serif; text-shadow: none; }
.npc-trade .nt-box img { width: 32px; height: 32px; image-rendering: pixelated; }
.npc-trade .nt-box span { white-space: pre-line; text-align: center; line-height: 13px; }
body.plo-skin .game.classic .npc-trade .nt-box:hover { background: #ffffff0d !important; border-image: none; }
body.plo-skin .game.classic .npc-trade .nt-box.on { border-color: #fff; color: #fff; }
.npc-trade .nt-box.off img { opacity: .53; } .npc-trade .nt-box.off span { color: #aaaaaa88; }
.npc-trade .nt-bottom { display: flex; gap: 10px; }
.npc-trade .nt-setup { flex: 1; height: 120px; box-sizing: border-box; padding: 5px; background: #00000040; border: 1px solid #ffffff12; display: flex; flex-direction: column; gap: 3px; font: 11px Verdana, sans-serif; color: #dfdfdf; }
.npc-trade .nt-setup.dis { opacity: .53; }
.npc-trade .nt-l { display: flex; gap: 5px; white-space: nowrap; overflow: hidden; }
.npc-trade .nt-l span { width: 85px; flex: none; color: #bdbdbd; } .npc-trade .nt-l b { font-weight: normal; color: #fff; }
.npc-trade .nt-l .nt-idl { width: auto; margin-left: auto; }
.npc-trade .nt-q { display: flex; align-items: center; gap: 6px; margin-top: auto; } .npc-trade .nt-q input { flex: 1; accent-color: #e09038; } .npc-trade .nt-q output { width: 26px; text-align: right; }
.npc-trade .nt-opts { flex: 1; height: 80px; box-sizing: border-box; padding: 5px; background: #00000040; border: 1px solid #ffffff12; display: flex; flex-direction: column; gap: 3px; font: 11px Verdana, sans-serif; color: #dfdfdf; }
.npc-trade .nt-opts label { display: flex; align-items: center; gap: 5px; } .npc-trade .nt-opts label[hidden] { display: none; }
body.plo-skin .game.classic .npc-trade .nt-search input { flex: 1; height: 22px; box-sizing: border-box; background: #00000066; border: 1px solid #ffffff22; color: #fff; padding: 0 5px; }
.npc-trade .nt-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; }
body.plo-skin .game.classic .npc-trade .nt-foot button { width: 64px; height: 22px; min-height: 0; padding: 0; }
body.plo-skin .game.classic .npc-trade .nt-foot #nt-sellall { width: 64px; }
body.plo-skin .game.classic .window.dlg.npc-trade > .head > button:last-child { display: none; }
body.plo-skin .game.classic .npc-trade .nt-opts label { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 5px; text-align: left; margin: 0; }
body.plo-skin .game.classic .npc-trade .nt-opts label[hidden] { display: none; }
body.plo-skin .game.classic .npc-trade .nt-opts input[type="checkbox"] { width: auto; margin: 0; }
/* game_console talk types: TALKTYPE_CHANNEL_O orange, _R1 red; the NPCs tab: NPC lines in the client's #5FF7F7 */
.gw-console .log .ch-orange { color: #fe6500; }
.gw-console .log .ch-red { color: #f55e5e; }
.gw-console .log .ch-loot { color: #ffffff; }
#log-npcs .npc { color: #5ff7f7; }

/* client_options: MainWindow 490 x 500, a vertical tab bar (96 x 26 buttons with the optionstab icons) left of the pages */
body.plo-skin .game.classic .window.dlg.opt-win { width: 490px; height: 500px; max-height: calc(100vh - 20px); display: flex; flex-direction: column; box-sizing: border-box; }
.opt-win .opt-body { flex: 1; min-height: 0; display: flex; gap: 10px; }
.opt-win .opt-rail { width: 110px; flex: none; display: flex; flex-direction: column; gap: 2px; }
body.plo-skin .game.classic .opt-win .opt-rail button { height: 26px; min-height: 0; display: flex; align-items: center; gap: 6px; padding: 0 6px; text-align: left; border: 4px solid transparent; border-image: url(/plo/img/web/tab_n.png) 4 fill / 4px stretch; background: none; font: 11px Verdana, sans-serif; color: #c8c8d0; }
body.plo-skin .game.classic .opt-win .opt-rail button img { width: 16px; height: 16px; }
body.plo-skin .game.classic .opt-win .opt-rail button[aria-selected="true"] { border-image-source: url(/plo/img/web/tab_p.png); color: #fff; }
.opt-win .opt-pages { flex: 1; min-width: 0; overflow-y: auto; padding: 4px 8px; background: #00000040; border: 1px solid #ffffff12; }
body.plo-skin .game.classic .opt-win .opt-page label { font: 11px Verdana, sans-serif; color: #dfdfdf; display: flex; align-items: center; gap: 6px; }
body.plo-skin .game.classic .opt-win .opt-page label:not(.chk) { justify-content: space-between; }

/* game_encyclopedia: MainWindow 920 x 620; EncTabButton 110 x 26 + a 2 px accent line; Bestiary / Items columns
   168 (categories, RailItemSoft 24 px) | search 22 + rows 40 (30 x 30 art, alternate rows) | detail 320 */
body.plo-skin .game.classic #plo-encyclopedia.window.dlg { width: 920px; height: 620px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body > .plo-row:first-child { gap: 2px; padding-bottom: 0; border-bottom: 2px solid #e09038; margin-bottom: 6px; flex: none; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body > .plo-row:first-child > button { width: 110px; height: 26px; min-height: 0; flex: none; }
body.plo-skin .game.classic #plo-encyclopedia .enc-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cols { flex: 1; min-height: 0; grid-template-columns: 168px minmax(0, 1fr) 320px; gap: 8px; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cols2 { flex: 1; min-height: 0; grid-template-columns: 220px minmax(0, 1fr); }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats, body.plo-skin .game.classic #plo-encyclopedia .enc-list, body.plo-skin .game.classic #plo-encyclopedia .enc-det, body.plo-skin .game.classic #plo-encyclopedia .enc-art { max-height: none; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats { display: flex; flex-direction: column; gap: 0; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats .plo-entry { height: 24px; min-height: 0; flex: none; padding: 0 8px; font: 11px Verdana, sans-serif; color: #c8c8c8; border: 0; background: none; text-align: left; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats .plo-entry:hover { background: #ffffff10 !important; color: #fff; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats .plo-entry.on { background: #5a4a80 !important; color: #fff !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-cats > .enc-p:first-child { order: 99; margin-top: auto; text-align: center; color: #e09038 !important; font: 11px Verdana, sans-serif; padding: 4px 0; }
body.plo-skin .game.classic #plo-encyclopedia .enc-list { display: flex; flex-direction: column; gap: 0; }
body.plo-skin .game.classic #plo-encyclopedia .enc-list > input { height: 22px; flex: none; box-sizing: border-box; margin-bottom: 6px; padding: 0 10px; background: #00000066; border: 1px solid #ffffff1f; color: #fff; font: 11px Verdana, sans-serif; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row { height: 40px; min-height: 0; flex: none; padding: 0 6px; gap: 8px; border: 0; background: #ffffff05; font: 11px Verdana, sans-serif; color: #fff; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row:nth-of-type(even) { background: #ffffff0c; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row:hover { background: #ffffff14 !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row.on { background: #5a4a80 !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row canvas, body.plo-skin .game.classic #plo-encyclopedia .enc-row img { width: 30px !important; height: 30px !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row small { color: #a0a0a8; }
body.plo-skin .game.classic #plo-encyclopedia .enc-list > .plo-row:last-child { margin-top: auto; padding-top: 6px; justify-content: center; }
body.plo-skin .game.classic #plo-encyclopedia .enc-det { padding: 8px; background: #00000030; border: 1px solid #ffffff10; }
body.plo-skin .game.classic #plo-encyclopedia .enc-head h4 { margin: 2px 0 6px; font: 700 16px var(--p-font); color: #fff; }
body.plo-skin .game.classic #plo-encyclopedia .enc-sec { height: 22px; line-height: 22px; margin: 6px 0 2px; padding: 0 6px; background: #e0903822; border: 0; color: #e09038; font: 700 11px Verdana, sans-serif; }
body.plo-skin .game.classic #plo-encyclopedia .enc-stat { height: 20px; align-items: center; margin-bottom: 1px; border-radius: 0; font: 11px Verdana, sans-serif; color: #dcdcdc; }
body.plo-skin .game.classic #plo-encyclopedia .enc-stat span:last-child { color: #fff; }
body.plo-skin .game.classic #plo-encyclopedia .enc-row.on b { color: #fff !important; } body.plo-skin .game.classic #plo-encyclopedia .enc-row.on small { color: #d0d0e0; }
/* game_highscores MainWindow 720 x 600: rail 142 (27 px buttons), rows 30 px, the value with its 3 px bar under it */
body.plo-skin .game.classic .window.dlg.hs-win { width: 720px !important; height: 600px; max-height: calc(100vh - 16px); display: flex; flex-direction: column; }
body.plo-skin .game.classic .hs-win .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.hs-win .hs-wrap { flex: 1; min-height: 0; grid-template-columns: 142px 1fr; }
body.plo-skin .game.classic .plo-win .plo-body .hs-cat { min-height: 0; height: 27px; padding: 0 12px; font: 11px Verdana, sans-serif; border: 1px solid #ffffff14; }
.hs-win .hs-main { min-height: 0; }
.hs-win .hs-list { flex: 1; max-height: none; min-height: 0; }
.hs-win .hs-row { min-height: 30px; }
.hs-win .hs-list .hs-v { display: inline-flex; flex-direction: column; gap: 2px; }
.hs-win .hs-list .hs-v::after { content: ''; height: 3px; width: 100%; background: #e09038; opacity: .8; }
body.plo-skin .game.classic .hs-win .hs-on { display: inline-flex; flex-direction: row; align-items: center; gap: 5px; white-space: nowrap; }
body.plo-skin .game.classic .hs-win .hs-on input { width: auto; margin: 0; }
.hs-win .hs-head { background: #ffffff0c; min-height: 24px; }
.hs-win .hs-my { color: #6fb7ff; }

/* game_deathlist (780 x 600) */
body.plo-skin .game.classic .window.dlg.dl-win { width: 780px; height: 600px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); display: flex; flex-direction: column; }
body.plo-skin .game.classic .dl-win .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; gap: 0; }
.dl-win .dl-tabs { display: flex; gap: 2px; border-bottom: 2px solid #e09038; flex: none; }
body.plo-skin .game.classic .dl-win .dl-tabs button { width: 110px; height: 26px; min-height: 0; }
.dl-win .dl-stats { height: 30px; flex: none; display: flex; align-items: center; gap: 10px; font: 11px Verdana, sans-serif; color: #9a9a9a; }
.dl-win .dl-stats b { color: #e6e6e6; font-weight: 700; } .dl-win .dl-stats b.acc { color: #e09038; }
.dl-win .dl-filter { height: 24px; flex: none; display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.dl-win .dl-filter .grow { flex: 1; }
body.plo-skin .game.classic .dl-win .dl-filter button { width: 56px; height: 22px; min-height: 0; padding: 0; }
body.plo-skin .game.classic .dl-win .dl-filter input { width: 220px; height: 22px; box-sizing: border-box; padding: 0 8px; background: #00000066; border: 1px solid #ffffff1f; color: #fff; font: 11px Verdana, sans-serif; }
.dl-win .dl-head { height: 24px; flex: none; display: flex; align-items: center; background: #ffffff0c; border-bottom: 2px solid #e0903880; font: 700 11px Verdana, sans-serif; color: #e09038; }
.dl-win .dl-head .dl-w { width: 66px; padding-left: 6px; } .dl-win .dl-head .dl-v { margin-left: 42px; flex: 1; } .dl-win .dl-head .dl-k { margin-right: 62px; }
.dl-win .dl-list { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
.dl-win .dl-row { position: relative; display: flex; align-items: center; height: 46px; min-height: 0; padding: 0; gap: 0; grid-template-columns: none; font: 11px Verdana, sans-serif; background: #ffffff05; }
.dl-win .dl-list .dl-row:nth-child(even) { background: #ffffff12; }
.dl-win .dl-list .dl-row:hover { background: #ffffff1a; }
.dl-win .dl-when { width: 66px; padding-left: 6px; color: #8a8a8a; flex: none; }
.dl-win .dl-out { width: 30px; height: 30px; margin-left: 4px; flex: none; display: grid; place-items: center; }
.dl-win .dl-out canvas, .dl-win .dl-out img { width: 30px !important; height: 30px !important; }
.dl-win .dl-victim { display: flex; flex-direction: column; gap: 2px; margin-left: 8px; width: 150px; }
.dl-win .dl-victim small, .dl-win .dl-killer small { color: #9a9a9a; font-size: 11px; }
.dl-win .dl-skull { width: 16px; height: 16px; margin-left: 2px; }
.dl-win .dl-killer { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-right: 8px; }
.dl-win .dl-pre { color: #9a9a9a; }
.dl-win .dl-kout { margin-right: 24px; margin-left: 0; }
.dl-win .dl-empty { text-align: center; color: #888; margin-top: 40px; }
.dl-win .dl-foot { height: 30px; flex: none; display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.dl-win .dl-foot .grow { flex: 1; }
body.plo-skin .game.classic .dl-win .dl-foot .dl-pg { width: 24px; height: 20px; min-height: 0; padding: 0; font-size: 10px; }
body.plo-skin .game.classic .dl-win .dl-foot .dl-arrow { width: 16px; height: 20px; min-height: 0; padding: 0; border: 0; border-image: none; background: none; color: #ddd; }
.dl-win .dl-page { color: #fff; font: 700 11px Verdana, sans-serif; margin: 0 4px; }
body.plo-skin .game.classic .dl-win .dl-foot .dl-fbtn { width: 80px; height: 22px; min-height: 0; padding: 0; }
body.plo-skin .game.classic .dl-win .dl-foot .dl-close { color: #ff8a86; }
.dl-win .dl-out canvas, .dl-win .dl-out img { background: none !important; border: 0 !important; transform: scale(1.35); }

/* game_guildmanagment MainWindow 760 x 600: tabs with the accent line, AccentTint section headers */
body.plo-skin .game.classic .window.dlg.gd-win { width: 760px; height: 600px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); display: flex; flex-direction: column; }
body.plo-skin .game.classic .gd-win .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; gap: 4px; }
body.plo-skin .game.classic .gd-win .plo-body > .plo-row:first-child, body.plo-skin .game.classic .gd-win .plo-body > .plo-row:nth-child(2) { gap: 2px; }
body.plo-skin .game.classic .gd-win .plo-body > .plo-row button.on ~ button, body.plo-skin .game.classic .gd-win .plo-body > .plo-row > button { min-height: 0; height: 26px; min-width: 90px; }
body.plo-skin .game.classic .gd-win .plo-body > .plo-row:first-child { border-bottom: 2px solid #e09038; padding-bottom: 0; }
.gd-win .gd-none { text-align: center; color: #fff; font: 700 11px Verdana, sans-serif; margin: 8px 0; }
.gd-win .gd-sec { margin: 6px 0 2px; padding: 4px 8px; background: #6450a040; color: #e09038; font: 700 11px Verdana, sans-serif; }
.gd-win .gd-sec + .note { padding-left: 8px; }
.gd-win .gd-create { padding-left: 8px; gap: 6px; }
body.plo-skin .game.classic .gd-win .gd-create input { width: 215px; height: 22px; flex: none; box-sizing: border-box; }
body.plo-skin .game.classic .gd-win .gd-create button { height: 22px; min-height: 0; padding: 0 12px; }
.gd-win .gd-hint { padding-left: 8px; color: #707070; font: 11px Verdana, sans-serif; margin: 2px 0; }
.gd-win .gd-foot { margin-top: auto; display: flex; align-items: center; padding-top: 10px; }
.gd-win .gd-browse { flex: 1; color: #6fb7ff; font: 11px Verdana, sans-serif; padding-left: 8px; }
body.plo-skin .game.classic .gd-win .gd-close { width: 66px; height: 22px; min-height: 0; color: #ff8a86; }
/* game_house House Manager MainWindow 900 x 620 */
body.plo-skin .game.classic .window.dlg.ho-win { width: 900px !important; height: 620px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); display: flex; flex-direction: column; }
body.plo-skin .game.classic .ho-win .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
body.plo-skin .game.classic .ho-win .ho-list { flex: 1; min-height: 0; max-height: none !important; overflow-y: auto; }
.ho-win .ho-list .ho-row:first-child { border-left-color: transparent; }
.ho-win .ho-row.on, .ho-win .ho-row:hover { border-left-color: #e09038; }

/* the MainWindow sizes of the PLO modules (their .otui) */
body.plo-skin .game.classic #plo-mm.window.dlg { width: 750px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-mm.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-dungeons.window.dlg { width: 1193px !important; min-height: 700px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-dungeons.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-techniques.window.dlg { width: 704px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-techniques.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-shops.window.dlg { width: 440px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-shops.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-autoloot.window.dlg { width: 380px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-autoloot.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-changevoc.window.dlg { width: 500px !important; min-height: 430px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-changevoc.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-relics.window.dlg { width: 640px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-relics.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-itemmarket.window.dlg { width: 940px !important; min-height: 640px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-itemmarket.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-crafting.window.dlg { width: 560px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-crafting.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-charmarket.window.dlg { width: 860px !important; min-height: 620px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-charmarket.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-daily.window.dlg { width: 600px !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-daily.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-powercores.window.dlg { width: 560px !important; min-height: 330px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-powercores.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-assistant.window.dlg { width: 780px !important; min-height: 566px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-assistant.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
body.plo-skin .game.classic #plo-playermanager.window.dlg { width: 840px !important; min-height: 650px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-playermanager.window.dlg > .plo-body { flex: 1; min-height: 0; overflow-y: auto; }
/* game_relics: RelicSlot 46 (Item 40 on the item frame, slot_lock 16 x 20 at 40 %, the number badge), RelicCell 38 (Item 34) */
.rl-win .rl-slots { gap: 6px; }
.rl-win .rl-slot { width: 46px; height: 46px; box-sizing: border-box; border: 2px solid transparent; background: #ffffff08; }
.rl-win .rl-slot::before { content: ''; position: absolute; left: 3px; top: 3px; width: 40px; height: 40px; background: url(/plo/img/ui/item.png) center / 100% 100%; z-index: 0; }
.rl-win .rl-slot > * { position: relative; z-index: 1; }
.rl-win .rl-slot.locked { background: #ffffff08; }
.rl-win .rl-slot.locked::after { content: ''; position: absolute; left: 15px; top: 13px; width: 16px; height: 20px; background: url(/plo/img/relics/slot_lock.png) center / contain no-repeat; opacity: .4; z-index: 1; }
.rl-win .rl-slot small { position: absolute; left: 1px; bottom: 1px; right: auto; width: 14px; height: 12px; line-height: 12px; background: #000000aa; color: #fff; font: 11px var(--p-font); text-align: center; z-index: 2; }
.rl-win .rl-cell { width: 38px; height: 38px; box-sizing: border-box; border: 2px solid transparent; background: #ffffff08 url(/plo/img/ui/item.png) center / 34px 34px no-repeat; }
.rl-win .rl-cell:hover { background-color: #ffffff1c; border-color: transparent; }
.rl-win .rl-cell.sel { border-color: #e09038; background-color: #ffffff08; }
.rl-win .rl-grid { grid-template-columns: repeat(auto-fill, 38px); gap: 4px; max-height: none; min-height: 210px; }
body.plo-skin .game.classic #plo-relics.window.dlg { min-height: 486px; }
/* game_autoloot 380 x 568: the list fills, item frames, ON / OFF 70 x 26, the SLOTS pill, the pet card 160 x 116 */
body.plo-skin .game.classic #plo-autoloot.window.dlg { min-height: 568px; }
body.plo-skin .game.classic #plo-autoloot > .plo-body { display: flex; flex-direction: column; gap: 8px; }
.al-win .al-list { flex: 1; height: auto; min-height: 160px; }
.al-win .al-row { padding: 4px 6px; min-height: 40px; box-sizing: border-box; }
.al-win .al-ic { width: 32px; height: 32px; background: url(/plo/img/ui/item.png) center / 100% 100%; }
.al-win .al-row b { font: 700 12px var(--p-title); } .al-win .al-row small { font-size: 10px; }
body.plo-skin .game.classic .plo-win .plo-body .al-win .al-tg, body.plo-skin .game.classic #plo-autoloot .al-tg { width: 68px; height: 26px; min-height: 0; font: 700 13px var(--p-title); }
.al-win .al-slots { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: #00000066; border: 1px solid #ffffff22; color: #4a8cff; font: 700 11px var(--p-title); }
.al-win .al-slots b { color: #fff; font: 700 13px var(--p-title); margin: 0; }
.al-win .al-slots::before { content: ''; width: 8px; height: 8px; background: #4a8cff; }
.al-win .al-petbox { width: 160px; height: 116px; box-sizing: border-box; justify-content: space-between; }
.al-win .al-petbox b { font: 700 14px var(--p-title); align-self: stretch; text-align: center; background: #00000055; padding: 2px 0; }
.al-win .al-pic canvas { width: 64px !important; height: 64px !important; }
.al-win .al-state { color: #e09038; font: 600 11px var(--p-title); }
body.plo-skin .game.classic #plo-autoloot .al-pet > button { width: 30px; height: 46px; min-height: 0; padding: 0; font: 700 16px var(--p-title); }
body.plo-skin .game.classic #plo-autoloot .al-acts button { height: 32px; min-height: 0; font: 700 14px var(--p-title); }
/* game_powercores 560 x 330: rajdhani headings, 34 px Item frames, 14 px bonus lines */
body.plo-skin .game.classic #plo-powercores.window.dlg { min-height: 330px; }
.pc-win .pc-cols { flex: 1; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-win .pc-box { padding: 12px 14px; }
.pc-win .pc-h { font: 600 16px var(--p-title); } .pc-win .pc-h span { color: #fff; font: 600 14px var(--p-title); }
.pc-win .pc-grid { grid-template-columns: repeat(5, 34px); gap: 4px; margin-top: 14px; }
.pc-win .pc-cell { border: 0; background: url(/plo/img/ui/item.png) center / 100% 100%; }
.pc-win .pc-cell.on { background-color: transparent; }
.pc-win .pc-b { font: 14px var(--p-font); color: #fff; line-height: 18px; }
.pc-win .pc-box:last-child .pc-h { margin-bottom: 10px; }

/* game_spelllist "Techniques": the art IS the window (704 x 620, techniques_background 704 x 525 stretched downwards:
   border 110 / 16 / 20), no title bar, padding 108 20 24; search 236 + group tabs + Available only; TechniqueRows 44 px
   (spell_empty slot 40 with the 32 icon, inter 12 bold name, "Level: n"), Close at the bottom right */
body.plo-skin .game.classic .window.dlg.sp-win { width: 704px !important; height: 620px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box;
  border: solid transparent; border-width: 110px 16px 20px; border-image: url(/plo/img/ui/techniques_background.png) 110 16 20 fill / 110px 16px 20px stretch; background: none; padding: 0 4px 4px; display: flex; flex-direction: column; box-shadow: 0 10px 40px #000a; }
body.plo-skin .game.classic .window.dlg.sp-win > .head { position: absolute; top: -110px; left: -16px; right: -16px; height: 96px; background: none; border: 0; cursor: move; }
body.plo-skin .game.classic .window.dlg.sp-win > .head h3 { visibility: hidden; }
body.plo-skin .game.classic .window.dlg.sp-win > .head > button { display: none; }
body.plo-skin .game.classic .sp-win > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; background: none; }
.sp-win .sp-banner { display: none; }
.sp-win .sp-cols { flex: 1; min-height: 0; grid-template-columns: 236px 1fr; gap: 12px; margin-top: -2px; }
.sp-win .sp-left { min-height: 0; }
body.plo-skin .game.classic .sp-win .sp-left > input { height: 24px; box-sizing: border-box; background: #00000080; border: 1px solid #ffffff1f; padding: 0 9px; font: 11px Verdana, sans-serif; color: #fff; }
.sp-win .sp-list { flex: 1; height: auto; min-height: 0; background: #0000004d; }
.sp-win .sp-row { min-height: 44px; height: 44px; box-sizing: border-box; padding: 2px 4px; gap: 8px; }
.sp-win .sp-row .plo-thumb { width: 32px; height: 32px; padding: 4px; background: url(/plo/img/ui/spell_empty.png) center / 40px 40px no-repeat; box-sizing: content-box; }
.sp-win .sp-row b { font: 700 12px var(--p-font); color: #d2d2d2; } .sp-win .sp-row.on b { color: #fff; }
.sp-win .sp-row small { font: 11px var(--p-font); color: #9a9aa2; }
.sp-win .sp-tip { margin-top: 6px; }
.sp-win .sp-foot { flex: none; padding-top: 8px; }
.sp-win .sp-pts { font: 600 14px var(--p-title); }
body.plo-skin .game.classic .sp-win .sp-foot button { width: 80px; height: 24px; min-height: 0; color: #ff8a86; }

/* ---- game_assistant (assistant.otui): power switch, rail with icons + lamps, page card over its switch bar, footer ---- */
body.plo-skin .game.classic #plo-assistant.window.dlg { width: 780px !important; height: 566px; min-height: 0; }
#plo-assistant .plo-body { display: flex; flex-direction: column; gap: 8px; overflow: hidden !important; padding: 6px 10px 8px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-power { align-self: center; width: 250px; height: 26px; flex: none; font: 600 16px Rajdhani, Inter, sans-serif; color: #fff !important; background: #8c2f2f !important; border: 1px solid #c14540 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-power:hover { background: #a33838 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-power.on { background: #3f8a2a !important; border-color: #7ed957 !important; }
#plo-assistant .as-main { flex: 1; min-height: 0; display: flex; gap: 10px; }
#plo-assistant .as-rail { width: 150px; flex: none; display: flex; flex-direction: column; gap: 6px; }
#plo-assistant .as-tabs { display: flex; flex-direction: column; gap: 4px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-tab { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 9px; text-align: left; font: 500 16px Rajdhani, Inter, sans-serif; color: #d6d6dc !important; background: transparent !important; border: 1px solid transparent !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-tab:hover { background: #ffffff0f !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-tab.on { background: #ffffff12 !important; color: #f0b468 !important; font-weight: 600; }
#plo-assistant .as-tab img { width: 24px; height: 24px; flex: none; }
.as-lamp { width: 8px; height: 8px; flex: none; background: #5a5a62; display: inline-block; }
.as-lamp.on { background: #7ed957; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-setup { height: 26px; }
#plo-assistant .as-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px; background: #2a2238; border: 1px solid #ffffff14; }
#plo-assistant .as-pages { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-switch { height: 26px; flex: none; font: 700 12px Inter, sans-serif; color: #fff !important; background: #8c2f2f !important; border: 1px solid #c14540 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-switch.on { background: #3f8a2a !important; border-color: #7ed957 !important; }
#plo-assistant .as-title { color: #e09038; font: 600 16px Rajdhani, Inter, sans-serif; letter-spacing: .3px; }
#plo-assistant .as-hint { color: #8a8a92; font-size: 11px; }
#plo-assistant .as-note { margin-top: auto; }
#plo-assistant .as-list { flex: 1; min-height: 60px; overflow-y: auto; background: #00000033; border: 1px solid #ffffff12; padding: 2px; display: flex; flex-direction: column; gap: 2px; }
#plo-assistant .as-empty { margin: auto; padding: 10px; text-align: center; color: #8a8a92; font-size: 12px; max-width: 420px; }
#plo-assistant .as-row { height: 44px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 6px 0 8px; background: #ffffff05; }
#plo-assistant .as-row:hover { background: #ffffff12; }
#plo-assistant .as-row.as-nrow { height: 30px; }
#plo-assistant .as-row.on .as-name { color: #f0b468; }
#plo-assistant .as-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: #00000059; border: 1px solid #ffffff22; box-sizing: border-box; }
#plo-assistant .as-icon img, #plo-assistant .as-icon canvas { width: 32px; height: 32px; }
#plo-assistant .as-namecol { flex: 1; min-width: 0; display: flex; flex-direction: column; margin-left: 4px; }
#plo-assistant .as-name { color: #e6e6ea; font: 600 16px Rajdhani, Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#plo-assistant .as-name.long { font: 500 11px Inter, sans-serif; }
#plo-assistant .as-sub { color: #8a8a92; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#plo-assistant .as-sub.bad, #plo-assistant .as-state.bad { color: #ff6b6b; }
#plo-assistant .as-lbl { color: #9a9aa2; font-size: 11px; white-space: nowrap; }
body.plo-skin .game.classic #plo-assistant .as-check { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; flex: none; color: #d6d6dc; font-size: 12px; cursor: pointer; }
body.plo-skin .game.classic #plo-assistant .as-check input { margin: 0; vertical-align: 0; flex: none; }
#plo-assistant .as-step { width: 84px; height: 22px; flex: none; display: flex; }
body.plo-skin .game.classic #plo-assistant .plo-body .as-step button { width: 18px; min-width: 0; height: 22px; padding: 0; font: 700 12px Inter, sans-serif; color: #d6d6dc !important; background: #ffffff0c !important; border: 1px solid #ffffff22 !important; }
#plo-assistant .as-step-v { flex: 1; display: grid; place-items: center; background: #00000059; color: #fff; font: 700 12px Inter, sans-serif; }
#plo-assistant .as-step.off { opacity: .35; pointer-events: none; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-mini { width: 20px; min-width: 0; height: 20px; padding: 0; flex: none; font-size: 11px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-stat { width: 62px; height: 22px; padding: 0; flex: none; font: 700 12px Inter, sans-serif; color: #ff8a8a !important; background: #ff4d4d26 !important; border: 1px solid #ff4d4d66 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-stat.on { color: #c4aef5 !important; background: #8a6cc033 !important; border-color: #8a6cc099 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-kind, body.plo-skin .game.classic #plo-assistant .plo-body button.as-fight { width: 72px; height: 22px; padding: 0; flex: none; font: 400 11px Inter, sans-serif; color: #f0b468 !important; background: #3a3054 !important; border: 1px solid #e0903855 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-kind.on { color: #9a9aa2 !important; background: #ffffff0c !important; border-color: #ffffff22 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-fight { width: 60px; color: #9a9aa2 !important; background: #ffffff0c !important; border-color: #ffffff22 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-fight.on { color: #f0b468 !important; background: #3a3054 !important; border-color: #e0903855 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-ghost { background: #ffffff0c !important; color: #d6d6dc !important; border: 1px solid #ffffff2a !important; height: 26px; padding: 0 12px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-ghost:hover { border-color: #e09038 !important; color: #fff !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-ghost.on { border-color: #e09038 !important; color: #f0b468 !important; }
#plo-assistant .as-addrow { display: flex; align-items: center; gap: 6px; flex: none; }
#plo-assistant .as-addrow input, #plo-assistant .as-search { height: 24px; box-sizing: border-box; background: #00000059; border: 1px solid #ffffff22; color: #fff; padding: 0 8px; font-size: 12px; }
#plo-assistant .as-addrow input { flex: 1; min-width: 0; }
#plo-assistant .as-drop { width: 36px; height: 36px; flex: none; box-sizing: border-box; display: grid; place-items: center; background: #5a4a7a66; border: 1px solid #ffffff33; }
#plo-assistant .as-drop:hover { border-color: #e09038; }
#plo-assistant .as-two { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#plo-assistant .as-left, #plo-assistant .as-right { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
#plo-assistant .as-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-mode { height: 26px; color: #d6d6dc !important; background: #ffffff0c !important; border: 1px solid #ffffff22 !important; }
body.plo-skin .game.classic #plo-assistant .plo-body button.as-mode.on { color: #302840 !important; background: #e09038 !important; border-color: #e09038 !important; font-weight: 700; }
#plo-assistant .as-line { display: flex; align-items: center; gap: 8px; }
#plo-assistant .as-sep { height: 1px; background: #ffffff14; margin: 4px 0; flex: none; }
#plo-assistant .as-headrow { display: flex; align-items: flex-end; gap: 6px; flex: none; }
#plo-assistant .as-head { color: #8a8a92; font-size: 11px; text-align: center; }
#plo-assistant .as-h-range, #plo-assistant .as-h-monsters { width: 84px; } #plo-assistant .as-h-pvp { width: 30px; margin-right: 78px; }
#plo-assistant .as-pvp { width: 30px; justify-content: center; }
#plo-assistant .as-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: none; }
#plo-assistant .as-card { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px; background: #ffffff08; border: 1px solid #ffffff14; cursor: pointer; }
#plo-assistant .as-card .as-sub { white-space: normal; }
#plo-assistant .as-alarms { display: flex; flex-direction: column; gap: 4px; flex: none; }
#plo-assistant .as-alarm { display: flex; align-items: center; gap: 10px; height: 24px; }
#plo-assistant .as-alarm.indent { padding-left: 22px; }
#plo-assistant .as-timers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
#plo-assistant .as-timer { display: flex; align-items: center; gap: 6px; padding: 4px 6px; background: #ffffff05; }
#plo-assistant .as-pick { cursor: pointer; }
#plo-assistant .as-pick.on { opacity: .55; cursor: default; }
#plo-assistant .as-state { color: #9a9aa2; font-size: 11px; width: 80px; text-align: right; }
#plo-assistant .as-pickbtn { flex: 1; text-align: left; }
#plo-assistant .as-foot { height: 28px; flex: none; display: flex; align-items: center; gap: 8px; }
body.plo-skin .game.classic #plo-assistant .plo-body .as-foot button { width: 100px; }
body.plo-skin .game.classic #plo-assistant .plo-body .as-foot button.as-close { width: 90px; }
#plo-assistant .as-info { color: #9a9aa2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#plo-assistant .as-info.ok { color: #7ed957; } #plo-assistant .as-info.bad { color: #ff8a8a; }
#plo-assistant .grow, .as-hud .grow { flex: 1; }
body.plo-skin .game.classic #plo-assistant-confirm.window.dlg { width: 380px !important; }
.as-hud { position: absolute; z-index: 40; width: 124px; box-sizing: border-box; padding: 4px; display: flex; flex-direction: column; gap: 2px; background: #1c1626e6; border: 1px solid #e0903855; }
.as-hud-title { height: 18px; line-height: 18px; text-align: center; color: #e09038; font: 11px Inter, sans-serif; cursor: move; user-select: none; }
.as-hud-chips { display: flex; flex-direction: column; gap: 2px; }
body.plo-skin .as-hud .as-chip, .as-chip { border: 0 !important; border-image: none !important; height: 20px; display: flex; align-items: center; gap: 6px; padding: 0 6px; text-align: left; font: 11px Inter, sans-serif; color: #9a9aa2; background: #ffffff08; border: 0; cursor: pointer; }
.as-chip:hover { background: #ffffff1c; } .as-chip.on { color: #fff; }
/* WoNO Shops chooser: two 195x380 cards that are halves of one artwork */
body.plo-skin .game.classic .plo-win .plo-body .shc-card { height: 380px !important; background-size: 100% 100% !important; }
/* Time Patrol (game_dungeons): the cards fill the window like the client's anchored panels */
body.plo-skin .game.classic #plo-dungeons.window.dlg { height: 700px; }
body.plo-skin .game.classic #plo-dungeons.window.dlg > .plo-body { display: flex; flex-direction: column; overflow: hidden; }
#plo-dungeons .tp2-cols { flex: 1; min-height: 0; grid-template-columns: 180px 1fr; }
#plo-dungeons .tp2-left { min-height: 0; } #plo-dungeons .tp2-list { flex: 1; height: auto; min-height: 0; }
#plo-dungeons .tp2-row { min-height: 44px; }
#plo-dungeons .tp2-info { min-height: 0; }
#plo-dungeons .tp2-banner { height: 105px; flex: none; }
#plo-dungeons .tp2-diff { height: 128px; justify-content: center; font-size: 10px; }
#plo-dungeons .tp2-diff.lock { background-size: auto 70%; }
#plo-dungeons .tp2-grid { flex: 1; min-height: 0; grid-template-rows: 1fr 1fr; }
#plo-dungeons .tp2-card { min-height: 0; }
#plo-dungeons .tp2-chal { max-height: none; flex: 1; }
#plo-dungeons .tp2-wait { font: 400 15px 'Courier New', monospace; letter-spacing: 1px; }
#plo-dungeons .tp2-waitl { font: 400 13px 'Courier New', monospace; margin-top: auto; }
body.plo-skin .game.classic #plo-dungeons .plo-body .tp2-join { margin-bottom: auto; min-width: 94px; }
/* Mission Manager: Missions / Quests tables (mission_list.otui, quest_list.otui) and the Info overlay (mission_detail.otui) */
body.plo-skin .game.classic #plo-mm.window.dlg { height: 550px; }
body.plo-skin .game.classic #plo-mm.window.dlg > .plo-body { display: flex; flex-direction: column; overflow: hidden; }
#plo-mm .mm-page { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: auto; }
#plo-mm .ms-tab { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#plo-mm .ms-head { height: 30px; flex: none; position: relative; background: #ffffff0a; border-bottom: 2px solid #e09038; margin-right: 5px; font: 11px Verdana, sans-serif; color: #e09038; }
#plo-mm .ms-head span { position: absolute; top: 8px; }
#plo-mm .ms-hn { left: 75px; } #plo-mm .ms-hl { left: 280px; } #plo-mm .ms-hs { left: 440px; } #plo-mm .ms-hd { right: 55px; }
#plo-mm .ms-quests .ms-hl { left: 250px; } #plo-mm .ms-quests .ms-hs { left: 400px; }
#plo-mm .ms-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0 5px 8px; padding: 1px; background: #00000040; border: 1px solid #ffffff14; }
#plo-mm .ms-row { height: 56px; margin-bottom: 2px; display: flex; align-items: center; background: #ffffff05; cursor: pointer; font: 11px Verdana, sans-serif; }
#plo-mm .ms-row:hover { background: #ffffff0f; } #plo-mm .ms-row.on { background: #5a4a80; }
#plo-mm .ms-npc { width: 45px; height: 45px; flex: none; margin-left: 8px; background: url(/plo/img/game/saga/npc.png) center / 45px 45px no-repeat; display: grid; place-items: center; overflow: hidden; }
#plo-mm .ms-npc img { width: 45px; height: 45px; object-fit: contain; image-rendering: pixelated; }
#plo-mm .ms-n { width: 180px; margin-left: 10px; color: #fff; }
#plo-mm .ms-l { width: 70px; margin-left: 30px; text-align: center; }
#plo-mm .ms-s { width: 200px; margin-left: 80px; }
#plo-mm .ms-quests .ms-n { width: 160px; } #plo-mm .ms-quests .ms-l { width: 90px; margin-left: 5px; } #plo-mm .ms-quests .ms-s { width: 230px; margin-left: 10px; color: #e7e7e7; font-size: 10px; }
body.plo-skin .game.classic #plo-mm .plo-body button.ms-info { width: 80px; height: 28px; margin: 0 30px 0 auto; flex: none; }
#plo-mm .ms-filter { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 5px; height: 26px; }
#plo-mm .ms-filter input:not([type]) { width: 180px; height: 22px; box-sizing: border-box; background: #00000059; border: 1px solid #ffffff22; color: #fff; padding: 0 6px; font: 11px Verdana, sans-serif; }
#plo-mm .ms-filter input:not([type])::placeholder { color: #e09038; }
body.plo-skin .game.classic #plo-mm .ms-chk { display: flex; flex-direction: row; align-items: center; color: #e7e7e7; font: 11px Verdana, sans-serif; }
#plo-mm .ms-chk:first-of-type { margin-left: auto; }
#plo-mm .plo-foot .mm-note { color: #aaa; font-size: 11px; }
body.plo-skin .game.classic #plo-mm .plo-body button.ms-close { width: 80px; color: #fff !important; background: #8c2f2f !important; border-color: #c14540 !important; }
#plo-mm .md-box { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; padding: 0 5px; }
#plo-mm .md-top { display: flex; align-items: center; gap: 14px; flex: none; }
body.plo-skin .game.classic #plo-mm .plo-body button.md-back { width: 84px; height: 24px; }
#plo-mm .md-title { color: #e09038; font: 600 16px Rajdhani, Inter, sans-serif; }
#plo-mm .md-card { background: #ffffff0c; border: 1px solid #ffffff14; flex: none; }
#plo-mm .md-head { height: 78px; display: flex; align-items: center; margin-top: 4px; box-sizing: border-box; }
#plo-mm .md-npc { width: 52px; height: 52px; margin-left: 14px; background-size: 52px 52px; } #plo-mm .md-npc img { width: 52px; height: 52px; }
#plo-mm .md-hr { flex: 1; margin: 0 14px; display: flex; flex-direction: column; gap: 10px; }
#plo-mm .md-line { display: flex; align-items: center; gap: 8px; font: 11px Inter, sans-serif; }
#plo-mm .md-chip { padding: 2px 8px; background: #00000040; border: 1px solid #ffffff1a; font-weight: 700; }
#plo-mm .md-lv { color: #fff; } #plo-mm .md-giver { color: #9a9a9a; margin-left: 4px; } #plo-mm .md-step { color: #c8c8c8; }
#plo-mm .md-bar { position: relative; height: 15px; background: #00000059; border: 1px solid #ffffff1a; }
#plo-mm .md-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#f0b468, #c87a28); }
#plo-mm .md-bar span { position: relative; display: block; text-align: center; font: 700 10px/15px Inter, sans-serif; color: #fff; }
#plo-mm .md-sbar { height: 13px; margin-top: 4px; } #plo-mm .md-sbar span { line-height: 13px; }
#plo-mm .md-sec { color: #e09038; font: 600 13px Inter, sans-serif; margin-top: 6px; flex: none; }
#plo-mm .md-steps { flex: 1; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; }
#plo-mm .md-srow { display: flex; gap: 12px; padding: 4px 18px 4px 8px; background: #ffffff05; }
#plo-mm .md-srow.alt { background: #ffffff0c; }
#plo-mm .md-dot { width: 9px; height: 9px; flex: none; margin-top: 5px; }
#plo-mm .md-stext { font: 12px Inter, sans-serif; line-height: 18px; }
#plo-mm .md-rew { min-height: 60px; padding: 6px 10px; display: flex; flex-direction: column; gap: 4px; color: #ffcc44; font-size: 11px; }
#plo-mm .ms-row { font-weight: 700; }
body.plo-skin .game.classic #plo-mm .plo-body button.ms-info { background: #1d1828 !important; border: 1px solid #e0903899 !important; color: #fff !important; font-weight: 700; }
/* Daily Boss (game_dailyboss, 752x500): 7 cards of 96x120 a row, the chosen boss, FIGHT */
body.plo-skin .game.classic #plo-dailyboss.window.dlg { width: 752px !important; height: 500px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); box-sizing: border-box; display: flex; flex-direction: column; }
#plo-dailyboss > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.db-h { text-align: center; color: #e09038; font: 600 16px Rajdhani, Inter, sans-serif; letter-spacing: .3px; }
.db-grid { display: grid; grid-template-columns: repeat(7, 96px); grid-auto-rows: 120px; gap: 8px; margin-top: 8px; height: 248px; align-content: start; }
.db-cell { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; padding: 4px; background: #ffffff08; border: 1px solid #ffffff14; cursor: pointer; }
.db-cell:hover { border-color: #e0903899; } .db-cell.on { border-color: #e09038; background: #ffffff10; }
.db-tag { align-self: stretch; height: 16px; line-height: 16px; text-align: center; background: #00000059; color: #9a9aa2; font: 11px Inter, sans-serif; }
.db-cell.on .db-tag { background: #e09038; color: #fff; }
.db-pw { position: relative; width: 76px; height: 76px; margin-top: 4px; }
.db-pic { width: 76px; height: 76px; object-fit: cover; display: block; border: 0; }
.db-veil { position: absolute; inset: 0; background: #000000c0 url(/plo/img/lock.png) center / 26px 32px no-repeat; }
.db-cell > span { margin-top: 3px; color: #fff; font: 11px Inter, sans-serif; text-align: center; white-space: nowrap; }
.db-det { height: 92px; flex: none; box-sizing: border-box; margin-top: 10px; padding: 10px; background: #ffffff08; border: 1px solid #ffffff14; display: flex; gap: 10px; }
.db-dl { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.db-name { color: #e09038; font: 600 16px Rajdhani, Inter, sans-serif; }
.db-req { color: #d6d6dc; font: 12px Inter, sans-serif; margin-top: 3px; }
.db-rw { color: #8a8a92; font-size: 11px; margin-top: auto; }
.db-drops { display: flex; flex-direction: column; align-items: flex-end; }
.db-dropl { display: flex; gap: 4px; margin-top: 6px; }
.db-drop { width: 38px; height: 38px; display: grid; place-items: center; background: #00000040; border: 1px solid #e0903866; box-sizing: border-box; }
.db-note { text-align: center; font: 12px Inter, sans-serif; margin: auto 0 8px; }
.db-low { position: relative; height: 34px; flex: none; display: flex; align-items: flex-end; }
.db-cnt { display: flex; flex-direction: column; }
.db-left { font: 600 16px Rajdhani, Inter, sans-serif; }
body.plo-skin .game.classic .plo-win .plo-body .db-fight { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 150px; height: 28px; }
body.plo-skin .game.classic .plo-win .plo-body .db-close { margin-left: auto; width: 90px; }
/* crafting.otui: the five category buttons (120/112/98/88/100 wide) and the Craft button with its item */
.cr-tabs { display: flex !important; justify-content: center; gap: 0 !important; }
body.plo-skin .game.classic .plo-win .plo-body .cr-tab { flex: none; height: 34px; justify-content: flex-start; padding: 0 4px; gap: 2px; }
body.plo-skin .game.classic .plo-win .plo-body .cr-tab canvas, body.plo-skin .game.classic .plo-win .plo-body .cr-go canvas { width: 32px; height: 32px; }
body.plo-skin .game.classic .plo-win .plo-body .cr-go { display: flex; align-items: center; gap: 2px; width: 80px; height: 34px; padding: 0 4px; background-image: none !important; }
/* game_teleports (450x440): header strip, 54px rows (44px picture, name + planet), Teleport / Exit strip */
body.plo-skin .game.classic #plo-teleports.window.dlg { width: 450px !important; height: 440px; display: flex; flex-direction: column; }
#plo-teleports > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 6px 8px 8px; overflow: hidden; }
#plo-teleports .tp-head { height: 50px; flex: none; box-sizing: border-box; display: grid; place-items: center; padding: 0; background: #151d2899; border: 0; border-bottom: 2px solid #465975; color: #ffb74d; font: 700 11px Verdana, sans-serif; }
#plo-teleports .tp-list { flex: 1; min-height: 0; max-height: none; margin: 10px; padding: 1px; gap: 0; background: #0d131d99; border: 1px solid #465975; }
#plo-teleports .tp-row { height: 54px; flex: none; box-sizing: border-box; margin-bottom: 4px; padding: 0 0 0 5px; gap: 12px; background: #151d2899; border: 1px solid #465975; }
#plo-teleports .tp-row:hover { background: #1e293f; border-color: #7a9dcc; }
#plo-teleports .tp-row.on { background: #253452; border-color: #ffb74d; }
#plo-teleports .tp-ico { width: 44px; height: 44px; border: 0; object-fit: cover; }
#plo-teleports .tp-row b { color: #ddd; font: 700 11px Verdana, sans-serif; line-height: 13px; }
#plo-teleports .tp-row.on b { color: #fff; }
#plo-teleports .tp-foot { height: 60px; flex: none; box-sizing: border-box; display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding: 0 0 15px; background: #151d2899; border-top: 2px solid #465975; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot button { width: 150px; height: 30px; color: #fff !important; font: 700 11px Verdana, sans-serif; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-go { background: #253452 !important; border: 1px solid #465975 !important; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-go:hover { background: #36486d !important; border-color: #7a9dcc !important; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-exit { background: #392531 !important; border: 1px solid #794757 !important; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-exit:hover { background: #54303d !important; border-color: #a05970 !important; }
/* classic theme: both buttons are the dark amber-framed ones */
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-go, body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-exit { background: #2a2133 !important; border: 1px solid #e09038 !important; box-shadow: inset 0 0 0 1px #00000080; }
body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-go:hover, body.plo-skin .game.classic #plo-teleports .plo-body .tp-foot .tp-exit:hover { background: #3a2f4a !important; }
#plo-teleports > .plo-body { padding: 4px 6px 6px; }
#plo-teleports .tp-list { margin: 10px 10px; }
/* Mission Manager Task tab (task.otui) */
#plo-mm .tk-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 232px 1fr; gap: 12px; }
#plo-mm .tk-left { min-height: 0; display: flex; flex-direction: column; gap: 6px; }
#plo-mm .tk-list { flex: 1; min-height: 0; overflow-y: auto; background: #00000040; border: 1px solid #ffffff14; padding: 1px; }
#plo-mm .tk-row { height: 58px; display: flex; align-items: center; gap: 10px; margin-bottom: 0; border-bottom: 1px solid #00000066; background: #ffffff05; cursor: pointer; }
#plo-mm .tk-row:hover { background: #ffffff0f; } #plo-mm .tk-row.on { background: #5a4a80; }
#plo-mm .tk-row span { display: flex; flex-direction: column; } #plo-mm .tk-row b { color: #fff; font: 700 11px Verdana, sans-serif; line-height: 14px; }
#plo-mm .tk-filter { height: 24px; box-sizing: border-box; background: #00000059; border: 1px solid #e09038; color: #fff; padding: 0 6px; font: 11px Verdana, sans-serif; }
#plo-mm .tk-filter::placeholder { color: #e09038; }
#plo-mm .tk-chk { margin: 0 !important; }
#plo-mm .tk-right { min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
#plo-mm .tk-head { height: 40px; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 10px; background: #ffffff0a; border-bottom: 2px solid #e09038; }
#plo-mm .tk-title { color: #e09038; font: 600 18px Rajdhani, Inter, sans-serif; }
body.plo-skin .game.classic #plo-mm .plo-body button.tk-btn { min-width: 100px; height: 30px; padding: 0 12px; background: #1d1828 !important; border: 1px solid #e0903899 !important; color: #fff !important; font: 700 11px Verdana, sans-serif; }
#plo-mm .tk-card { background: #ffffff08; border: 1px solid #ffffff14; padding: 8px 10px 12px; flex: none; }
#plo-mm .tk-ch { text-align: center; color: #e09038; font: 11px Verdana, sans-serif; margin-bottom: 10px; }
#plo-mm .tk-cr { display: flex; align-items: center; gap: 14px; min-height: 52px; }
#plo-mm .tk-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
#plo-mm .tk-kv { font: 700 11px Verdana, sans-serif; } #plo-mm .tk-kv span { color: #e09038; margin-right: 5px; } #plo-mm .tk-kv b { color: #fff; }
#plo-mm .tk-rew { align-items: flex-start; } #plo-mm .tk-w { display: flex; flex-direction: column; margin-left: 60px; } #plo-mm .tk-w b { color: #fff; font: 700 11px Verdana, sans-serif; line-height: 14px; }
.mt-box { position: absolute; right: 270px; top: 220px; z-index: 40; width: 190px; padding: 0 0 8px; background: #241d30f0; border: 1px solid #e0903866; font: 11px Inter, sans-serif; color: #d6d6dc; }
.mt-h { display: flex; align-items: center; height: 20px; padding: 0 6px; background: #5a4a80; color: #fff; font-weight: 700; }
.mt-x { background: none; border: 0; color: #fff; cursor: pointer; font-size: 14px; padding: 0 2px; }
.mt-sec { color: #e09038; text-align: center; font-weight: 700; margin: 8px 0 4px; }
.mt-name { text-align: center; color: #fff; margin-bottom: 4px; }
.mt-kv { display: flex; justify-content: space-between; padding: 0 10px; } .mt-kv b { color: #fff; }
.mt-btn { display: block; width: calc(100% - 15px); margin: 6px 8px 0 7px; height: 22px; }
#plo-mm .tk-right { overflow: hidden; } #plo-mm .tk-card { flex: 1; display: flex; flex-direction: column; } #plo-mm .tk-cr { flex: 1; }
#plo-mm .tk-ch { font-weight: 700; }
/* Encyclopedia Items tab (screenshot 7): bold Verdana rail, search + Sort on one line, 36px item rows with
   the stats on the right, the card's sections on a violet strip, the pager / count / Refresh / Close footer */
body.plo-skin .game.classic #plo-encyclopedia .enc-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
body.plo-skin .game.classic #plo-encyclopedia .enc-items { grid-template-columns: 160px minmax(0, 1fr) 318px; }
body.plo-skin .game.classic #plo-encyclopedia .enc-items .enc-cats .plo-entry { font-weight: 700; color: #c8c8c8; }
body.plo-skin .game.classic #plo-encyclopedia .enc-items .enc-cats .plo-entry.on { background: #ffffff0c !important; color: #e09038 !important; }
#plo-encyclopedia .enc-itop { display: flex; gap: 8px; flex: none; margin-bottom: 6px; }
#plo-encyclopedia .enc-itop input { flex: 1; min-width: 0; height: 22px; box-sizing: border-box; padding: 0 10px; background: #00000066; border: 1px solid #ffffff1a; color: #fff; font: 11px Verdana, sans-serif; }
#plo-encyclopedia .enc-itop select { width: 116px; height: 22px; background: #1d1828; border: 1px solid #e09038; color: #fff; font: 700 11px Verdana, sans-serif; }
#plo-encyclopedia .enc-irows { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
body.plo-skin .game.classic #plo-encyclopedia .enc-irow { height: 36px; min-height: 0; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 8px; border: 0; background: #ffffff05; text-align: left; }
body.plo-skin .game.classic #plo-encyclopedia .enc-irow:nth-child(even) { background: #ffffff0c; }
body.plo-skin .game.classic #plo-encyclopedia .enc-irow:hover { background: #ffffff14 !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-irow.on { background: #5a4a80 !important; }
#plo-encyclopedia .enc-irow b { color: #fff; font: 700 11px Verdana, sans-serif; }
#plo-encyclopedia .enc-ist { color: #a8a8b0; font: 700 11px Verdana, sans-serif; white-space: nowrap; }
#plo-encyclopedia .enc-irow canvas { width: 28px !important; height: 28px !important; }
body.plo-skin .game.classic #plo-encyclopedia .enc-items .enc-sec { background: #ffffff0c; }
#plo-encyclopedia .enc-items .enc-head { text-align: center; }
#plo-encyclopedia .enc-items .enc-head h4 { font: 600 16px Inter, sans-serif !important; }
#plo-encyclopedia .enc-dch { color: #e09038; font: 700 11px Verdana, sans-serif; }
body.plo-skin .game.classic #plo-encyclopedia .enc-items .enc-det .enc-row { height: 32px; background: none; } #plo-encyclopedia .enc-items .enc-det .enc-row b { color: #fff; font: 700 11px Verdana, sans-serif; }
#plo-encyclopedia .enc-foot { flex: none; display: flex; align-items: center; gap: 4px; margin-top: 8px; height: 28px; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body .enc-pg { min-width: 0; width: 24px; height: 18px; padding: 0; font-size: 10px; }
#plo-encyclopedia .enc-page { color: #fff; font: 700 11px Verdana, sans-serif; margin: 0 6px; }
#plo-encyclopedia .enc-cnt { color: #a8a8b0; font: 11px Verdana, sans-serif; margin-left: 12px; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body .enc-refresh, body.plo-skin .game.classic #plo-encyclopedia .plo-body .enc-close { width: 80px; height: 22px; }
body.plo-skin .game.classic #plo-encyclopedia .plo-body .enc-close { background: #8c2f2f !important; border-color: #c14540 !important; color: #fff !important; }
#plo-encyclopedia .enc-irow b.grow, #plo-encyclopedia .enc-foot .grow, #plo-encyclopedia .enc-det .enc-row .grow { flex: 1; }
/* game_stash (595x450) + Take Stash Item (196x155) */
body.plo-skin .game.classic #plo-stash.window.dlg { width: 595px !important; height: 450px; display: flex; flex-direction: column; }
#plo-stash > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
#plo-stash .st-top { display: flex; gap: 25px; align-items: flex-start; flex: none; }
#plo-stash .st-col { display: flex; flex-direction: column; gap: 3px; } #plo-stash .st-col label { font: 11px Verdana, sans-serif; color: #dfdfdf; }
#plo-stash .st-sr { display: flex; gap: 5px; } #plo-stash .st-sr input { width: 200px; height: 20px; box-sizing: border-box; background: #00000066; border: 1px solid #ffffff22; color: #fff; }
body.plo-skin .game.classic #plo-stash .plo-body .st-x { width: 20px; height: 20px; min-width: 0; padding: 0; }
#plo-stash .st-col select { width: 140px; height: 20px; background: #1d1828; color: #fff; border: 1px solid #ffffff33; }
#plo-stash .st-right { margin-left: auto; align-items: flex-end; } body.plo-skin .game.classic #plo-stash .plo-body .st-close { width: 64px; }
#plo-stash .st-cap { font: 11px Verdana, sans-serif; color: #dfdfdf; width: 120px; text-align: right; }
#plo-stash .st-panel { flex: 1; min-height: 0; background: #00000077; padding: 1px; }
#plo-stash .st-grid { height: 100%; box-sizing: border-box; overflow-y: auto; background: #2f3e4aaa; padding: 3px 0 0 3px; display: grid; grid-template-columns: repeat(auto-fill, 34px); grid-auto-rows: 34px; align-content: start; }
#plo-stash .st-box { position: relative; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
#plo-stash .st-box:hover { background: #ffffff18; }
#plo-stash .st-box .plo-cnt, #plo-stash .st-box small { display: none; }
#plo-stash .st-n { position: absolute; right: 1px; bottom: 0; font: 700 10px Verdana, sans-serif; color: #fff; text-shadow: 1px 1px 0 #000; pointer-events: none; }
body.plo-skin .game.classic #plo-stashtake.window.dlg { width: 196px !important; }
#plo-stashtake .plo-body { display: flex; flex-direction: column; gap: 4px; align-items: center; }
#plo-stashtake .st-tn { color: #fff; font: 700 11px Verdana, sans-serif; } #plo-stashtake .st-trow { display: flex; gap: 6px; align-items: center; }
#plo-stashtake .st-trow input { width: 80px; height: 22px; background: #00000066; color: #fff; border: 1px solid #ffffff33; }
#plo-stashtake .st-tc { color: #dfdfdf; font: 11px Verdana, sans-serif; } #plo-stashtake input[type=range] { width: 160px; }
#plo-stashtake .st-tf { display: flex; gap: 6px; width: 160px; } #plo-stashtake .st-tf button { flex: 1; }
/* game_tasks Daily tab (tasks.otui) */
.dt-root { flex: 1; min-height: 0; display: flex; gap: 14px; height: 100%; }
.dt-left { width: 240px; flex: none; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.dt-search { height: 24px; box-sizing: border-box; background: #00000059; border: 1px solid #ffffff22; color: #fff; padding: 0 8px; font: 11px Verdana, sans-serif; }
.dt-list { flex: 1; min-height: 0; overflow-y: auto; background: #00000040; border: 1px solid #ffffff14; }
.dt-row { height: 54px; display: flex; align-items: center; gap: 8px; padding-left: 6px; cursor: pointer; background: #ffffff05; border-bottom: 1px solid #00000055; }
.dt-row:hover { background: #ffffff0f; } .dt-row.on { background: #5a4a80; } .dt-row.act .dt-tx b { color: #ffcc44; }
.dt-frame { width: 48px; height: 48px; flex: none; background: url(/plo/img/game/saga/monster.png) center / 48px 48px no-repeat; }
.dt-art { width: 48px; height: 48px; display: block; }
.dt-tx { display: flex; flex-direction: column; font: 700 11px Verdana, sans-serif; line-height: 14px; }
.dt-tx b { color: #e6e6e6; } .dt-lv { color: #9a9a9a; } .dt-rec { color: #7ed957; }
.dt-right { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.dt-title { color: #fff; font: 700 16px Verdana, sans-serif; margin-top: 2px; }
.dt-line { height: 2px; background: #e09038; margin-top: 6px; flex: none; }
.dt-info { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.dt-card { background: #ffffff0c; border: 1px solid #ffffff1a; padding: 8px 10px 10px; font: 700 11px Verdana, sans-serif; }
.dt-ch { color: #f0902e; margin-bottom: 6px; }
.dt-rw { text-align: center; color: #dfdfdf; line-height: 16px; }
.dt-mobs { display: flex; flex-wrap: wrap; gap: 0; }
.dt-cell { width: 36px; height: 36px; display: grid; place-items: center; background: url(/plo/img/game/saga/monster.png) center / 36px 36px no-repeat; }
.dt-cell canvas { width: 32px !important; height: 32px !important; }
.dt-bar { position: relative; padding-top: 16px; } .dt-bar input { width: 100%; }
.dt-mn, .dt-mx, .dt-v { position: absolute; top: 0; color: #9a9a9a; } .dt-mn { left: 0; } .dt-mx { right: 0; } .dt-v { left: 50%; transform: translateX(-50%); color: #ffcc44; }
.dt-val { text-align: center; color: #ffcc44; margin-bottom: 4px; }
.dt-bon { margin-top: 6px; text-align: center; } .dt-none { color: #8a8a8a; } .dt-b { color: #7ed957; }
.dt-max { display: flex; align-items: center; gap: 8px; margin-top: 6px; height: 42px; } .dt-ms { margin-top: 2px; }
.dt-bot { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; } .dt-pts { color: #ffcc44; font: 700 11px Verdana, sans-serif; }
body.plo-skin .game.classic .plo-win .plo-body .dt-start, body.plo-skin .game.classic .plo-win .plo-body .dt-cancel { width: 160px; }
body.plo-skin .game.classic .plo-win .plo-body .dt-cancel { background: #8c2f2f !important; border-color: #c14540 !important; color: #fff !important; }
.dt-bot .grow { flex: 1; }
#plo-mm .mm-page > .plo-body { flex: 1; min-height: 0; display: flex; }
/* game_kiattacker (656x470): absolute layout after the otui anchors */
body.plo-skin .game.classic #plo-kiattacker.window.dlg { width: 656px !important; height: 470px; display: flex; flex-direction: column; }
#plo-kiattacker > .plo-body { flex: 1; min-height: 0; position: relative; padding: 0; overflow: hidden; }
#plo-kiattacker .ka-stage { position: absolute; inset: 8px 10px 10px; }
#plo-kiattacker .ka-panel { position: absolute; top: 0; width: 198px; height: 150px; box-sizing: border-box; background: #ffffff08; border: 1px solid #ffffff12; }
#plo-kiattacker .p1 { left: 0; } #plo-kiattacker .p2 { left: 50%; margin-left: -99px; } #plo-kiattacker .p3 { right: 0; }
#plo-kiattacker .ka-ph { display: flex; justify-content: space-between; align-items: center; margin: 8px 10px 0; }
#plo-kiattacker .ka-ph b { font: 600 16px Rajdhani, Inter, sans-serif; } #plo-kiattacker .ka-ph span { font: 12px Inter, sans-serif; color: #d6d6dc; }
#plo-kiattacker .ka-fr { width: 68px; height: 68px; box-sizing: border-box; margin: 8px auto 0; display: grid; place-items: center; background: #00000059; border: 1px solid #ffffff22; cursor: pointer; }
#plo-kiattacker .ka-fr small { color: #6f6f78; font: 11px Inter, sans-serif; }
#plo-kiattacker .ka-sb { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: #00000040; font: 12px Inter, sans-serif; color: #d6d6dc; }
#plo-kiattacker .ka-sb b { font-weight: 700; }
#plo-kiattacker .ka-wire { position: absolute; display: block; }
#plo-kiattacker .wr { left: 50%; margin-left: -1px; width: 2px; top: 150px; height: 24px; }
#plo-kiattacker .wpa { left: 172px; width: 2px; top: 150px; height: 12px; }
#plo-kiattacker .wpb { left: 172px; right: calc(50% + 28px); height: 2px; top: 162px; }
#plo-kiattacker .wpc { right: calc(50% + 28px); width: 2px; top: 162px; height: 12px; }
#plo-kiattacker .waa { right: 172px; width: 2px; top: 150px; height: 12px; }
#plo-kiattacker .wab { right: 172px; left: calc(50% + 28px); height: 2px; top: 162px; }
#plo-kiattacker .wac { left: calc(50% + 28px); width: 2px; top: 162px; height: 12px; }
#plo-kiattacker .ka-card { position: absolute; box-sizing: border-box; background: #ffffff08; border: 1px solid #ffffff12; padding: 8px 10px; }
#plo-kiattacker .ka-ct { color: #e09038; font: 600 13px Inter, sans-serif; }
#plo-kiattacker .ka-stats { left: 0; top: 174px; width: 198px; height: 126px; }
#plo-kiattacker .ka-sr { height: 24px; display: flex; align-items: center; gap: 8px; font: 12px Inter, sans-serif; color: #d6d6dc; } #plo-kiattacker .ka-sr i { width: 8px; height: 8px; margin-left: 2px; }
#plo-kiattacker .ka-sr .grow { flex: 1; } #plo-kiattacker .ka-sr b { font-weight: 700; }
#plo-kiattacker .ka-kf { position: absolute; left: 50%; margin-left: -42px; top: 174px; width: 84px; height: 84px; box-sizing: border-box; display: grid; place-items: center; background: #00000059; border: 1px solid #ffffff22; }
#plo-kiattacker .ka-kn { position: absolute; left: 50%; margin-left: -99px; width: 198px; top: 264px; text-align: center; color: #fff; font: 700 12px Inter, sans-serif; }
#plo-kiattacker .ka-kb { position: absolute; left: 50%; margin-left: -99px; width: 198px; top: 282px; text-align: center; color: #9a9aa2; font: 11px Inter, sans-serif; }
#plo-kiattacker .ka-eff { right: 0; top: 174px; width: 198px; height: 126px; }
#plo-kiattacker .ka-view { position: relative; height: 52px; margin-top: 6px; background: #00000059; border: 1px solid #ffffff12; overflow: hidden; cursor: pointer; }
#plo-kiattacker .ka-fly { position: absolute; top: 9px; left: -32px; animation: kafly 1.2s linear infinite; }
@keyframes kafly { from { left: -32px; } to { left: 100%; } }
#plo-kiattacker .ka-nav { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 4px; }
body.plo-skin .game.classic #plo-kiattacker .plo-body .ka-ar { width: 24px; height: 22px; min-width: 0; padding: 0; }
#plo-kiattacker .ka-sn { flex: 1; text-align: center; color: #d6d6dc; font: 12px Inter, sans-serif; cursor: pointer; }
#plo-kiattacker .ka-inv { left: 0; top: 312px; width: calc(50% + 99px); height: 96px; }
#plo-kiattacker .ka-ih { display: flex; justify-content: space-between; align-items: center; } #plo-kiattacker .ka-pts { font: 700 12px Inter, sans-serif; }
#plo-kiattacker .ka-slots { display: flex; gap: 6px; margin-top: 8px; }
#plo-kiattacker .ka-slot { width: 48px; height: 48px; box-sizing: border-box; display: grid; place-items: center; background: #00000040; border: 1px solid transparent; cursor: pointer; position: relative; }
#plo-kiattacker .ka-plus { font: 24px Rajdhani, sans-serif; color: #ffffff30; }
#plo-kiattacker .ka-lock { width: 16px; height: 20px; background: url(/plo/img/relics/slot_lock.png) center / contain no-repeat; opacity: .4; }
#plo-kiattacker .ka-status { position: absolute; top: 312px; left: calc(50% + 114px); right: 0; height: 64px; color: #9a9aa2; font: 11px Inter, sans-serif; overflow: hidden; }
body.plo-skin .game.classic #plo-kiattacker .plo-body .ka-close { position: absolute; right: 0; top: 380px; width: 120px; }
body.plo-skin .game.classic #plo-kipicker.window.dlg { width: 320px !important; height: 420px; display: flex; flex-direction: column; }
#plo-kipicker > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
#plo-kipicker .kp-hint, #plo-kipicker .kp-owned { color: #9a9aa2; font: 11px Inter, sans-serif; }
#plo-kipicker .kp-list { flex: 1; min-height: 0; overflow-y: auto; background: #00000033; border: 1px solid #ffffff12; }
#plo-kipicker .kp-row { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 4px; cursor: pointer; } #plo-kipicker .kp-row:hover { background: #ffffff0f; } #plo-kipicker .kp-row.on { background: #5a4a80; }
#plo-kipicker .kp-mb { width: 36px; height: 36px; display: grid; place-items: center; background: #00000059; border: 1px solid #ffffff22; }
#plo-kipicker .kp-row .grow, #plo-kipicker .kp-foot .grow { flex: 1; } #plo-kipicker .kp-use { color: #7ed957; }
#plo-kipicker .kp-foot { display: flex; } #plo-kipicker .kp-foot button { width: 120px; }
/* game_statue (596x312) */
body.plo-skin .game.classic #plo-statue.window.dlg { width: 596px !important; height: 312px; display: flex; flex-direction: column; }
#plo-statue > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
#plo-statue .sst-tabs { display: flex; gap: 0; } body.plo-skin .game.classic #plo-statue .plo-body .sst-tab { width: 136px; height: 26px; }
#plo-statue .sst-bar { height: 20px; display: flex; gap: 4px; justify-content: center; align-items: center; }
body.plo-skin .game.classic #plo-statue .plo-body .sst-sub { height: 20px; padding: 0 9px; font-size: 11px; }
#plo-statue .sst-cap { color: #9a9aa2; font: 11px Inter, sans-serif; }
#plo-statue .sst-mid { display: flex; align-items: center; justify-content: space-between; }
body.plo-skin .game.classic #plo-statue .plo-body .sst-arrow { width: 24px; height: 40px; min-width: 0; padding: 0; }
#plo-statue .sst-cards { width: 524px; height: 160px; display: flex; gap: 6px; }
#plo-statue .sst-empty { flex: 1; display: grid; place-items: center; color: #9a9aa2; font: 600 20px Rajdhani, Inter, sans-serif; }
#plo-statue .sst-card { position: relative; width: 100px; height: 160px; box-sizing: border-box; background: #ffffff0c; border: 1px solid #ffffff22; text-align: center; }
#plo-statue .sst-card.m1 { border-color: #ffd84a; background: #ffd84a14; } #plo-statue .sst-card.m2 { border-color: #cdd2d6; } #plo-statue .sst-card.m3 { border-color: #e08a4a; }
#plo-statue .sst-rank { position: absolute; top: 2px; left: 5px; font: 600 16px Rajdhani, Inter, sans-serif; }
#plo-statue .sst-pic { width: 64px; height: 64px; margin-top: 10px; object-fit: cover; }
#plo-statue .sst-n { height: 28px; margin: 3px 4px 0; color: #fff; font: 12px Inter, sans-serif; overflow: hidden; }
#plo-statue .sst-s { height: 13px; color: #9a9aa2; font: 11px Inter, sans-serif; } #plo-statue .sst-l { height: 13px; color: #d6d6dc; font: 11px Inter, sans-serif; }
#plo-statue .sst-v { height: 18px; margin-top: 2px; font: 600 16px Rajdhani, Inter, sans-serif; }
#plo-statue .sst-foot { margin-top: auto; display: flex; align-items: center; } #plo-statue .sst-ft { flex: 1; color: #9a9aa2; font: 11px Inter, sans-serif; }
body.plo-skin .game.classic #plo-statue .plo-body .sst-close { width: 90px; }
/* game_dailyrewards (600x340) */
body.plo-skin .game.classic #plo-daily.window.dlg { width: 600px !important; height: 340px; display: flex; flex-direction: column; }
#plo-daily > .plo-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#plo-daily .dr-grid { display: grid; grid-template-columns: repeat(10, 50px); grid-auto-rows: 70px; column-gap: 6px; row-gap: 0; justify-content: start; padding: 5px 0 0 6px; }
#plo-daily .dr-day { position: relative; width: 50px; height: 70px; display: block; }
#plo-daily .dr-lbl { display: block; text-align: center; color: #fff; font: 11px Verdana, sans-serif; height: 13px; }
#plo-daily .dr-box { position: relative; width: 50px; height: 50px; display: grid; place-items: center; background: url(/plo/img/ui/daily1.png) center / 100% 100% no-repeat; outline: 0 !important; transition: transform 1.5s, opacity 1.8s; }
#plo-daily .dr-day.today .dr-box { background-image: url(/plo/img/ui/daily2.png); z-index: 2; }
#plo-daily .dr-day.today.grow .dr-box { transform: scale(1.6); } #plo-daily .dr-day.today.fade .dr-box { opacity: 0; }
#plo-daily .dr-vip { position: absolute; right: 0; top: 15px; color: #fff; font: 11px Verdana, sans-serif; z-index: 3; }
#plo-daily .dr-ok { position: absolute; right: 0; top: 10px; width: 20px; height: 20px; background: url(/plo/img/ui/checks.png) 0 -20px / 20px 60px no-repeat; z-index: 3; }
#plo-daily .dr-miss { position: absolute; left: 0; top: 13px; width: 50px; height: 50px; background: #00000044 url(/plo/img/ui/checks.png) 0 -100px / 50px 150px no-repeat; z-index: 3; }
#plo-daily .dr-foot { margin-top: auto; display: flex; justify-content: center; }
body.plo-skin .game.classic #plo-daily .plo-body .dr-claim { width: 150px; height: 34px; font-weight: 700; }
/* game_furniture "Special Furniture" (430x512) */
body.plo-skin .game.classic #plo-furniture.window.dlg { width: 430px !important; height: 512px; display: flex; flex-direction: column; }
#plo-furniture > .plo-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
#plo-furniture .fu-title { text-align: center; color: #e09038; font: 600 16px Rajdhani, Inter, sans-serif; }
#plo-furniture .fu-card { height: 110px; flex: none; box-sizing: border-box; margin-top: 8px; padding: 10px; display: flex; gap: 10px; background: #ffffff08; border: 1px solid #ffffff14; }
#plo-furniture .fu-fr { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: #00000059; border: 1px solid #ffffff22; }
#plo-furniture .fu-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#plo-furniture .fu-n { color: #fff; font: 600 16px Rajdhani, Inter, sans-serif; height: 18px; } #plo-furniture .fu-l { color: #d6d6dc; font: 12px Inter, sans-serif; }
#plo-furniture .fu-d { color: #9a9aa2; font: 11px Inter, sans-serif; margin-top: 2px; overflow: hidden; }
#plo-furniture .fu-list { flex: 1; min-height: 0; overflow-y: auto; margin: 10px 0 8px; background: #00000033; border: 1px solid #ffffff12; }
#plo-furniture .fu-row { height: 30px; display: flex; align-items: center; gap: 10px; cursor: pointer; color: #d6d6dc; font: 12px Inter, sans-serif; }
#plo-furniture .fu-row:hover { background: #ffffff0f; } #plo-furniture .fu-row.on { background: #ffffff14; color: #fff; }
#plo-furniture .fu-acc { width: 3px; height: 100%; } #plo-furniture .fu-row.on .fu-acc { background: #e09038; }
#plo-furniture .fu-note { text-align: center; color: #9a9aa2; font: 11px Inter, sans-serif; margin-bottom: 4px; }
#plo-furniture .fu-warn { text-align: center; color: #ff8a8a; font: 11px Inter, sans-serif; margin-bottom: 10px; }
#plo-furniture .fu-foot { display: flex; justify-content: center; gap: 10px; } body.plo-skin .game.classic #plo-furniture .plo-body .fu-foot button { width: 96px; height: 24px; }
/* game_scouter: the lens over the map, HUD chrome (scouter.otui), the target card */
.sc-hud { position: absolute; z-index: 6; pointer-events: none; overflow: hidden; --lens: #66ff96; --lens-dim: #2e9a55; transition: opacity .35s; }
.sc-hud.off { opacity: 0; }
.sc-hud > i { position: absolute; display: block; }
.sc-tint { inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.45) 100%), color-mix(in srgb, var(--lens) 22%, transparent); mix-blend-mode: hard-light; transition: opacity 1s; }
.sc-hud.lite .sc-tint { opacity: .35; }
.sc-scan { inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), linear-gradient(color-mix(in srgb, var(--lens) 7%, transparent) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, color-mix(in srgb, var(--lens) 7%, transparent) 1px, transparent 1px) 0 0 / 64px 64px; }
.sc-hud.lite .sc-scan { opacity: .4; }
.sc-sweep { left: 0; right: 0; height: 18%; top: -18%; background: linear-gradient(transparent, color-mix(in srgb, var(--lens) 20%, transparent), transparent); animation: scsweep 3.2s linear infinite; }
@keyframes scsweep { to { top: 100%; } }
.sc-flash { inset: 0; background: var(--lens); opacity: 0; } .sc-flash.go { animation: scflash .35s ease-out; }
@keyframes scflash { from { opacity: .55; } to { opacity: 0; } }
.sc-c { width: 46px; height: 46px; border: 0 solid var(--lens); }
.sc-c.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; } .sc-c.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.sc-c.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; } .sc-c.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.sc-status { position: absolute; top: 18px; left: 50%; margin-left: -160px; width: 320px; height: 50px; box-sizing: border-box; background: #000000a6; border: 1px solid var(--lens); display: flex; flex-direction: column; justify-content: center; padding-left: 14px; }
.sc-acc { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lens); }
.sc-st { color: var(--lens); font: 600 20px Rajdhani, Inter, sans-serif; line-height: 22px; letter-spacing: .5px; }
.sc-cap { color: var(--lens-dim); font: 11px Inter, sans-serif; }
.sc-dev { position: absolute; left: 16px; bottom: 16px; color: var(--lens); font: 700 12px Inter, sans-serif; }
.sc-lens { position: absolute; right: 16px; bottom: 16px; color: var(--lens-dim); font: 11px Inter, sans-serif; }
.sc-card { position: absolute; z-index: 45; width: 244px; box-sizing: border-box; padding: 8px 8px 8px 12px; background: #000000b4; border: 1px solid var(--lens); border-left-width: 4px; cursor: move; user-select: none; --lens: #66ff96; --lens-dim: #2e9a55; }
.sc-ch { display: flex; justify-content: space-between; align-items: baseline; height: 18px; }
.sc-ct { color: var(--lens); font: 600 16px Rajdhani, Inter, sans-serif; } .sc-cm { color: var(--lens-dim); font: 11px Inter, sans-serif; }
.sc-cn { color: #fff; font: 600 20px Rajdhani, Inter, sans-serif; height: 26px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-ck { color: #b4b4b4; font: 11px Inter, sans-serif; height: 14px; }
.sc-cp { color: #ffd84a; font: 600 20px Rajdhani, Inter, sans-serif; height: 22px; margin-top: 6px; }
.sc-chp { color: var(--lens); font: 700 12px Inter, sans-serif; height: 16px; }
.sc-rh { color: var(--lens); font: 11px Inter, sans-serif; margin-top: 6px; letter-spacing: .5px; }
.sc-row { display: flex; justify-content: space-between; height: 16px; align-items: center; }
.sc-row span { color: #b4b4b4; font: 11px Inter, sans-serif; } .sc-row b { color: #f0f0f0; font: 700 12px Inter, sans-serif; }
/* game_charge bar (charge.otui) */
.ch-bar { position: absolute; z-index: 30; width: 244px; height: 28px; background: url(/plo/img/ui/charge_bar.png) no-repeat; cursor: move; user-select: none; }
.ch-fill { position: absolute; left: 6px; top: 6px; height: 16px; width: 0; background: url(/plo/img/ui/charge_bar_fill.png) 0 0 no-repeat; }
.ch-gloss { position: absolute; inset: 0; background: url(/plo/img/ui/charge_bar_gloss.png) no-repeat; pointer-events: none; }
.ch-t { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 11px Verdana, sans-serif; text-shadow: 1px 1px 0 #000; pointer-events: none; }
/* game_runner HUD (runner.otui) */
.rq-hud { position: absolute; inset: 0; z-index: 7; pointer-events: none; line-height: normal; }
.rq-flash { position: absolute; inset: 0; background: #ff2020; opacity: 0; } .rq-flash.go { animation: rqflash .5s ease-out; }
@keyframes rqflash { from { opacity: .35; } to { opacity: 0; } }
.rq-card { position: absolute; top: 10px; left: 50%; margin-left: -150px; width: 300px; height: 92px; box-sizing: border-box; background: #000000b0; border: 1px solid #f0902e90; text-align: center; }
.rq-title { display: block; margin-top: 7px; color: #f0902e; font: 700 12px Inter, sans-serif; }
.rq-lives { display: flex; justify-content: center; gap: 2px; height: 34px; margin-top: 4px; }
.rq-ball { width: 26px; height: 26px; margin: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6b0, #ffb12e 45%, #c56a00); }
.rq-hint { display: block; color: #a0a0a8; font: 9px Verdana, sans-serif; margin-top: 2px; }
.rq-bar { position: absolute; left: 10px; right: 10px; bottom: 7px; height: 10px; background: #00000080; } .rq-bar i { display: block; height: 100%; width: 0; background: #f0902e; transition: width .4s; }
.rq-count { position: absolute; top: 120px; left: 0; right: 0; text-align: center; color: #fff; font: 700 44px Rajdhani, Inter, sans-serif; text-shadow: 2px 2px 0 #000, 0 0 12px #000; }
/* dungeon kill counter (game_dungeons killcounter.otui) */
.kc-wrap { position: absolute; z-index: 6; pointer-events: none; line-height: normal; }
.kc { position: absolute; left: 8px; bottom: 8px; width: 271px; padding-bottom: 70px; font: 11px Verdana, sans-serif; color: #dfdfdf; text-shadow: 1px 1px 0 #000; }
.kc-h { color: #FFA500; margin-top: 5px; }
.kc-cb { position: relative; min-height: 20px; padding: 3px 0 0 24px; margin-top: 5px; box-sizing: border-box; }
.kc-cb::before { content: ''; position: absolute; left: 0; top: 0; width: 21px; height: 20px; background: url(/plo/img/dungeons/checkboxes.png) 0 0 no-repeat; }
.kc-cb.on::before { background-position: -21px 0; }
.kc-cb.dis { opacity: .55; }
.kc-t { margin-top: 5px; }
.kc-bar { position: absolute; left: 0; bottom: 0; width: 271px; height: 63px; }
.kc-bg, .kc-fill { position: absolute; left: 16px; bottom: 13px; height: 26px; }
.kc-bg { width: 239px; background: url(/plo/img/dungeons/killcounter_bg.png) no-repeat; }
.kc-fill { background: url(/plo/img/dungeons/killcounter_bar.png) 0 0 no-repeat; }
.kc-border { position: absolute; inset: 0; background: url(/plo/img/dungeons/killcounter_border.png) no-repeat; text-align: center; padding-top: 31px; box-sizing: border-box; font: 11px Verdana, sans-serif; color: #fff; }
/* Character Market (game_charmarket charmarket.otui: 860x620, violet #302840) */
.cm-win { width: min(860px, calc(100vw - 16px)) !important; }
.cm-win .plo-body { background: #302840; }
.cm-win .plo-body { min-height: 560px; display: flex; flex-direction: column; position: relative; padding-bottom: 44px; }
.cm-hd { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cm-acc { width: 4px; height: 26px; background: #e09038; border-radius: 1px; }
.cm-title { font: 700 22px/1 var(--p-title, Rajdhani, sans-serif); color: #fff; }
.cm-cap { font: 600 11px/1 Inter, sans-serif; letter-spacing: .08em; color: #9a9aa2; text-transform: uppercase; }
.cm-bal { color: #7ed957; font: 700 16px/1 var(--p-title, Rajdhani, sans-serif); }
.cm-tabs { display: flex; margin-top: 10px; border-bottom: 1px solid #ffffff12; }
.cm-tab { text-align: center; padding: 7px 0; color: #b8b0c8; cursor: pointer; border-bottom: 2px solid transparent; font: 600 13px Inter, sans-serif; }
.cm-tab:hover { color: #fff; } .cm-tab.on { color: #e09038; border-bottom-color: #e09038; }
.cm-panel { flex: 1; display: flex; flex-direction: column; margin-top: 12px; min-height: 0; }
.cm-tb { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px; background: #ffffff06; }
.cm-edit { background: #1c1626; border: 1px solid #ffffff1a; color: #e6e6e6; padding: 4px 6px; font: 12px Inter, sans-serif; }
.cm-sort { background: #1c1626; border: 1px solid #ffffff1a; color: #e6e6e6; padding: 3px; width: 150px; margin-left: 4px; }
.cm-hint { color: #8a8a92; font: italic 11px Inter, sans-serif; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, 140px); grid-auto-rows: 172px; gap: 8px; margin-top: 10px; height: 372px; overflow-y: auto; align-content: start; position: relative; }
.cm-sellgrid { height: 300px; } .cm-full { height: 420px; margin-top: 0; }
.cm-card { position: relative; width: 140px; height: 172px; box-sizing: border-box; background: #ffffff08; border: 1px solid #ffffff14; text-align: center; cursor: pointer; }
.cm-card:hover { border-color: #e0903888; background: #ffffff0d; } .cm-card.on { border-color: #e09038; box-shadow: inset 0 0 0 1px #e09038; }
.cm-out { height: 64px; margin-top: 8px; display: flex; justify-content: center; align-items: center; }
.cm-nm { color: #d6d6dc; font: 700 12px Inter, sans-serif; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.cm-info { color: #8a8a92; font: 11px Inter, sans-serif; margin-top: 1px; }
.cm-pr { color: #7ed957; font: 700 16px var(--p-title, Rajdhani, sans-serif); margin-top: 2px; min-height: 18px; }
.cm-act { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 24px; padding: 0 !important; font-size: 13px !important; }
button.danger { background: #a23a3a !important; border: 1px solid #7a2626 !important; color: #fff !important; border-image: none !important; }
.cm-empty { grid-column: 1 / -1; align-self: center; text-align: center; color: #8a8a92; font: 600 20px var(--p-title, Rajdhani, sans-serif); white-space: pre-line; margin: 120px auto; }
.cm-empty.sm { font: 12px Inter, sans-serif; }
.cm-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.cm-page { color: #8a8a92; font: 12px Inter, sans-serif; }
.cm-sellinfo { color: #9a9aa2; font: 12px Inter, sans-serif; margin-top: 4px; }
.cm-form { margin-top: 12px; height: 100px; box-sizing: border-box; padding: 10px 12px; background: #ffffff08; border: 1px solid #ffffff12; }
.cm-sel { color: #e09038; font: 700 12px Inter, sans-serif; }
.cm-frow { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cm-listbtn { width: 160px; }
.cm-fee { color: #8a8a92; font: 11px Inter, sans-serif; margin-top: 8px; white-space: pre; }
.cm-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; border-top: 1px solid #ffffff12; display: flex; justify-content: flex-end; align-items: flex-end; }
.cm-foot button { width: 90px; }
.cm-ph { display: flex; align-items: center; gap: 10px; height: 72px; padding: 0 10px 0 8px; background: #ffffff06; margin-top: 10px; }
.cm-pout { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-left: 4px; }
.cm-pname { color: #fff; font: 700 20px var(--p-title, Rajdhani, sans-serif); } .cm-psub { color: #9a9aa2; font: 12px Inter, sans-serif; margin-top: 4px; }
.cm-pprice { text-align: right; margin-right: 6px; } .cm-pp { color: #7ed957; font: 700 20px var(--p-title, Rajdhani, sans-serif); }
.cm-pbuy { width: 120px; }
.cm-loading { text-align: center; margin-top: 120px; color: #8a8a92; font: 600 20px var(--p-title, Rajdhani, sans-serif); }
.cm-ppanel { margin-top: 10px; }
.cm-ov { display: flex; gap: 12px; height: 330px; }
.cm-eqcard { width: 150px; height: 196px; box-sizing: border-box; padding: 10px; background: #ffffff08; border: 1px solid #ffffff12; flex: none; }
.cm-eq { display: grid; grid-template-columns: repeat(3, 34px); gap: 4px; justify-content: center; margin-top: 8px; }
.cm-cell { width: 34px; height: 34px; background: #1c1626; border: 1px solid #ffffff14; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.cm-cell.blank { visibility: hidden; }
.cm-col { overflow-y: auto; }
.cm-info-col { width: 300px; flex: none; } .cm-sk-col { flex: 1; padding-right: 6px; }
.cm-sh { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 8px; background: #ffffff0a; color: #f0902e; font: 600 15px var(--p-title, Rajdhani, sans-serif); }
.cm-sh .v { color: #8a8a92; font: 11px Inter, sans-serif; }
.cm-sr { display: flex; justify-content: space-between; align-items: center; height: 20px; padding: 0 8px; color: #9a9aa2; font: 11px Inter, sans-serif; }
.cm-sr b { color: #e6e6e6; font: 700 12px Inter, sans-serif; }
.cm-skr { display: flex; align-items: center; height: 24px; padding: 0 8px; color: #c0c0c0; font: 11px Inter, sans-serif; }
.cm-skr .k { width: 100px; } .cm-skr .bg { width: 140px; height: 8px; background: #ffffff10; margin-left: 4px; position: relative; }
.cm-skr .fl { position: absolute; left: 0; top: 0; bottom: 0; background: #f0902e; } .cm-skr b { margin-left: auto; color: #e6e6e6; font: 700 12px Inter, sans-serif; }
.cm-segs { display: flex; gap: 4px; } .cm-seg { width: 150px; height: 24px; padding: 0 !important; }
.cm-segs + .cm-hint { margin-top: 6px; }
.cm-igrid { display: grid; grid-template-columns: repeat(auto-fill, 36px); grid-auto-rows: 36px; gap: 2px; margin-top: 8px; height: 270px; overflow-y: auto; align-content: start; }
.cm-igrid .cm-cell { width: 36px; height: 36px; }
.cm-rcard, .cm-ccard { background: #ffffff08; border: 1px solid #ffffff12; padding: 10px; box-sizing: border-box; }
.cm-rcard { height: 92px; }
.cm-rtop { display: flex; align-items: center; } .cm-rcard + .cm-rtop { margin-top: 12px; }
.cm-rcnt { color: #d6d6dc; font: 600 15px var(--p-title, Rajdhani, sans-serif); }
.cm-rslots { display: flex; gap: 8px; margin-top: 8px; }
.cm-icell { width: 40px; height: 40px; box-sizing: border-box; background: #1c1626; border: 1px solid #ffffff1a; display: flex; align-items: center; justify-content: center; position: relative; }
.cm-icell.big { width: 46px; height: 46px; } .cm-icell.eq { border-color: #f0902e88; }
.cm-lock { width: 16px; height: 20px; background: url(/plo/img/relics/slot_lock.png) center/contain no-repeat; opacity: .4; }
.cm-rgrid { display: grid; grid-template-columns: repeat(auto-fill, 40px); gap: 4px; margin-top: 8px; height: 220px; overflow-y: auto; align-content: start; }
.cm-cores { display: flex; gap: 12px; }
.cm-ccard { width: 270px; height: 196px; padding: 12px; } .cm-ccard.wide { width: 300px; }
.cm-cgrid { display: grid; grid-template-columns: repeat(5, 44px); gap: 4px; margin-top: 10px; }
.cm-cgrid .cm-icell { width: 44px; height: 44px; }
.cm-cores + .cm-hint { margin-top: 8px; }
.cm-box p { margin: 4px 0; text-align: center; }
.cm-hd .grow, .cm-tb .grow, .cm-ph .grow, .cm-frow .grow, .cm-rtop .grow { flex: 1; }
.cm-out > *, .cm-pout > * { background: transparent !important; }
/* game_playerdeath deathwindow.otui: 350 wide, the text left, Ok / Cancel 64 px at the bottom */
#death .death-win { width: 350px; text-align: left; }
#death .death-win #death-text { white-space: pre-line; font-size: 12px; line-height: 1.35; margin: 4px 0 12px; }
#death .death-btns { display: flex; justify-content: center; gap: 5px; }
#death .death-btns button { width: 64px; padding: 3px 0; }
/* game_textwindow: 300 x 280, item + description, the text, Ok / Cancel 60 px bottom right */
#write { width: 300px; }
#write .tw-top { display: flex; gap: 8px; align-items: flex-start; min-height: 40px; }
#write .tw-item { width: 32px; height: 32px; flex: none; }
#write .tw-desc { margin: 0; white-space: pre-line; font-size: 12px; }
#write textarea { width: 100%; box-sizing: border-box; min-height: 150px; margin-top: 10px; }
#write .tw-btns { justify-content: flex-end; gap: 10px; }
#write .tw-btns button { width: 60px; }
/* game_eventbar */
.eb-wrap { position: absolute; z-index: 6; pointer-events: none; }
.eb-bg { position: absolute; left: 50%; top: 8%; transform: translateX(-50%); width: 400px; min-height: 87px; box-sizing: border-box; padding: 8px 0 10px; background: #00000088; text-align: center; }
.eb-title { color: #FFD700; font: 14px Inter, sans-serif; text-shadow: 1px 1px 0 #000; }
.eb-score { margin-top: 4px; font: 700 40px/44px var(--p-title, Rajdhani, sans-serif); text-shadow: 2px 2px 0 #000; }
.eb-s1 { color: #4A90E2; } .eb-sep { color: #fff; margin: 0 12px; } .eb-s2 { color: #E24A4A; }
.eb-time { margin-top: 6px; font: 14px Inter, sans-serif; text-shadow: 1px 1px 0 #000; }
/* Options -> Audio: "Music volume: 30" over its slider (client_options audio.otui) */
#options .opt-range { display: block !important; text-align: left; margin: 8px 0 4px; }
#options .opt-range b { font-weight: normal; }
#options .opt-range input[type=range] { display: block; width: 100%; margin-top: 4px; }

/* ---- Spectate Menu (game_spectate spectate.otui: 335 x 200 cards in a grid, host.otui, stop.otui) ---- */
#plo-spectate.spec-win { width: min(1085px, 96vw); }
.spec-hosts { display: grid; grid-template-columns: repeat(auto-fill, 335px); gap: 10px; max-height: 520px; overflow-y: auto; padding: 1px; justify-content: start; }
.spec-none { color: #d5c3af; text-align: center; padding: 30px 0; grid-column: 1 / -1; }
.spec-card { position: relative; width: 335px; height: 200px; box-sizing: border-box; border: 2px solid #c7c0b8; padding: 2px; cursor: pointer; background: #0b0a0e; overflow: hidden; }
.spec-card:hover { border-color: var(--p-accent, #f0902e); }
.spec-thumb { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; }
.spec-name { position: absolute; left: 6px; top: 6px; color: #fff; font-family: inherit; font-weight: 700; font-size: 13px; text-shadow: 1px 1px 0 #000, 0 0 3px #000; }
.spec-desc { position: absolute; left: 6px; top: 24px; right: 36px; color: #d5c3af; font-family: inherit; font-size: 11px; text-shadow: 1px 1px 0 #000; }
.spec-viewers { position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 6px; color: #fff; font-family: inherit; font-weight: 700; font-size: 12px; text-shadow: 1px 1px 0 #000; }
.spec-eye { width: 22px; height: 14px; background: url(/plo/img/views.png) center / 100% 100% no-repeat; filter: drop-shadow(1px 1px 0 #000); }
.spec-lock { position: absolute; right: 4px; bottom: 4px; width: 24px; height: 29px; background: url(/plo/img/lock.png) center / 100% 100% no-repeat; filter: drop-shadow(2px 2px 0 #000); }
.spec-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; border-top: 1px solid #ffffff1a; padding-top: 8px; }
.spec-check { color: #d6d6dc; font-size: 12px; display: inline-flex !important; flex-direction: row; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.spec-check input { margin: 0; width: auto; }
.spec-input { display: block; width: 100%; box-sizing: border-box; margin: 0 0 10px; }
.spec-hint { color: #bdb6ae; text-align: center; font-size: 11px; margin: 0 0 8px; }
#plo-spec-host { width: 275px; }
.spec-stop { position: absolute; top: 10px; right: 10px; z-index: 30; }
body.plo-skin .spec-stop { top: 214px; right: 14px; }
body.plo-skin #screen-game .gw-console .tabs > button[role=tab] { flex: 0 1 auto; min-width: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.plo-skin #screen-game .gw-console .tabs .tabs-tools { flex: none; margin-left: auto; padding-right: 2px; }
