/* =================================================================================================================
   RO theme (body.theme-ro, the default): the windows of the original client. The skin textures of the client data
   (texture/유저인터페이스/basic_interface) arrive as CSS variables --ro-<texture name> set by
   client/js/render3d/uiskin.js, which also marks <html class="ro-skin"> once they load. Every rule below first draws a
   close look-alike in plain CSS (no data folder / before the textures arrive); the html.ro-skin rules put the textures
   on top. Sizes are the original ones: Basic Info 280x120, Status 280x103, Equipment 280x130, hotkey bar 280x34,
   inventory cells 32x32, 12px text.
   ================================================================================================================= */

body.theme-ro {
	--ro-font: var(--game-font); /* Tahoma like the original client, Thai letters too (client/fonts/game.css) */
	--ro-edge: #9aa3b8;          /* window frame */
	--ro-navy: #273a74;          /* labels of the original windows (Str, Atk, head ...) */
	--ro-sel: #c7d6f6;           /* selected row / cell */
	--ro-hover: #e4ecfb;
	--text: #000; --muted: #666; --accent: #5876c4; --accent-2: #3f5ca8; --panel-solid: #fff; --line: #c3c8d4; --head: #c9d6f1;
	--danger: #c0392b; --ok: #1e8a3c; --warn: #b7860b; --btn: #f3f5f9; --btn-hover: #e6ecf8;
	font: 12px/1.4 var(--ro-font);
}
/* the official client's letters on a computer: Tahoma as Windows draws it, every size its own pixels, no smoothing
   ('Midgard Pixel', client/fonts/game.css, tools/pixelfont.py; html.pxf - ui.js applyPixelFont: where a CSS pixel is a whole
   number of the screen's, unless turned off in Alt+O). The characters it has no letter for: Tahoma and the rest as before */
html.pxf:not(.mhud) body.theme-ro {
	--game-font: 'Midgard Pixel', Tahoma, "Midgard Thai", "Leelawadee UI", "Noto Sans Thai", Verdana, Arial, sans-serif;
	--ro-font: var(--game-font);
}
/* (its letters stay on whole pixels: no fraction of a pixel between them, a whole size - Basic Info's Weight / Zeny squeezed) */
html.pxf:not(.mhud) .theme-ro #hud-char .hud-small.tight span, html.pxf:not(.mhud) .theme-ro #hud-char .hud-small.tighter span,
html.pxf:not(.mhud) .theme-ro .bi2-wz.tight, html.pxf:not(.mhud) .theme-ro .bi2-wz.tighter { letter-spacing: 0; }
html.pxf:not(.mhud) .theme-ro .bi2-wz.tighter { font-size: 9px; }
.theme-ro .ro-only { display: block !important; }
.theme-ro .muted { color: var(--muted); }
.theme-ro .good { color: #1e8a3c; }
.theme-ro .bad, .theme-ro .error { color: #c62828; }
.theme-ro code { background: #eef1f7; color: #000; }

/* ---- buttons: the 3-part button of the client (btn_out / btn_over / btn_press / btn_disable, 6 + n + 6 x 20) ---- */
.theme-ro button {
	height: 20px; min-height: 20px; padding: 0 9px; border: 1px solid #a3abbd; border-radius: 4px; color: #000;
	font: 12px/18px var(--ro-font); background: linear-gradient(#ffffff, #e8ebf1 60%, #d9dee8); box-shadow: none; text-shadow: none;
}
.theme-ro button:hover:not(:disabled) { background: linear-gradient(#ffffff, #dde7fa 60%, #c5d5f4); }
.theme-ro button:active:not(:disabled) { background: linear-gradient(#c5d5f4, #dde7fa); }
.theme-ro button:disabled { opacity: 1; color: #9a9a9a; background: linear-gradient(#f4f4f4, #e2e2e2); }
.theme-ro button.primary { font-weight: bold; color: #000; }
.theme-ro button.danger { color: #9b1c1c; }
.theme-ro button.small { height: 18px; min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 16px; }
html.ro-skin .theme-ro button {
	border: 0; border-radius: 0; line-height: 20px;
	background: var(--ro-btn-out-left) left top / 6px 100% no-repeat, var(--ro-btn-out-right) right top / 6px 100% no-repeat,
		var(--ro-btn-out-mid) 6px 0 / calc(100% - 12px) 100% no-repeat;
}
html.ro-skin .theme-ro button:hover:not(:disabled) {
	background: var(--ro-btn-over-left) left top / 6px 100% no-repeat, var(--ro-btn-over-right) right top / 6px 100% no-repeat,
		var(--ro-btn-over-mid) 6px 0 / calc(100% - 12px) 100% no-repeat;
}
html.ro-skin .theme-ro button:active:not(:disabled) {
	background: var(--ro-btn-press-left) left top / 6px 100% no-repeat, var(--ro-btn-press-right) right top / 6px 100% no-repeat,
		var(--ro-btn-press-mid) 6px 0 / calc(100% - 12px) 100% no-repeat;
}
html.ro-skin .theme-ro button:disabled {
	background: var(--ro-btn-disable-left) left top / 6px 100% no-repeat, var(--ro-btn-disable-right) right top / 6px 100% no-repeat,
		var(--ro-btn-disable-mid) 6px 0 / calc(100% - 12px) 100% no-repeat;
}
html.ro-skin .theme-ro button.small { line-height: 18px; }

/* ---- inputs: white boxes with a grey edge (txtbox) ---- */
.theme-ro input, .theme-ro select, .theme-ro textarea {
	background: #fff; color: #000; border: 1px solid #a7a7a7; border-radius: 0; min-height: 20px; padding: 1px 4px; font: 12px var(--ro-font);
	box-shadow: inset 1px 1px 0 #e2e2e2;
}
.theme-ro input:not([type=checkbox]):not([type=range]) { height: 20px; }
.theme-ro select { height: 20px; padding: 0 2px; }
.theme-ro input:focus, .theme-ro select:focus, .theme-ro textarea:focus, .theme-ro button:focus-visible { outline: 1px solid #5876c4; outline-offset: 0; }
.theme-ro input[type=checkbox] { width: 13px; height: 13px; accent-color: #5876c4; }
.theme-ro input[type=range] { accent-color: #5876c4; min-height: 0; border: 0; box-shadow: none; background: none; }

/* ---- windows: title bar (titlebar_left/mid/right 12+n+12 x 17), white body, button bar (btnbar 21) ---- */
.theme-ro .win {
	background: transparent; border: 0; border-radius: 0; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); min-width: 0; overflow: visible;
	font: 12px/1.4 var(--ro-font); color: #000;
}
.theme-ro .win-head {
	height: 17px; padding: 0 4px 0 14px; gap: 4px; border: 0; border-radius: 6px 6px 0 0;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); box-shadow: inset 0 -1px 0 #000;
}
html.ro-skin .theme-ro .win-head {
	border-radius: 0; box-shadow: none;
	background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat,
		var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat;
}
.theme-ro .win-head h3 { font: 12px/17px var(--ro-font); color: #000; font-weight: normal; letter-spacing: 0; }
/* (the title in the client's letters: its canvas from the bar's top - its letters' lowest row 14 px down, cut a row over the black line) */
.theme-ro .win-head h3.crisp { align-self: stretch; }
/* the official windows' title bar: the small blue circle at its left end (Noh's screenshots of Nebula-RO: the equipment
   window, the item window, Basic Info - 9 x 9, 3 px in, 4 px down; its pixels cut from the screenshot) */
html:not(.mhud) .theme-ro .win-head { position: relative; padding-left: 15px; } /* (the title's first letter 16 px from the window's left, the official's) */
html:not(.mhud) .theme-ro .win-head::before { content: ""; position: absolute; left: 3px; top: 4px; width: 9px; height: 9px; pointer-events: none;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAA80lEQVR42jWQoVrDMBgAL3wTf9wf17pVdm51qxyOR8BuEjfJ5JA4JHW8Ajgmh2sdkcW1rnGJK2Jw5vSd4Y/d6XP2bccUJpw6ympNc7w1AAZgu3ubRVc87pbkahlC5Kn5IYWWc7M35v7wPnfeU9d3ZJlgBWKCcUxcLh+sy5KF7zuQjLYfcIMDARJMaQJRfN+xCCGSlyWb0uFEiIAFpiR8eWHwPYuyKBC1OBXUwlKFEBJEIVOLFgU39aZiDBG1gqrg5Gq1whgi9aa61p1e27ntYVtl5JkwjIlzO1IVcNxXxvx/Orx8z/2QECukmChy4flhZQB+ARjoX01SwtqRAAAAAElFTkSuQmCC") 0 0 / 9px 9px no-repeat; }
.theme-ro .win-head .x {
	width: 11px; height: 11px; min-height: 11px; padding: 0; border: 0; border-radius: 50%; font-size: 0; flex: none;
	background: radial-gradient(circle at 40% 35%, #e9f0ff, #6d8fd6 70%, #3a5aa8);
}
html.ro-skin .theme-ro .win-head .x { border-radius: 0; background: var(--ro-sys-close-off) center / 11px 11px no-repeat; }
html.ro-skin .theme-ro .win-head .x:hover { background: var(--ro-sys-close-on) center / 11px 11px no-repeat; }
.theme-ro .win-head .mini {
	width: 11px; height: 11px; min-height: 11px; padding: 0; border: 0; border-radius: 2px; font-size: 0; flex: none; margin-right: -4px;
	background: linear-gradient(#e9f0ff, #9db3e3); box-shadow: inset 0 -3px 0 -1px #3a5aa8;
}
html.ro-skin .theme-ro .win-head .mini { border-radius: 0; box-shadow: none; background: var(--ro-sys-mini-off) center / 11px 11px no-repeat; }
.theme-ro .win-body {
	background: #fff; border: 1px solid var(--ro-edge); border-top: 0; padding: 6px 7px; color: #000;
	scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9;
}
.theme-ro .win:has(> .win-foot:not(.hidden)) .win-body { border-bottom: 0; }
.theme-ro .win-foot {
	min-height: 21px; padding: 0 7px; gap: 4px; border: 1px solid var(--ro-edge); border-top: 1px solid #dfe3ea; border-radius: 0 0 5px 5px;
	background: repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px);
}
html.ro-skin .theme-ro .win-foot {
	border: 0; border-radius: 0;
	background: var(--ro-btnbar-left) left top / 21px 100% no-repeat, var(--ro-btnbar-right) right top / 21px 100% no-repeat,
		var(--ro-btnbar-mid) 21px 0 / calc(100% - 42px) 100% no-repeat;
}
.theme-ro .win-foot > * { margin: 1px 0; }
.theme-ro .win h4 { margin: 8px 0 4px; font-size: 12px; color: var(--ro-navy); }
.theme-ro .win p { margin: 4px 0; }
.theme-ro .desc { background: #fff; border: 1px solid #c8ccd6; border-radius: 0; padding: 6px; font-size: 12px; color: #000; }
.theme-ro .desc .ic.big { float: left; margin: 0 6px 2px 0; }
.theme-ro .actions { gap: 4px; margin-top: 6px; }
.theme-ro .row { gap: 4px; }
.theme-ro table.grid td, .theme-ro table.grid th { padding: 2px 4px; border-bottom: 1px solid #e3e6ec; font-size: 12px; }
.theme-ro table.grid th { color: var(--ro-navy); font-weight: bold; font-size: 11px; }
.theme-ro .qty { width: 64px; }
.theme-ro .kv { font-size: 12px; gap: 2px 8px; }
.theme-ro .kv .muted { color: var(--ro-navy); }

/* rows of items / members / skills */
.theme-ro .item-row { padding: 2px 3px; gap: 6px; border-bottom: 1px solid #edf0f5; border-radius: 0; }
.theme-ro .item-row:hover { background: var(--ro-hover); }
.theme-ro .item-row.sel { background: var(--ro-sel); }
.theme-ro .item-row .ct { color: #333; }
.theme-ro .ic { width: 24px; height: 24px; border-radius: 3px; font-size: 10px; }
.theme-ro .party-member { border-bottom-color: #edf0f5; padding: 4px 2px; }
.theme-ro .skill-row { padding: 3px 2px; gap: 6px; border-bottom: 1px solid #edf0f5; }
.theme-ro .skill-row:hover { background: var(--ro-hover); }
.theme-ro .skill-row b { font-weight: bold; color: #000; }
.theme-ro .skill-row .meta { color: #666; font-size: 11px; }
.theme-ro .sic { background: #eef1f7; border-radius: 3px; }
.theme-ro .sic.img { background: none; }
html.ro-skin .theme-ro .sic:not(.img) { background: var(--ro-no-skill) center / 24px no-repeat; }

/* tabs (tab_l/m/r, the active one tab_a_*) */
.theme-ro .tabs { gap: 1px; margin-bottom: 4px; border-bottom: 1px solid #b9c2d6; }
.theme-ro .tabs button, .theme-ro .chat-tabs button {
	height: 19px; min-height: 19px; padding: 0 8px; border: 1px solid #b9c2d6; border-bottom: 0; border-radius: 4px 4px 0 0;
	background: linear-gradient(#f7f8fb, #e1e5ee); font-size: 11px; line-height: 18px; color: #333;
}
.theme-ro .tabs button.on, .theme-ro .chat-tabs button.on { background: linear-gradient(#ffffff, #dfe8fb); color: #000; font-weight: bold; border-color: #8ea3d3; }
html.ro-skin .theme-ro .tabs button, html.ro-skin .theme-ro .chat-tabs button {
	border: 0; border-radius: 0;
	background: var(--ro-tab-l) left top / 4px 100% no-repeat, var(--ro-tab-r) right top / 4px 100% no-repeat, var(--ro-tab-m) 4px 0 / calc(100% - 8px) 100% no-repeat, #fff;
}
html.ro-skin .theme-ro .tabs button.on, html.ro-skin .theme-ro .chat-tabs button.on {
	background: var(--ro-tab-a-l) left top / 4px 100% no-repeat, var(--ro-tab-a-r) right top / 4px 100% no-repeat, var(--ro-tab-a-m) 4px 0 / calc(100% - 8px) 100% no-repeat, #fff;
}

/* ---- Basic Info (basewin_bg 280x120): name, job, HP / SP gauges, Base / Job level and EXP, weight, zeny, menu ---- */
.theme-ro #hud-char {
	left: 6px; top: 6px; width: 280px; height: 120px; padding: 0; border: 1px solid var(--ro-edge); border-radius: 6px 6px 4px 4px;
	background:
		linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%) 0 0 / 100% 17px no-repeat,
		linear-gradient(#e5e7ea, #e5e7ea) 6px 72px / 191px 25px no-repeat,
		linear-gradient(#c0c0c0, #c0c0c0) 0 99px / 200px 1px no-repeat,
		linear-gradient(90deg, transparent 199px, #c0c0c0 199px 200px, transparent 200px),
		repeating-linear-gradient(#ffffff 0 2px, #f2f2f2 2px 4px) 200px 17px / 80px 103px no-repeat,
		repeating-linear-gradient(#ffffff 0 2px, #f2f2f2 2px 4px) 0 100px / 200px 20px no-repeat,
		#fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); color: #000; backdrop-filter: none; font: 12px/1.3 var(--ro-font);
}
html.ro-skin .theme-ro #hud-char { border: 0; border-radius: 0; background: var(--ro-basewin-bg) 0 0 / 280px 120px no-repeat; }
.theme-ro #hud-char .ro-title { position: absolute; left: 0; top: 0; width: 100%; height: 17px; padding: 0 0 0 14px; font: 12px/17px var(--ro-font); color: #000; cursor: default; }
.theme-ro #hud-char .ro-mini {
	position: absolute; right: 4px; top: 3px; width: 11px; height: 11px; min-height: 11px; padding: 0; border: 0; border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #e9f0ff, #6d8fd6 70%, #3a5aa8);
}
html.ro-skin .theme-ro #hud-char .ro-mini { border-radius: 0; background: var(--ro-sys-mini-off) center / 11px 11px no-repeat; }
.theme-ro #hud-char .hud-name { position: absolute; left: 9px; top: 21px; width: 96px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 15px; }
.theme-ro #hud-char .hud-name b { font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro #hud-char .hud-name .muted { color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* gauges: frame drawn by the window (x 110-194, y 22 / 43); fill = gzeblue (gzered when HP < 25%) */
.theme-ro #hud-char .bar { position: absolute; margin: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.theme-ro #hud-char .bar.hp, .theme-ro #hud-char .bar.sp { left: 110px; width: 85px; height: 9px; }
.theme-ro #hud-char .bar.hp { top: 22px; }
.theme-ro #hud-char .bar.sp { top: 43px; }
.theme-ro #hud-char .bar.hp::before, .theme-ro #hud-char .bar.sp::before {
	position: absolute; right: calc(100% + 4px); top: -3px; font: bold 12px/15px var(--ro-font); color: #000;
}
.theme-ro #hud-char .bar.hp::before { content: 'HP'; }
.theme-ro #hud-char .bar.sp::before { content: 'SP'; }
html:not(.ro-skin) .theme-ro #hud-char .bar.hp, html:not(.ro-skin) .theme-ro #hud-char .bar.sp,
html:not(.ro-skin) .theme-ro #hud-char .bar.exp, html:not(.ro-skin) .theme-ro #hud-char .bar.jexp { box-shadow: inset 0 0 0 1px #5e5f61; background: linear-gradient(#a2a6aa, #f4f5f6); border-radius: 4px; }
.theme-ro #hud-char .bar i { top: 0; bottom: auto; height: 8px; border-radius: 4px; background: linear-gradient(#456ab9, #8aa9e6 40%, #6f93dc); }
.theme-ro #hud-char .bar.hp.low i { background: linear-gradient(#a1243a, #f07a8c 40%, #d9485f); }
html.ro-skin .theme-ro #hud-char .bar i {
	border-radius: 0;
	background: var(--ro-gzeblue-left) left top / 4px 8px no-repeat, var(--ro-gzeblue-right) right top / 4px 8px no-repeat, var(--ro-gzeblue-mid) 4px 0 / calc(100% - 8px) 8px no-repeat;
}
html.ro-skin .theme-ro #hud-char .bar.hp.low i {
	background: var(--ro-gzered-left) left top / 4px 8px no-repeat, var(--ro-gzered-right) right top / 4px 8px no-repeat, var(--ro-gzered-mid) 4px 0 / calc(100% - 8px) 8px no-repeat;
}
.theme-ro #hud-char .bar span { position: absolute; left: 0; right: 0; top: 9px; font: 11px/12px var(--ro-font); color: #000; text-shadow: none; font-weight: normal; text-align: center; }
/* Base / Job level and EXP in the grey box (x 6-196, y 72-96) */
.theme-ro #hud-char .bar.exp, .theme-ro #hud-char .bar.jexp { left: 72px; width: 120px; height: 9px; }
.theme-ro #hud-char .bar.exp { top: 75px; }
.theme-ro #hud-char .bar.jexp { top: 86px; }
html.ro-skin .theme-ro #hud-char .bar.exp, html.ro-skin .theme-ro #hud-char .bar.jexp { background: var(--ro-gze-bg1) 0 0 / 100% 9px no-repeat; }
.theme-ro #hud-char .bar.exp span, .theme-ro #hud-char .bar.jexp span { left: auto; right: calc(100% + 4px); top: -2px; width: 64px; text-align: left; white-space: nowrap; font-size: 11px; }
.theme-ro #hud-char .bar.exp i, .theme-ro #hud-char .bar.jexp i { height: 8px; }
html.ro-skin .theme-ro #hud-char .bar.exp i { background: linear-gradient(#6a8fd8, #b9cdf3 45%, #90afe9); }
html.ro-skin .theme-ro #hud-char .bar.jexp i { background: linear-gradient(#5aa06a, #b6e3bf 45%, #84c693); }
html:not(.ro-skin) .theme-ro #hud-char .bar.jexp i { background: linear-gradient(#5aa06a, #b6e3bf 45%, #84c693); }
/* bottom strip (y 100-119): weight, zeny */
.theme-ro #hud-char .hud-small { position: absolute; left: 8px; top: 102px; width: 186px; height: 15px; margin: 0; font-size: 0; color: #000; }
.theme-ro #hud-char .hud-small span { position: absolute; top: 0; font: 11px/15px var(--ro-font); white-space: nowrap; }
.theme-ro #hud-char #txt-weight { left: 0; }
.theme-ro #hud-char #txt-weight.bad { color: #c62828; font-weight: bold; }
.theme-ro #hud-char #txt-zeny { right: 0; }
/* both too long for the strip (big Zeny / weight): smaller type, measured by ui.fitHudSmall() */
.theme-ro #hud-char .hud-small.tight span { font-size: 10px; letter-spacing: -0.2px; }
.theme-ro #hud-char .hud-small.tighter span { font-size: 9px; letter-spacing: -0.3px; }
/* menu buttons of the right column (30x20) */
.theme-ro #hud-char .ro-btns { position: absolute; left: 204px; top: 21px; width: 70px; display: grid !important; grid-template-columns: 30px 30px; gap: 3px 7px; }
.theme-ro #hud-char .ro-btns .rb { width: 30px; height: 20px; min-height: 20px; padding: 0; }
/* (the game's icon set - roicons.js, Noh 2026-10-31: the client's English "status / items" pictures no more) */
.theme-ro #hud-char .ro-btns .rb, .theme-ro #hud-char .ro-btns .rb:hover { display: grid; place-items: center; border: 1px solid #0f141c; border-radius: 3px; color: #f3d17a; --gi-fill: rgba(110, 160, 255, 0.35);
	background: linear-gradient(#34476a, #2a394f 50%); box-shadow: 0 0 0 1px #9bb1f1, inset 0 -2px 0 #7b8fc3; }
.theme-ro #hud-char .ro-btns .rb:hover { filter: brightness(1.15); }
.theme-ro #hud-char .ro-btns .rb.on, .theme-ro #hud-char .ro-btns .rb:active { color: #fff3c4; background: linear-gradient(#1f2b40, #2a394f); box-shadow: 0 0 0 1px #c4d2f8, inset 0 2px 0 rgba(0, 0, 0, 0.35); }
.theme-ro #hud-char .ro-btns .rb .gi { width: 15px; height: 15px; }
/* status point reminder (lv_up), states */
.theme-ro #hud-char .ro-lvup { position: absolute; left: 286px; top: 2px; width: 43px; height: 43px; min-height: 43px; padding: 0; border: 0; border-radius: 6px;
	background: linear-gradient(#3f6ad6, #1c3a99); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); animation: ro-pulse 1.2s ease-in-out infinite alternate; }
.theme-ro #hud-char .ro-lvup::after { content: 'up'; color: #fff; font: bold 13px var(--ro-font); }
html.ro-skin .theme-ro #hud-char .ro-lvup { border-radius: 0; background: var(--ro-lv-up-off) center / 43px no-repeat; box-shadow: none; }
html.ro-skin .theme-ro #hud-char .ro-lvup::after { content: none; }
@keyframes ro-pulse { from { opacity: 0.75; } to { opacity: 1; } }
.ro-lvup.hidden { display: none !important; }
.theme-ro #hud-char .efst-list { position: absolute; left: 0; top: 124px; width: 280px; margin: 0; }
.theme-ro .efst { background: rgba(255, 255, 255, 0.92); border: 1px solid var(--ro-edge); border-radius: 3px; color: #000; font-size: 11px; line-height: 16px; }
/* minimised: basewin_mini 280x34 (title + HP / SP) */
.theme-ro #hud-char.mini { height: 34px; background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%) 0 0 / 100% 17px no-repeat, repeating-linear-gradient(#ffffff 0 2px, #f2f2f2 2px 4px); }
html.ro-skin .theme-ro #hud-char.mini { background: var(--ro-basewin-mini) 0 0 / 280px 34px no-repeat; }
.theme-ro #hud-char.mini .hud-name, .theme-ro #hud-char.mini .bar.exp, .theme-ro #hud-char.mini .bar.jexp, .theme-ro #hud-char.mini .hud-small,
.theme-ro #hud-char.mini .ro-btns, .theme-ro #hud-char.mini .bar span { display: none !important; }
.theme-ro #hud-char.mini .bar.hp { top: 21px; left: 30px; }
.theme-ro #hud-char.mini .bar.sp { top: 21px; left: 160px; }
.theme-ro #hud-char.mini .efst-list { top: 38px; }
.theme-ro #hud-char.mini .ro-lvup { width: 30px; height: 30px; min-height: 30px; background-size: 30px; }

/* ---- Basic Info like the newer official client (client-debug/js/basicinfo.js): a computer screen, unless the classic
   window is chosen in the options (html.bi-classic). 280 wide like the classic one (the F-bar sits beside it) ---- */
.bi2 { display: none; }
@media (min-width: 701px) {
	html:not(.bi-classic) .theme-ro #hud-char, html.ro-skin:not(.bi-classic) .theme-ro #hud-char,
	html:not(.bi-classic) .theme-ro #hud-char.mini, html.ro-skin:not(.bi-classic) .theme-ro #hud-char.mini {
		height: auto; padding: 0; border: 1px solid var(--ro-edge); border-radius: 4px 4px 3px 3px; background: repeating-linear-gradient(#ffffff 0 2px, #f4f5f8 2px 4px); }
	html:not(.bi-classic) .theme-ro #hud-char > :not(.bi2):not(.ro-lvup):not(.ro-mail) { display: none !important; }
	html:not(.bi-classic) .theme-ro #hud-char .bi2 { display: block; --bi-fill: #dfe8fb; font: 11px/14px var(--ro-font); color: #000; }
	html:not(.bi-classic) .theme-ro #hud-char .bi2-mini { display: none; }
	html:not(.bi-classic) .theme-ro #hud-char.mini .bi2-full { display: none; }
	html:not(.bi-classic) .theme-ro #hud-char.mini .bi2-mini { display: block; }
	/* the status point / mail buttons under it, at its right (the F-bar is beside it) */
	html:not(.bi-classic) .theme-ro #hud-char .ro-lvup { left: auto; right: 0; top: calc(100% + 4px); }
	html:not(.bi-classic) .theme-ro #hud-char .ro-mail { left: auto; right: 48px; top: calc(100% + 4px); }
}
.theme-ro .bi2-head { display: flex; align-items: center; gap: 8px; height: 17px; padding: 0 8px; border-radius: 3px 3px 0 0;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
html.ro-skin .theme-ro .bi2-head { background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat, var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .bi2-head b { flex: 1; min-width: 0; font: bold 12px/17px var(--ro-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .bi2-head span { flex: none; max-width: 130px; font: 11px/17px var(--ro-font); color: #26324f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .bi2-row { display: flex; align-items: center; gap: 4px; height: 15px; padding: 0 6px; margin-top: 2px; }
.theme-ro .bi2-row:first-of-type { margin-top: 4px; }
.theme-ro .bi2-row i { flex: none; width: 20px; font: bold 11px/15px var(--ro-font); font-style: normal; }
.theme-ro .bi2-row.bi2-b i, .theme-ro .bi2-row.bi2-j i { width: 64px; font-weight: normal; white-space: nowrap; }
.theme-ro .bi2-bar { position: relative; flex: 1; min-width: 0; height: 9px; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px #6a6e78; background: linear-gradient(#a2a6aa, #f4f5f6); }
.theme-ro .bi2-bar u { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; text-decoration: none; background: linear-gradient(#456ab9, #8aa9e6 40%, #6f93dc); transition: width 0.15s; }
html.ro-skin .theme-ro .bi2-bar u { border-radius: 0; background: var(--ro-gzeblue-left) left top / 4px 9px no-repeat, var(--ro-gzeblue-right) right top / 4px 9px no-repeat, var(--ro-gzeblue-mid) 4px 0 / calc(100% - 8px) 9px no-repeat; }
.theme-ro .bi2-hp.low .bi2-bar u { background: linear-gradient(#a1243a, #f07a8c 40%, #d9485f); }
html.ro-skin .theme-ro .bi2-hp.low .bi2-bar u { background: var(--ro-gzered-left) left top / 4px 9px no-repeat, var(--ro-gzered-right) right top / 4px 9px no-repeat, var(--ro-gzered-mid) 4px 0 / calc(100% - 8px) 9px no-repeat; }
.theme-ro .bi2-b .bi2-bar u { background: linear-gradient(#6a8fd8, #b9cdf3 45%, #90afe9); }
.theme-ro .bi2-j .bi2-bar u { background: linear-gradient(#5aa06a, #b6e3bf 45%, #84c693); }
html.ro-skin .theme-ro .bi2-b .bi2-bar u { border-radius: 4px; background: linear-gradient(#6a8fd8, #b9cdf3 45%, #90afe9); }
html.ro-skin .theme-ro .bi2-j .bi2-bar u { border-radius: 4px; background: linear-gradient(#5aa06a, #b6e3bf 45%, #84c693); }
/* the account's rank under Job Lv. (Midgard, client-debug/js/rankbar.js; Noh 2026-10-26 "เอาแถวสีทอง"): "★ Rank 37" in gold, a
   cream track with a gold rim, the fill in its band's colour (--rk: ทองแดง, เงิน, ทอง ...) with a light running over it now and
   then, the rainbow at the last rank; a click = the rank table; a rank up glows once */
.theme-ro .bi2-r { --rk: #f2c94c; margin-left: 2px; margin-right: 2px; padding: 0 4px; border-radius: 3px; cursor: pointer; }
.theme-ro .bi2-r:hover { background: rgba(242, 201, 76, 0.18); }
.theme-ro .bi2-row.bi2-r i { display: flex; align-items: center; gap: 2px; width: 64px; font-weight: bold; color: #6b4a00; white-space: nowrap; }
.theme-ro .bi2-r i b { font: 12px/15px Arial, sans-serif; color: var(--rk); text-shadow: 0 0 1px #4a3200, 0 0 1px #4a3200, 0 1px 1px rgba(74, 50, 0, 0.6); }
.theme-ro .bi2-r i small { font: bold 11px/15px var(--ro-font); }
.theme-ro .bi2-r .bi2-bar { height: 9px; box-shadow: inset 0 0 0 1px #b8902e; background: linear-gradient(#e9dcb2, #fff8e6); }
.theme-ro .bi2-r .bi2-bar u, html.ro-skin .theme-ro .bi2-r .bi2-bar u { overflow: hidden; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(90, 60, 0, 0.35);
	background: linear-gradient(color-mix(in srgb, var(--rk) 45%, #fff), var(--rk) 50%, color-mix(in srgb, var(--rk) 78%, #000)); }
.theme-ro .bi2-r.rk-max .bi2-bar u, html.ro-skin .theme-ro .bi2-r.rk-max .bi2-bar u { background: linear-gradient(90deg, #ff7ad9, #ffe066, #5fd1c7, #6fb6ff, #b98cff); }
.theme-ro .bi2-r .bi2-bar u::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.9), transparent);
	transform: translateX(-120%); animation: rk-shine 5s ease-in-out infinite; }
.theme-ro .bi2-r em { font-weight: bold; color: #6b4a00; }
.theme-ro .bi2-r.rk-up .bi2-bar { animation: rk-glow 1.6s ease-out; }
.theme-ro .bi2-r.rk-up i b { animation: rk-pop 0.55s ease-out 2; }
.theme-ro #hud-char .bar.rexp { display: none !important; } /* (the default theme's gauge) */
.theme-ro .bi2-row span { flex: none; width: 92px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.theme-ro .bi2-row.bi2-b span, .theme-ro .bi2-row.bi2-j span { display: none; }
.theme-ro .bi2-row em { flex: none; width: 40px; text-align: right; font-style: normal; color: #26324f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.theme-ro .bi2-wz { display: flex; justify-content: space-between; gap: 6px; height: 16px; margin: 3px 6px 0; padding: 1px 4px 0; border-top: 1px solid #c8cfdf; overflow: hidden; white-space: nowrap; }
.theme-ro .bi2-wz span { flex: none; }
.theme-ro .bi2-wz #bi2-w { white-space: pre; } /* ("Weight :  51 / 2030": its padding kept) */
.theme-ro .bi2-wz .bad { color: #c0161c; }
.theme-ro .bi2-wz.tight { font-size: 10px; letter-spacing: -0.2px; gap: 4px; }
.theme-ro .bi2-wz.tighter { font-size: 9.5px; letter-spacing: -0.4px; gap: 3px; padding: 1px 0 0; }
/* the menu icons: two rows of six */
.theme-ro .bi2-menu { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 4px 5px 2px; margin-top: 2px; border-top: 1px solid #c8cfdf; justify-items: center; }
/* the game's icon set (roicons.js, Noh 2026-10-31): gold line icons on the dark slate tiles of the official menu icons */
.theme-ro .bi2-ic, .theme-ro .bi2-ic:hover { display: grid; place-items: center; width: 30px; height: 30px; min-height: 30px; min-width: 0; padding: 0; margin: 1px; border: 1px solid #0f141c; border-radius: 3px;
	color: #f3d17a; --gi-fill: rgba(110, 160, 255, 0.35); background: linear-gradient(#34476a, #2a394f 45%) !important;
	box-shadow: 0 0 0 1px #9bb1f1, inset 0 -2px 0 #7b8fc3, 1px 1px 0 1px rgba(20, 20, 20, 0.6); cursor: pointer; }
.theme-ro .bi2-ic:hover { filter: brightness(1.15); }
.theme-ro .bi2-ic.on, .theme-ro .bi2-ic:active { color: #fff3c4; background: linear-gradient(#1f2b40, #2a394f) !important; box-shadow: 0 0 0 1px #c4d2f8, inset 0 2px 0 rgba(0, 0, 0, 0.35), 1px 1px 0 1px rgba(20, 20, 20, 0.6); }
.theme-ro .bi2-ic .gi { width: 20px; height: 20px; filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.5)); }
.theme-ro .bi2-tab { display: block; width: 44px; height: 13px; min-height: 13px; margin: 2px auto 0; padding: 0; border: 1px solid #aebad6; border-bottom: 0; border-radius: 5px 5px 0 0;
	background: linear-gradient(#e2eafa, #b9cbf0) !important; color: #2c4c93; font: bold 9px/12px Arial, sans-serif; text-align: center; box-shadow: none; cursor: pointer; }
.theme-ro .bi2-tab:hover { background: linear-gradient(#f1f5fd, #cbd9f4) !important; }
/* minimized: two lines and ▼ at the right */
.theme-ro .bi2-mini { position: relative; padding: 3px 26px 3px 8px; }
.theme-ro .bi2-mini > div[id^="bi2-m"] { height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-ro .bi2-mini #bi2-m1 { font-weight: bold; }
.theme-ro .bi2-mini .bi2-tab { position: absolute; right: 4px; top: 4px; width: 16px; height: 16px; min-height: 16px; margin: 0; border: 1px solid #aebad6; border-radius: 3px; }
/* small like the newer official client: the name, "Lv / job / Lv / Exp", "HP | SP"; ▼ = large, ☰ = the menu icons under it */
.theme-ro .bi2-mini #bi2-m0 { font-weight: bold; }
.theme-ro .bi2-mini #bi2-m1 { font-weight: normal; }
.theme-ro .bi2-menubtn { position: absolute; right: 4px; top: 24px; width: 16px; height: 16px; min-height: 16px; min-width: 0; margin: 0; padding: 3px 3px; border: 1px solid #aebad6; border-radius: 3px;
	background: linear-gradient(#ffffff, #dde5f5); display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.theme-ro .bi2-menubtn i { display: block; height: 2px; border-radius: 1px; background: #4a5a86; }
.theme-ro .bi2-menubtn:hover { background: linear-gradient(#f1f5fd, #cbd9f4); }
.theme-ro #hud-char.bimenu .bi2-menubtn { background: linear-gradient(#6f93dc, #456ab9); border-color: #3a5aa8; }
.theme-ro #hud-char.bimenu .bi2-menubtn i { background: #fff; }
.theme-ro .bi2-mini .bi2-menu { display: none; margin: 3px -26px 0 -8px; }
.theme-ro #hud-char.bimenu .bi2-mini .bi2-menu { display: grid; }

/* ---- minimap: a small window with the map name in its title bar ---- */
.theme-ro #hud-map { right: 6px; top: 6px; width: 150px; padding: 0; border: 1px solid var(--ro-edge); border-radius: 6px 6px 3px 3px; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); backdrop-filter: none; }
.theme-ro .hud-mapname { height: 17px; padding: 0 8px 0 12px; font: 12px/17px var(--ro-font); color: #000; border-radius: 6px 6px 0 0;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
html.ro-skin .theme-ro #hud-map { border-radius: 0; border-top: 0; }
html.ro-skin .theme-ro .hud-mapname { border-radius: 0; margin: 0 -1px;
	background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat, var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .hud-mapname b { font-weight: normal; }
.theme-ro .hud-mapname #hud-xy { color: #333; }
.theme-ro #minimap { width: 140px; height: 140px; margin: 4px; border-radius: 0; background: #000; }
.theme-ro .zoom { margin: 0 4px 4px; gap: 3px; }
.theme-ro .zoom button { min-height: 18px; height: 18px; font-size: 12px; line-height: 16px; padding: 0; }
.theme-ro #hud-map.closed #minimap, .theme-ro #hud-map.closed .zoom { display: none; }
/* ---- the minimap like the newer official client's (a setting, Alt+O "แผนที่เล็ก: แบบเกมจริง" - minimapoff.js; Noh's
   screenshots of Nebula-RO): no frame / title, the map on a see-through black square (the renderer's drawMinimap), 20 px
   under it the row: the magnifier at the square's left, the coordinates from 22 px, + / − / ▼▼ / ● at 72 / 86 / 100 /
   114 (12 x 12 pictures from the screenshots), white and grey, a little brighter under the mouse ---- */
.mm-row { display: none; }
@media (min-width: 701px) {
	html.mm-official:not(.mhud) .theme-ro #hud-map { width: 140px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	html.mm-official:not(.mhud) .theme-ro .hud-mapname, html.mm-official:not(.mhud) .theme-ro #hud-map .zoom { display: none; }
	html.mm-official:not(.mhud) .theme-ro #minimap { width: 140px; height: 140px; margin: 0; background: none; }
	html.mm-official:not(.mhud) .theme-ro .mm-row { display: block; position: relative; width: 140px; height: 12px; margin: 19px 0 4px; }
	html.mm-official:not(.mhud) .theme-ro #hud-map.closed .mm-row { margin-top: 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-ic { position: absolute; top: 0; width: 12px; height: 12px; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 0;
		border-radius: 0; box-shadow: none; background: var(--mm-icons) 0 0 / 60px 12px no-repeat; image-rendering: pixelated; cursor: pointer; }
	html.mm-official:not(.mhud) .theme-ro .mm-ic:hover { filter: brightness(1.15) drop-shadow(0 0 1px rgba(255, 255, 255, 0.6)); }
	html.mm-official:not(.mhud) .theme-ro .mm-find { left: 0; background-position: 0 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-plus { left: 72px; background-position: -12px 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-minus { left: 86px; background-position: -24px 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-fold { left: 100px; background-position: -36px 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-dot { left: 114px; background-position: -48px 0; }
	html.mm-official:not(.mhud) .theme-ro .mm-xy { position: absolute; left: 22px; top: 0; width: 52px; height: 12px; image-rendering: pixelated; pointer-events: none; }
}

/* ---- inventory: vertical tabs + the 8 x n grid of 32x32 cells (itemwin_mid), count at the bottom right ---- */
.theme-ro .win-inv .win-body { padding: 4px 4px 6px; }
/* ---- the item window of a computer like the official client's (ui.js invOfficial, Noh 2026-11-15 "เรื่องไอเทมใน alt e",
   his screenshot of Nebula-RO): 280 wide; the tab column (a canvas: ui.js invOfficialAfter) 20 px, 19 px of white, the grid
   of the client's own 32 x 32 cells (their picture taken from the screenshot) 7 across and 6 down, 15 px for its scroll bar;
   the foot: the count, the lock, the search (their pictures from the screenshot too) ---- */
.theme-ro .win.pcinv > .win-body { padding: 0 0 1px; overflow: visible; } /* (a white row under the grid, then the foot) */
.theme-ro .inv-off { display: flex; height: 192px; background: #fff; }
.theme-ro .inv-off .otabs { position: relative; flex: none; width: 20px; height: 192px; }
.theme-ro .inv-off .otabs-art { position: absolute; left: 0; top: 0; width: 20px; height: 192px; image-rendering: pixelated; }
.theme-ro .inv-off .otab, .theme-ro .inv-off .otab.on { position: absolute; left: 2px; width: 18px; height: 25px; min-height: 0; padding: 0; border: 0; background: none !important; box-shadow: none; cursor: pointer; }
.theme-ro .inv-off .otab .ol { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.theme-ro .inv-off .otab.drop-ok { outline: 1px dashed #5876c4; outline-offset: -2px; }
.theme-ro .inv-off .ogrid { flex: none; width: 239px; height: 192px; margin-left: 19px; display: grid; grid-template-columns: repeat(7, 32px); grid-auto-rows: 32px; align-content: start; overflow-y: auto; overflow-x: hidden; }
.theme-ro .item-cell.oc, html.ro-skin .theme-ro .item-cell.oc { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAABA0lEQVR42u2WIXPDMAxGlVyBymxmQ8HAlKUwsHB0cDQ/Z3Rso4VhG1xYzRoo6DCbRcwD3UZ2W0GTuwF/J2h972yTV6SUAGDswuluGhyLCNwWRGxq2h1N9agBoEgpvd9z3/KuqozVsEQmH07jeHij/QttuAt9yxURWY2ICm9tF4Gt1bNQ37LtVPH8et6iIquNwoUuAF5g8sI+zBLLwbGxGnGxdgCwCEqhsXpwXF5+FRGWDX4+l5SwcjIgAzIgAzIgAzLgnwDwIhSycK98aWTZ1DT5EEV8uL7zPVfFK0aZfGhq2uyP5ql2sxCQFcE/BEl+aM9vx2KUM/uR+cHVq8tvsba+fwCnlYk027fuFAAAAABJRU5ErkJggg==") 0 0 / 32px 32px no-repeat; image-rendering: pixelated; }
.theme-ro .item-cell.oc:hover:not(.empty) { background-color: transparent; }
.theme-ro .item-cell.oc.sel, html.ro-skin .theme-ro .item-cell.oc.sel { background: linear-gradient(rgba(88, 118, 196, 0.16), rgba(88, 118, 196, 0.16)), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAABA0lEQVR42u2WIXPDMAxGlVyBymxmQ8HAlKUwsHB0cDQ/Z3Rso4VhG1xYzRoo6DCbRcwD3UZ2W0GTuwF/J2h972yTV6SUAGDswuluGhyLCNwWRGxq2h1N9agBoEgpvd9z3/KuqozVsEQmH07jeHij/QttuAt9yxURWY2ICm9tF4Gt1bNQ37LtVPH8et6iIquNwoUuAF5g8sI+zBLLwbGxGnGxdgCwCEqhsXpwXF5+FRGWDX4+l5SwcjIgAzIgAzIgAzLgnwDwIhSycK98aWTZ1DT5EEV8uL7zPVfFK0aZfGhq2uyP5ql2sxCQFcE/BEl+aM9vx2KUM/uR+cHVq8tvsba+fwCnlYk027fuFAAAAABJRU5ErkJggg==") 0 0 / 32px 32px no-repeat; }
.theme-ro .item-cell.oc .ic { left: 4px; top: 4px; }
.theme-ro .win.pcinv > .win-foot { position: relative; justify-content: flex-start; gap: 0; padding: 0; }
.theme-ro .win.pcinv > .win-foot > * { margin: 0; }
.theme-ro .win.pcinv .oi { position: absolute; top: 4px; min-height: 0; padding: 0; border: 0; box-shadow: none; background-repeat: no-repeat; background-position: 0 0; image-rendering: pixelated; }
.theme-ro .win.pcinv .oi-book { left: 23px; top: 5px; width: 11px; height: 12px; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAMCAYAAAC0qUeeAAAAo0lEQVR42pWRIRLCMBBFXzoxdUEiU4fsFZBco0dAYhsZieQaSK4Q18pKJJF1xbAhE6YD/Jmd2bz9YvMXXur6Yen6YSFTyZQ8jDEAxBiTuWQa4HTccb3NABz222TOmfMjFX+oAmhqpQQ0tVJSOUvmX6WlmabHx7BkKY22tQCEMKVhyVIazo9IL8qZ8+N7jdy0xjTA+XLH2s3qx2R3LRcKIX5N4wmYY0GLKTUgjgAAAABJRU5ErkJggg=="); }
.theme-ro .win.pcinv .ocount { position: absolute; left: 34px; top: 4px; width: 60px; height: 16px; font: 12px/16px var(--ro-font); color: #000; }
.theme-ro .win.pcinv .ocount canvas { display: block; width: 60px; height: 16px; image-rendering: pixelated; }
.theme-ro .win.pcinv .oi-lock { left: 84px; top: 5px; width: 9px; height: 11px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAALCAYAAACtWacbAAAAN0lEQVR42mNkgALDoJ7/DGjg/LoSRgZ8CpDFmRiIAEQpYsRlFckmMeH1EUUmYXMjcSZhcwO6GwEXShIhKrBupwAAAABJRU5ErkJggg==") 0 0 no-repeat; cursor: pointer; }
.theme-ro .win.pcinv .oi-lock.locked { outline: 1px solid #c0161c; outline-offset: 1px; }
.theme-ro .win.pcinv .oi-search { left: 103px; top: 4px; width: 12px; height: 12px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAATElEQVR42mNkIAAMg3r+w9jn15UwEq0YxmckxSS4GmwmofNxKsamCZnNxEAEQHYiURowXIHXzWiAEacpOEKMkdQIYyLGo0SHErYIBAA4GjS1r8gulwAAAABJRU5ErkJggg==") 0 0 no-repeat; cursor: pointer; }
.theme-ro .win.pcinv .oi-search.on { outline: 1px solid #5876c4; outline-offset: 1px; }
.theme-ro .win.pcinv .inv-find { position: absolute; left: 120px; top: 1px; width: 130px; height: 17px; min-height: 0; padding: 0 3px; font: 12px var(--ro-font); }
.theme-ro .inv-ro { display: flex; align-items: flex-start; }
.theme-ro .inv-ro .cells {
	display: grid; grid-template-columns: repeat(8, 32px); grid-auto-rows: 32px; border: 1px solid #b9c2d6; background: #fff;
	max-height: calc(32px * 6 + 2px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9;
}
.theme-ro .item-cell { position: relative; width: 32px; height: 32px; cursor: pointer; background: radial-gradient(ellipse 13px 6px at 50% 72%, #c8d2ea, transparent); }
html.ro-skin .theme-ro .item-cell { background: var(--ro-itemwin-mid) 0 0 / 32px 32px no-repeat; }
.theme-ro .item-cell.empty { cursor: default; }
.theme-ro .item-cell:hover:not(.empty) { background-color: var(--ro-hover); }
.theme-ro .item-cell.sel { background: radial-gradient(ellipse 14px 7px at 50% 70%, #7f9ff2, #b8c9f6 70%, transparent 72%); }
html.ro-skin .theme-ro .item-cell.sel { background: var(--ro-item-invert) 2px 15px / 28px 15px no-repeat, var(--ro-itemwin-mid) 0 0 / 32px 32px no-repeat; }
.theme-ro .item-cell .ic { position: absolute; left: 4px; top: 3px; }
.theme-ro .item-cell b { position: absolute; right: 1px; bottom: 0; font: 10px/11px var(--ro-font); color: #000;
	text-shadow: -1px 0 #fff, 1px 0 #fff, 0 -1px #fff, 0 1px #fff; pointer-events: none; }
.theme-ro .item-cell.worn::after { content: 'E'; position: absolute; left: 1px; top: 0; font: bold 9px/10px var(--ro-font); color: #1e8a3c; text-shadow: 0 0 2px #fff; }
.theme-ro .win-inv .desc { margin-top: 5px; }
.theme-ro .win-inv .win-foot { font-size: 11px; }

/* ---- storage (storagewin.js, Noh 2026-10-20): a fill bar, search and order; the tabs across (cards apart); 10 cells a
   row of 36 px, rounded, the amount at the bottom right, a gold dot on an item with cards ---- */
.theme-ro .win-storage .stw { display: flex; flex-direction: column; gap: 5px; font: 11px/14px var(--ro-font); color: #1d2433; }
.theme-ro .stw-top { display: flex; align-items: center; gap: 6px; }
.theme-ro .stw-cap { display: flex; align-items: center; gap: 5px; flex: none; }
.theme-ro .stw-bar { position: relative; display: block; width: 92px; height: 8px; border: 1px solid #8ea3c8; border-radius: 5px; background: #e9eef8; overflow: hidden; }
.theme-ro .stw-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(#8fb4f4, #3f6fd0); }
.theme-ro .stw-cap.high .stw-bar i { background: linear-gradient(#ffd27a, #e8930c); }
.theme-ro .stw-cap.full .stw-bar i { background: linear-gradient(#ff9a8a, #d53a2a); }
.theme-ro .stw-n { font-weight: bold; color: #2b3a5c; white-space: nowrap; }
.theme-ro .stw-q { flex: 1 1 auto; min-width: 0; height: 20px; padding: 0 7px; border: 1px solid #a9b8d2; border-radius: 10px; background: #fff; font: 11px var(--ro-font); color: #000; }
.theme-ro .stw-q:focus { outline: none; border-color: #4f7fdc; box-shadow: 0 0 0 2px rgba(79, 127, 220, 0.18); }
.theme-ro .stw-sort { flex: none; height: 20px; padding: 0 2px; border: 1px solid #a9b8d2; border-radius: 3px; background: #fff; font: 11px var(--ro-font); color: #000; }
.theme-ro .stw-tabs { display: flex; flex-wrap: wrap; gap: 3px; }
.theme-ro .stw-tabs button, .theme-ro .stw-tabs button.on {
	display: inline-flex; align-items: center; gap: 4px; height: 20px; min-height: 20px; padding: 0 8px; margin: 0;
	font: 11px/18px var(--ro-font); color: #3c4660; border: 1px solid #b6c3da; border-radius: 10px;
	background: linear-gradient(#ffffff, #e8edf6) !important; box-shadow: none; cursor: pointer;
}
.theme-ro .stw-tabs button small { font-size: 10px; color: #7a86a0; }
.theme-ro .stw-tabs button:hover { border-color: #7f9fdc; color: #000; }
.theme-ro .stw-tabs button.on { color: #fff; font-weight: bold; border-color: #3a62b5; background: linear-gradient(#77a1ec, #3d6dcd) !important; }
.theme-ro .stw-tabs button.on small { color: #dfe8ff; }
.theme-ro .stw-grid {
	position: relative; display: grid; grid-template-columns: repeat(10, 36px); grid-auto-rows: 36px; gap: 3px; padding: 5px;
	border: 1px solid #c3cfe3; border-radius: 5px; background: linear-gradient(#fbfcfe, #f0f4fa);
	max-height: calc(36px * 6 + 3px * 5 + 10px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9;
}
.theme-ro .stw-grid .item-cell.stw-cell, html.ro-skin .theme-ro .stw-grid .item-cell.stw-cell {
	width: 36px; height: 36px; border: 1px solid #cfd8e8; border-radius: 6px;
	background: radial-gradient(circle at 50% 42%, #ffffff 0, #ffffff 40%, #e4eaf5 100%);
}
.theme-ro .stw-grid .item-cell.stw-cell .ic { left: 5px; top: 5px; }
.theme-ro .stw-grid .item-cell.stw-cell b { right: 3px; bottom: 1px; font-weight: bold; }
.theme-ro .stw-grid .item-cell.stw-cell:hover:not(.empty) { border-color: #6f97e6; box-shadow: inset 0 0 0 1px #6f97e6; background: radial-gradient(circle at 50% 42%, #ffffff 0, #f3f7ff 45%, #d9e5fb 100%); }
.theme-ro .stw-grid .item-cell.stw-cell.sel, html.ro-skin .theme-ro .stw-grid .item-cell.stw-cell.sel { border-color: #e39a1c; box-shadow: inset 0 0 0 1px #e39a1c; background: radial-gradient(circle at 50% 42%, #fffdf6 0, #fff4da 50%, #f6dfa6 100%); }
.theme-ro .stw-grid .item-cell.stw-cell.empty, html.ro-skin .theme-ro .stw-grid .item-cell.stw-cell.empty { border-color: #e1e7f1; background: #f3f6fb; }
.theme-ro .stw-card { position: absolute; left: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #f2b300; box-shadow: 0 0 0 1px #fff, 0 0 2px 1px rgba(160, 110, 0, 0.5); pointer-events: none; }
.theme-ro .stw-none { position: absolute; left: 0; right: 0; top: 46px; margin: 0; text-align: center; color: #7a86a0; pointer-events: none; }
.theme-ro .win-storage .win-foot { gap: 4px; }

/* ---- status: the newer official window - Str..Luk (value + bonus on a gauge, up arrow, cost) | Atk..Aspd, Status Point,
   Guild; the "สถานะตัวละคร" button opens the details under ---- */
.theme-ro .win-equip .win-body, .theme-ro .win-viewequip .win-body { padding: 0; overflow: hidden; }
.theme-ro .win-status .win-body { padding: 5px 6px 6px; overflow: hidden; }
.theme-ro .ro-stat2 { display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 8px; align-items: start; font: 12px/16px var(--ro-font); color: #000; }
.theme-ro .ro-stat2 .st-left { display: grid; row-gap: 2px; align-content: start; padding-right: 7px; border-right: 1px solid #dfe4ee; }
.theme-ro .st-row { display: grid; grid-template-columns: 26px 78px 14px 16px; align-items: center; column-gap: 3px; height: 18px; }
.theme-ro .st-l, .theme-ro .st-k { color: var(--ro-navy); font-weight: bold; }
.theme-ro .st-v { position: relative; height: 16px; border: 1px solid #b9c3d8; border-radius: 2px; background: #f6f8fc; overflow: hidden;
	display: flex; align-items: center; justify-content: center; gap: 1px; }
.theme-ro .st-v > i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#d9e5fb, #b3c8f0); border-right: 1px solid #9db4e4; }
.theme-ro .st-v > b, .theme-ro .st-v > em { position: relative; font-style: normal; }
.theme-ro .st-v > b { font-weight: bold; }
.theme-ro .st-v > em { color: #1c7c3a; font-weight: bold; }
.theme-ro .st-up { width: 14px; height: 14px; min-height: 14px; padding: 0; border: 0; border-radius: 2px; background: none; cursor: pointer; }
.theme-ro .st-up::after { content: ''; display: block; margin: 3px auto 0; width: 0; height: 0; border: 5px solid transparent; border-bottom: 7px solid #3f66cc; border-top: 0; }
.theme-ro .st-up:disabled { cursor: default; }
.theme-ro .st-up:disabled::after { border-bottom-color: #c9cfdc; }
.theme-ro .st-up:hover:not(:disabled) { background: var(--ro-hover); }
html.ro-skin .theme-ro .st-up::after { width: 11px; height: 11px; border: 0; margin: 1px auto 0; background: var(--ro-arw-up) center / 11px 11px no-repeat; }
html.ro-skin .theme-ro .st-up:disabled::after { opacity: 0.25; }
.theme-ro .st-c { font-size: 11px; color: #555; text-align: center; }
.theme-ro .ro-stat2 .st-right { display: grid; grid-template-columns: auto max-content auto minmax(max-content, 1fr); column-gap: 6px; row-gap: 2px; align-content: start; }
.theme-ro .ro-stat2 .st-right .st-k.c2 { padding-left: 8px; border-left: 1px solid #eef1f6; }
.theme-ro .st-more { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; row-gap: 2px; align-content: start; }
.theme-ro .st-right .st-k, .theme-ro .st-right .st-n, .theme-ro .st-more .st-k, .theme-ro .st-more .st-n { line-height: 18px; height: 18px; white-space: nowrap; }
.theme-ro .st-right .st-k.st-wide { grid-column: 1 / 3; }
.theme-ro .st-right .st-n.st-wide { grid-column: 3 / 5; }
.theme-ro .st-n { text-align: right; overflow: hidden; text-overflow: ellipsis; }
.theme-ro .st-right .st-pt { margin-top: 2px; padding-top: 0; border-top: 1px solid #dfe4ee; height: 18px; }
.theme-ro .st-n.st-pt { font-weight: bold; color: #b0262b; }
.theme-ro .st-more { margin-top: 6px; padding: 5px 6px; border: 1px solid #dfe4ee; border-radius: 3px; background: #f7f9fd; font: 12px/16px var(--ro-font); }
.theme-ro .st-more small { color: #666; font-size: 10px; }
.theme-ro .win-status .win-foot { justify-content: center; }
.theme-ro .st-more-btn { height: 18px; min-height: 18px; padding: 0 10px; font: 11px var(--ro-font); }
.theme-ro .st-more-btn.on { background: var(--ro-sel); }

/* ---- equipment: equipwin_bg 280x130, five slots on each side, the character in the middle column ---- */
.theme-ro .ro-equip { position: relative; width: 280px; height: 130px; background: #fff; }
html:not(.ro-skin) .theme-ro .ro-equip { background: linear-gradient(90deg, transparent 112px, #c3c3c3 112px 113px, #f6f6f6 113px 169px, #c3c3c3 169px 170px, transparent 170px), #fff; }
html.ro-skin .theme-ro .ro-equip { background: var(--ro-equipwin-bg) 0 0 / 280px 130px no-repeat; }
.theme-ro .eslot { position: absolute; width: 101px; height: 24px; cursor: pointer; }
.theme-ro .eslot.empty { cursor: default; }
.theme-ro .eslot.l { left: 5px; }
.theme-ro .eslot.r { right: 6px; }
.theme-ro .eslot .ic { position: absolute; top: 0; }
.theme-ro .eslot.l .ic { left: 0; }
.theme-ro .eslot.r .ic { right: 0; }
.theme-ro .eslot .enm { position: absolute; top: 6px; width: 72px; font: 11px/14px var(--ro-font); color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-ro .eslot.l .enm { left: 27px; }
.theme-ro .eslot.r .enm { right: 27px; text-align: right; }
.theme-ro .eslot:not(.empty) .enm { background: rgba(255, 255, 255, 0.9); }
.theme-ro .eslot:hover:not(.empty) .enm { color: #2a4aa0; text-decoration: underline; }
.theme-ro .eslot .enm.lbl { color: #b9c0d0; font-weight: bold; }
/* (a computer: the item's name in the client's letters, Tahoma 12 in whole pixels over the slot's picture like the official
   window - no white box; npcfont.js crispText, ui.js eqCrisp, Noh 2026-11-14) */
.theme-ro .eslot .enm.crisp, .theme-ro .eslot:not(.empty) .enm.crisp, .theme-ro .eslot:hover:not(.empty) .enm.crisp { height: 16px; background: none; text-decoration: none; overflow: visible; }
.theme-ro .eslot.r .enm.crisp { right: 34px; } /* (the official right column's names end 12 px before the item's picture) */
/* (the text of a line drawn in the bitmap letters, kept in the page for copy / a reader: not seen - opacity 0 too, so the
   phone test's checks of what a finger sees pass it by) */
.npc-src { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; opacity: 0; }
html.ro-skin .theme-ro .eslot .enm.lbl { visibility: hidden; }
html:not(.ro-skin) .theme-ro .eslot.empty::before { content: ''; position: absolute; top: 6px; width: 24px; height: 12px; border-radius: 50%; background: #b8c4e2; opacity: 0.7; }
html:not(.ro-skin) .theme-ro .eslot.l.empty::before { left: 0; }
html:not(.ro-skin) .theme-ro .eslot.r.empty::before { right: 0; }
.theme-ro .ro-equip .eq-char { position: absolute; left: 113px; top: 4px; width: 56px; height: 120px; image-rendering: pixelated; pointer-events: none; }
.theme-ro .ro-equip .eq-rot { position: absolute; left: 113px; top: 110px; width: 56px; display: flex; justify-content: space-between; pointer-events: auto; }
/* the round "items" button over the character (btn_items_off 30x20: roBrowser EquipmentV0) and, Midgard, one small
   button per option instead of the round "off": "ลง Peco" / "ปล่อยนก" / "ถอดรถเข็น" (at most two at once) */
.theme-ro .ro-equip .eq-opt { position: absolute; padding: 0; min-width: 0; border: 1px solid #9aa3b5; border-radius: 10px; background: #fff; font: bold 10px/16px var(--ro-font); color: #333; cursor: pointer; }
.theme-ro .ro-equip .eq-cartitems { left: 126px; top: 54px; width: 30px; height: 20px; }
.theme-ro .ro-equip .eq-optoff { left: 113px; width: 56px; height: 16px; border-radius: 8px; font: bold 10px/14px var(--ro-font); white-space: nowrap; overflow: hidden; background: rgba(255, 255, 255, 0.92); }
.theme-ro .ro-equip .eq-optoff:hover { background: #e8eefc; color: #2a4aa0; }
.theme-ro .ro-equip .eq-off-1 { top: 76px; }
.theme-ro .ro-equip .eq-off-2 { top: 93px; }
.theme-ro .ro-equip .eq-off-3 { top: 36px; }
html.ro-skin .theme-ro .ro-equip .eq-cartitems { border: none; border-radius: 0; background: transparent var(--ro-btn-items-off) 0 0 / 100% 100% no-repeat; }
html.ro-skin .theme-ro .ro-equip .eq-cartitems span { visibility: hidden; }
html.ro-skin .theme-ro .ro-equip .eq-cartitems:hover { background-image: var(--ro-btn-items-on); }
.theme-ro .eq-extra { padding: 3px 5px; border-top: 1px solid #dfe3ea; background: #fff; }

/* ---- skill tree: icon rows ---- */
.theme-ro .win-skills .win-body { padding: 3px 5px; }
.theme-ro .skill-row .btns button { min-width: 0; }

/* ---- hotkey bar: shortitem_bg 280x34, nine 24x24 slots every 29px from x 5; more rows (Shift+F12) one under the other ---- */
.theme-ro .hotbar { width: 280px; height: 34px; display: block; gap: 0; bottom: 34px; border: 1px solid var(--ro-edge); border-radius: 4px;
	background: repeating-linear-gradient(#ffffff 0 2px, #f2f2f2 2px 4px); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
html.ro-skin .theme-ro .hotbar { border: 0; border-radius: 0; background: var(--ro-shortitem-bg) 0 0 / 280px 34px repeat-y; }
.theme-ro .hotbar .hk {
	position: absolute; left: calc(4px + 29px * var(--i, 0)); top: calc(4px + 34px * var(--r, 0)); width: 26px; height: 26px; min-height: 26px; padding: 0; border: 1px solid #b9b9b9;
	border-radius: 0; background: #f4f4f4; display: block; overflow: visible;
}
html.ro-skin .theme-ro .hotbar .hk { border-color: transparent; background: none; }
.theme-ro .hotbar .hk:hover:not(:disabled) { background: rgba(88, 118, 196, 0.18); }
html.ro-skin .theme-ro .hotbar .hk:hover:not(:disabled) { background: rgba(88, 118, 196, 0.18); }
.theme-ro .hotbar .hk b { position: absolute; left: 1px; top: 0; font: 9px/10px var(--ro-font); color: #8a8a8a; z-index: 1; }
.theme-ro .hotbar .hk:not(.empty) b { display: none; }
.theme-ro .hotbar .hk .tx { display: none; }
.theme-ro .hotbar .hk .ic, .theme-ro .hotbar .hk .sic { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 0; font-size: 10px; }
.theme-ro .hotbar .hk .ic img, .theme-ro .hotbar .hk .sic img { width: 24px; height: 24px; }
.theme-ro .hotbar .hk em { display: block; position: absolute; right: 0; bottom: -1px; font: 10px/11px var(--ro-font); font-style: normal; color: #000;
	text-shadow: -1px 0 #fff, 1px 0 #fff, 0 -1px #fff, 0 1px #fff; pointer-events: none; }
.theme-ro .hotbar .hk.assign { outline: 1px dashed #c08a00; outline-offset: -1px; }
.hotbar .hk[hidden] { display: none !important; }
.theme-ro .hotbar[data-rows="2"] { height: 68px; } .theme-ro .hotbar[data-rows="3"] { height: 102px; } .theme-ro .hotbar[data-rows="4"] { height: 136px; }
/* the newer official client's bar (a computer): the number of each row in the striped end (the grip: still moves the
   bar); ⚙ (การตั้งค่า Hotkey), ▲ / ▼ (fewer / more rows) in a small tab under its right end, brighter under the mouse */
@media (min-width: 701px) {
	html:not(.mhud) .theme-ro .hotbar .hk-nums { display: block; position: absolute; right: 0; top: 0; width: 15px; height: 100%; pointer-events: none; }
	html:not(.mhud) .theme-ro .hotbar .hk-n { position: absolute; right: 0; width: 15px; top: calc(34px * var(--r, 0) + 12px); text-align: center;
		font: bold 10px/11px var(--ro-font, sans-serif); font-style: normal; color: #55607d; }
	html:not(.mhud) .theme-ro .hotbar[data-rows="1"] .hk-n:nth-child(n+2), html:not(.mhud) .theme-ro .hotbar[data-rows="2"] .hk-n:nth-child(n+3),
	html:not(.mhud) .theme-ro .hotbar[data-rows="3"] .hk-n:nth-child(n+4) { display: none; }
	html:not(.mhud) .theme-ro .hotbar .hk-grip em { display: none; }
	html:not(.mhud) .theme-ro .hotbar .hk-btn { display: block; position: absolute; top: 100%; right: calc(15px * var(--b, 0)); z-index: 2; width: 15px; height: 12px; min-height: 12px; min-width: 0; padding: 0; margin: 0;
		border: 1px solid #a9b3cb; border-top: 0; border-radius: 0 0 3px 3px; background: linear-gradient(#f4f7fd, #d6dff2); color: #44507a; font: 8px/11px var(--ro-font, sans-serif); text-align: center;
		cursor: pointer; opacity: 0.6; transition: opacity 0.15s; }
	html:not(.mhud) .theme-ro .hotbar:hover .hk-btn { opacity: 1; }
	html:not(.mhud) .theme-ro .hotbar .hk-btn:hover { background: linear-gradient(#ffffff, #c4d3f3); color: #1f3a85; border-color: #7f97cf; }
	html:not(.mhud) .theme-ro .hotbar .hk-set { --b: 2; font-size: 10px; line-height: 10px; }
	html:not(.mhud) .theme-ro .hotbar .hk-less { --b: 1; }
	html:not(.mhud) .theme-ro .hotbar .hk-more { --b: 0; }
	html:not(.mhud) .theme-ro .hotbar.hk-min .hk-less, html:not(.mhud) .theme-ro .hotbar.hk-max .hk-more { visibility: hidden; }
}

/* ---- chat: translucent dark log, input bar like the client's (dialog_bg: name box + message box) ---- */
.theme-ro #chat.panel { bottom: 76px; width: 480px; background: rgba(0, 0, 0, 0.42); border: 0; border-radius: 0; backdrop-filter: none; color: #fff; }
.theme-ro .chat-tabs { padding: 0; gap: 1px; background: none; }
.theme-ro .chat-log { font: 12px/16px var(--ro-font); padding: 3px 6px; height: 128px; scrollbar-width: thin; scrollbar-color: #8b9bc4 transparent; }
.theme-ro .chat-log div { padding: 0; }
.theme-ro .chat-form { padding: 2px 3px; gap: 3px; border: 1px solid #a8b0c2; border-radius: 3px; background: linear-gradient(#ffffff, #eceef2); }
.theme-ro .chat-form input { background: #f1f1f1; border: 1px solid #c4c4c4; box-shadow: inset 1px 1px 0 #dadada; min-height: 18px; height: 18px; color: #000; }
.theme-ro .chat-form button { height: 18px; min-height: 18px; line-height: 16px; }
html.ro-skin .theme-ro .chat-form button { line-height: 18px; }
.theme-ro .chat-to { width: 90px; }
.theme-ro .ch-public { color: #ffffff; } .theme-ro .ch-whisper { color: #ffff00; } .theme-ro .ch-party { color: rgb(230, 215, 200); } .theme-ro .ch-guild { color: #b4ffb4; }
.theme-ro .ch-system { color: #ffff63; } .theme-ro .ch-broadcast { color: #ffff63; } .theme-ro .ch-error { color: #ff0000; } .theme-ro .ch-npc { color: #c8ffc8; }
.theme-ro .ch-skillfail, .theme-ro .ch-broken { color: #ff0000; }
.theme-ro .ch-exp { color: #ffe9a8; } .theme-ro .ch-item { color: #a8ffe0; } .theme-ro .ch-gm { color: #ffb36b; }

/* ---- menu bar (extra shortcuts: cart, mail, sit, debug ...) ---- */
.theme-ro .menubar { height: 28px; padding: 3px 6px; gap: 3px; background: linear-gradient(#f4f6fb, #d4dcef); border-top: 1px solid #8fa1cb; }
.theme-ro .menubar button { min-height: 20px; height: 20px; }
.theme-ro .menubar button.on { font-weight: bold; color: #1d3a8a; }
.theme-ro .menubar button kbd { font: 10px var(--ro-font); color: #777; }
.theme-ro .menubar button.on kbd { color: #4a5f99; }
.theme-ro .menubar button.notify::after { color: #d35400; }
.menubar .mb-ic { display: inline-block; width: 14px; height: 14px; margin: 0 3px 0 0; vertical-align: -2px; --gi-fill: rgba(245, 196, 70, 0.55); }

/* ---- popups, banners, toasts, NPC ---- */
.theme-ro .popup { background: #fff; border: 1px solid var(--ro-edge); border-radius: 0; padding: 0 8px 8px; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45); color: #000; font: 12px/1.4 var(--ro-font); }
.theme-ro .popup h4 { margin: 0 -8px 8px; height: 17px; padding: 0 12px; font: 12px/17px var(--ro-font); font-weight: normal;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
html.ro-skin .theme-ro .popup h4 { background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat, var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .popup.menu { padding: 0 0 3px; gap: 0; min-width: 150px; }
.theme-ro .popup.menu .title { height: 17px; padding: 0 12px; font: 12px/17px var(--ro-font); border: 0; margin-bottom: 2px;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
html.ro-skin .theme-ro .popup.menu .title { background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat, var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .popup.menu button, html.ro-skin .theme-ro .popup.menu button { height: 20px; border: 0; border-radius: 0; background: none; text-align: left; padding: 0 12px; }
.theme-ro .popup.menu button:hover, html.ro-skin .theme-ro .popup.menu button:hover:not(:disabled) { background: var(--ro-sel); }
.theme-ro .popup .actions { margin-top: 8px; }
.theme-ro .banner { background: #fff; border: 1px solid var(--ro-edge); border-radius: 0; color: #000; font: bold 12px var(--ro-font); padding: 3px 8px; }
/* a skill waiting for its target on a computer: the official client's green skill name at the top (roBrowser
   SkillTargetSelection .skill-name); the level is drawn next to the target cursor, Esc / a right click puts it away.
   Phones keep the banner with its cancel button. */
html:not(.mhud) .theme-ro #target-banner[data-name] { top: 45px; padding: 3px 7px; background: rgba(0, 0, 0, 0.5); border: 1px solid #555; border-radius: 3px; font: 12px/17px Arial, sans-serif; color: #00ff00; text-shadow: 1px 1px 0 #000; pointer-events: none; }
html:not(.mhud) .theme-ro #target-banner[data-name]::before { content: attr(data-name); }
html:not(.mhud) .theme-ro #target-banner[data-name] > * { display: none; }
.theme-ro .toast { background: rgba(255, 255, 255, 0.95); border: 1px solid var(--ro-edge); border-radius: 0; color: #000; font: 12px var(--ro-font); padding: 4px 12px; }
.theme-ro .toast.err { border-color: #c0392b; color: #9b1c1c; }
.theme-ro .npc-text { font: 12px/1.6 var(--ro-font); min-height: 80px; }
.theme-ro .npc-menu { gap: 2px; }
.theme-ro .npc-menu button, html.ro-skin .theme-ro .npc-menu button { height: auto; min-height: 20px; border: 0; border-radius: 0; background: none; padding: 1px 6px; text-align: left; line-height: 18px; }
.theme-ro .npc-menu button:hover, html.ro-skin .theme-ro .npc-menu button:hover:not(:disabled) { background: var(--ro-sel); }
.theme-ro .npc-cutin { border-color: #c3c8d4; color: #555; font-size: 11px; }
.theme-ro .trade-box { border-color: #c3c8d4; border-radius: 0; background: #fff; }
.theme-ro .debug-log { color: #222; }
.theme-ro .debug-log .in { color: #1d4f91; } .theme-ro .debug-log .out { color: #8a4b00; } .theme-ro .debug-log .sys { color: #666; }
.theme-ro .overlay { background: rgba(0, 0, 0, 0.45); }
.theme-ro .spinner { border-color: #c3c8d4; border-top-color: #5876c4; }

/* ---- login: the client's login background (bgi_temp, stretched over the screen like the client draws it) and the
   login window win_login 280x120 with its ID / password boxes, the save checkbox (chk_save), Connect / Exit (btn_connect,
   btn_exit); a refused login shows in win_msgbox like the client's message box. Without the data: a drawn look-alike. ---- */
/* the server's own picture behind the login and character windows, not the game data's login picture: Gieno-RO's
   (Noh 2026-10-23, client/img/gieno-bg.jpg - its logo is in the picture, at the top in the middle: the login window
   below it) */
.theme-ro #screen-login, .theme-ro #screen-chars { background: #3a2a4a url('../img/gieno-bg.jpg') 50% 50% / cover no-repeat; }
.theme-ro #screen-login.active { align-items: center; }
/* a phone held upright: the whole logo at the top (the picture as wide as 1.8 screens), the same picture blurred
   behind the rest */
@media (max-aspect-ratio: 4/5) {
	.theme-ro #screen-login, .theme-ro #screen-chars { background: #3a2a4a; isolation: isolate; }
	.theme-ro #screen-login::before, .theme-ro #screen-chars::before, .theme-ro #screen-login::after, .theme-ro #screen-chars::after {
		content: ''; position: fixed; inset: 0; pointer-events: none; background: url('../img/gieno-bg.jpg') no-repeat; }
	.theme-ro #screen-login::before, .theme-ro #screen-chars::before { z-index: -2; background-position: 50% 50%; background-size: cover; filter: blur(10px) brightness(0.85); transform: scale(1.06); }
	.theme-ro #screen-login::after, .theme-ro #screen-chars::after { z-index: -1; background-position: 50% 0; background-size: 180vw auto;
		-webkit-mask-image: linear-gradient(#000 calc(180vw * 941 / 1672 - 40px), transparent calc(180vw * 941 / 1672)); mask-image: linear-gradient(#000 calc(180vw * 941 / 1672 - 40px), transparent calc(180vw * 941 / 1672)); }
}
/* a wide screen (21:9, Noh 2026-10-26: a friend's 34" ultrawide - the picture filled the width and lost the top of its
   logo): the whole picture as tall as the screen in the middle, its sides fading into the same picture blurred behind */
@media (min-aspect-ratio: 2/1) {
	.theme-ro #screen-login, .theme-ro #screen-chars { background: #3a2a4a; isolation: isolate; }
	.theme-ro #screen-login::before, .theme-ro #screen-chars::before, .theme-ro #screen-login::after, .theme-ro #screen-chars::after {
		content: ''; position: fixed; inset: 0; pointer-events: none; background: url('../img/gieno-bg.jpg') no-repeat; }
	.theme-ro #screen-login::before, .theme-ro #screen-chars::before { z-index: -2; background-position: 50% 50%; background-size: cover; filter: blur(16px) brightness(0.72); transform: scale(1.08); }
	.theme-ro #screen-login::after, .theme-ro #screen-chars::after { z-index: -1; left: 50%; right: auto; width: calc(100vh * 1672 / 941); transform: translateX(-50%);
		background-position: 50% 50%; background-size: 100% 100%;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
}
.theme-ro .card { background: #fff; border: 1px solid var(--ro-edge); border-radius: 0; color: #000; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55); }
.theme-ro .login-card { width: 280px; max-width: 280px; padding: 0; margin-top: 4vh; font-size: 12px; }
.theme-ro .login-card h1 { margin: 0; height: 17px; padding: 0 14px; font: 12px/17px var(--ro-font); font-weight: normal; color: #000;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
.theme-ro .login-card h1::before { content: 'Login'; }
.theme-ro .login-card h1 { font-size: 0; }
.theme-ro .login-card h1::before { font-size: 12px; }
.theme-ro .login-card form { margin: 0; padding: 14px 16px 0; gap: 8px; }
.theme-ro .login-card form label:not(.check) { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 6px; font: bold 12px var(--ro-font); color: var(--ro-navy); text-align: right; }
.theme-ro .login-card input:not([type=checkbox]) { min-height: 18px; height: 18px; font-size: 12px; background: #f1f1f1; border: 1px solid #c4c4c4; box-shadow: inset 1px 1px 0 #dadada; }
.theme-ro .login-card label.check { margin-left: 80px; font-size: 11px; color: #333; }
.theme-ro .login-card .login-bar { display: flex; justify-content: flex-end; gap: 4px; margin: 6px -16px 0; padding: 0 8px; height: 24px; align-items: center;
	background: repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px); border-top: 1px solid #dfe3ea; }
.theme-ro .login-card button.primary { min-height: 20px; height: 20px; font-size: 12px; min-width: 64px; }
.theme-ro .login-card > p { margin: 0; padding: 4px 12px; font-size: 11px; }
.theme-ro .login-card .hint { margin: 0; border: 0; border-top: 1px solid #e3e6ec; background: #f7f9fd; padding: 6px 12px; font-size: 11px; }
.theme-ro .login-card #login-error:empty { display: none; }
.theme-ro .login-card #login-error { color: #c62828; }
.theme-ro .login-card #login-error.info { color: #1f4e9a; }
.theme-ro .login-card > p.muted.small { color: #777; font-size: 10px; padding-bottom: 6px; }
.theme-ro .login-card a { color: #2a4aa0; }
/* the sign-up button at the left of the bottom strip; its window (register.js): 280 wide like the login one */
.theme-ro .login-card .reg-open { margin-right: auto; min-width: 0; height: 20px; min-height: 20px; padding: 0 8px; font-size: 11px; color: #000; text-decoration: none; }
.theme-ro .reg-card { width: 280px; max-width: 280px; padding: 0; margin-top: 4vh; font-size: 12px; }
html.ro-login-win .theme-ro .reg-card { margin-top: 4vh; }
.theme-ro .reg-card h1 { margin: 0; height: 17px; padding: 0 14px; font: 12px/17px var(--ro-font); font-weight: normal; color: #000;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); }
html.ro-skin .theme-ro .reg-card h1 { background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat, var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .reg-card form { margin: 0; padding: 12px 14px 0; gap: 6px; }
.theme-ro .reg-card label { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 6px; font: bold 12px var(--ro-font); color: var(--ro-navy); text-align: right; }
.theme-ro .reg-card input { min-height: 18px; height: 18px; padding: 0 3px; font-size: 12px; background: #f1f1f1; border: 1px solid #c4c4c4; box-shadow: inset 1px 1px 0 #dadada; }
.theme-ro .reg-card .reg-rule { margin: 2px 0 0; font-size: 11px; color: #555; }
.theme-ro .reg-card #reg-error { margin: 0; font-size: 11px; color: #c62828; }
.theme-ro .reg-card .reg-bar { display: flex; justify-content: flex-end; align-items: center; gap: 4px; height: 26px; margin: 8px -14px 0; padding: 0 8px;
	background: repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px); border-top: 1px solid #dfe3ea; }
html.ro-skin .theme-ro .reg-card .reg-bar { border: 0; background: var(--ro-btnbar-left) left top / 21px 100% no-repeat, var(--ro-btnbar-right) right top / 21px 100% no-repeat, var(--ro-btnbar-mid) 21px 0 / calc(100% - 42px) 100% no-repeat; }
.theme-ro .reg-card .reg-bar button { min-width: 56px; height: 20px; min-height: 20px; padding: 0 9px; font-size: 12px; }
/* with the client data: the window is the texture itself, the fields sit in its boxes (ID x 91-217 y 29-46, password
   y 61-78), the save checkbox right of the ID box, the two buttons in the bottom strip (y 92-119) */
html.ro-login-win .theme-ro .login-card { position: relative; display: block; height: 120px; margin: 4vh 0 0; border: 0; box-shadow: none; background: var(--ro-win-login) 0 0 / 280px 120px no-repeat; }
html.ro-login-win .theme-ro .login-card > h1, html.ro-login-win .theme-ro .login-card > .brand, html.ro-login-win .theme-ro .login-card > p.muted, html.ro-login-win .theme-ro .login-card > .hint { display: none; }
html.ro-login-win .theme-ro .login-card form { position: absolute; inset: 0; display: block; margin: 0; padding: 0; }
html.ro-login-win .theme-ro .login-card form label { display: block; font-size: 0; }
html.ro-login-win .theme-ro .login-card input:not([type=checkbox]) { position: absolute; left: 93px; width: 123px; height: 16px; min-height: 16px; padding: 0 2px; border: 0; box-shadow: none;
	background: transparent; font: 12px/16px var(--ro-font); color: #000; outline: 0; }
html.ro-login-win .theme-ro #login-user { top: 30px; }
html.ro-login-win .theme-ro #login-pass { top: 62px; }
html.ro-login-win .theme-ro #login-remember { position: absolute; left: 225px; top: 33px; width: 34px; height: 10px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none;
	appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--ro-chk-save-off) 0 0 / 34px 10px no-repeat; }
html.ro-login-win .theme-ro #login-remember:checked { background-image: var(--ro-chk-save-on); }
/* the Thai picture of the check box (uiskin.js thaiCheck): 44x16 */
html.ro-thai.ro-login-win .theme-ro #login-remember { top: 30px; width: 44px; height: 16px; background-size: 44px 16px; }
html.ro-login-win .theme-ro #login-remember:focus-visible { outline: 1px dotted #5876c4; }
html.ro-login-win .theme-ro .login-card .login-bar { position: absolute; left: 0; right: 0; top: 92px; height: 28px; margin: 0; padding: 0 5px 0 0; border: 0; background: none;
	display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
html.ro-login-win .theme-ro .login-card #login-error:not(:empty) { position: absolute; left: 0; top: 0; z-index: 3; width: 280px; height: 120px; margin: 0;
	padding: 24px 16px 30px; display: flex; align-items: center; justify-content: center; text-align: center; color: #000; font: 12px/1.5 var(--ro-font); cursor: pointer;
	background: var(--ro-win-msgbox) 0 0 / 280px 120px no-repeat; }
html.ro-login-win .theme-ro .login-card #login-error:not(:empty)::after { content: ''; position: absolute; left: 233px; top: 96px; width: 42px; height: 20px; background: var(--ro-b-ok) 0 0 / 42px 20px no-repeat; }
html.ro-login-win .theme-ro .login-card #login-error:not(:empty):hover::after { background-image: var(--ro-b-ok-h, var(--ro-b-ok)); }

/* ---- picture buttons (.rob): the client's own button pictures, 42x20 btn_<name> (_a hover, _b pressed) and the 221x20
   esc_NN buttons; the text of the button stays for screen readers and for the drawn look without the data ---- */
html.ro-pics .theme-ro button.rob { width: 42px; min-width: 42px; height: 20px; min-height: 20px; padding: 0; border: 0; border-radius: 0; flex: none;
	font-size: 0; line-height: 0; color: transparent; overflow: hidden; background: var(--rob) 0 0 / 100% 100% no-repeat; }
html.ro-pics .theme-ro button.rob:hover:not(:disabled) { background: var(--rob-h, var(--rob)) 0 0 / 100% 100% no-repeat; }
html.ro-pics .theme-ro button.rob:active:not(:disabled) { background: var(--rob-p, var(--rob-h, var(--rob))) 0 0 / 100% 100% no-repeat; }
html.ro-pics .theme-ro button.rob:disabled { background: var(--rob) 0 0 / 100% 100% no-repeat; filter: grayscale(1); opacity: 0.5; }
html.ro-pics .theme-ro button.rob.wide { width: 221px; min-width: 221px; }
.theme-ro .rob.b-ok { --rob: var(--ro-b-ok); --rob-h: var(--ro-b-ok-h); --rob-p: var(--ro-b-ok-p); }
.theme-ro .rob.b-cancel { --rob: var(--ro-b-cancel); --rob-h: var(--ro-b-cancel-h); --rob-p: var(--ro-b-cancel-p); }
.theme-ro .rob.b-next { --rob: var(--ro-b-next); --rob-h: var(--ro-b-next-h); --rob-p: var(--ro-b-next-p); }
.theme-ro .rob.b-close { --rob: var(--ro-b-close); --rob-h: var(--ro-b-close-h); --rob-p: var(--ro-b-close-p); }
.theme-ro .rob.b-make { --rob: var(--ro-b-make); --rob-h: var(--ro-b-make-h); --rob-p: var(--ro-b-make-p); }
.theme-ro .rob.b-del { --rob: var(--ro-b-del); --rob-h: var(--ro-b-del-h); --rob-p: var(--ro-b-del-p); }
.theme-ro .rob.b-use { --rob: var(--ro-b-use); --rob-h: var(--ro-b-use-h); --rob-p: var(--ro-b-use-p); }
.theme-ro .rob.b-buy { --rob: var(--ro-b-buy); --rob-h: var(--ro-b-buy-h); --rob-p: var(--ro-b-buy-p); }
.theme-ro .rob.b-sell { --rob: var(--ro-b-sell); --rob-h: var(--ro-b-sell-h); --rob-p: var(--ro-b-sell-p); }
.theme-ro .rob.b-send { --rob: var(--ro-b-send); --rob-h: var(--ro-b-send-h); --rob-p: var(--ro-b-send-p); }
.theme-ro .rob.b-get { --rob: var(--ro-b-get); --rob-h: var(--ro-b-get-h); --rob-p: var(--ro-b-get-p); }
.theme-ro .rob.b-exchange { --rob: var(--ro-b-exchange); --rob-h: var(--ro-b-exchange-h); --rob-p: var(--ro-b-exchange-p); }
.theme-ro .rob.b-restart { --rob: var(--ro-b-restart); --rob-h: var(--ro-b-restart-h); --rob-p: var(--ro-b-restart-p); }
.theme-ro .rob.b-connect { --rob: var(--ro-b-connect); --rob-h: var(--ro-b-connect-h); --rob-p: var(--ro-b-connect-p); }
.theme-ro .rob.b-exit { --rob: var(--ro-b-exit); --rob-h: var(--ro-b-exit-h); --rob-p: var(--ro-b-exit-p); }
.theme-ro .rob.b-esc01 { --rob: var(--ro-b-esc01); --rob-h: var(--ro-b-esc01-h); --rob-p: var(--ro-b-esc01-p); }
.theme-ro .rob.b-esc02 { --rob: var(--ro-b-esc02); --rob-h: var(--ro-b-esc02-h); --rob-p: var(--ro-b-esc02-p); }
.theme-ro .rob.b-esc03 { --rob: var(--ro-b-esc03); --rob-h: var(--ro-b-esc03-h); --rob-p: var(--ro-b-esc03-p); }
.theme-ro .rob.b-esc04 { --rob: var(--ro-b-esc04); --rob-h: var(--ro-b-esc04-h); --rob-p: var(--ro-b-esc04-p); }
.theme-ro .rob.b-esc05 { --rob: var(--ro-b-esc05); --rob-h: var(--ro-b-esc05-h); --rob-p: var(--ro-b-esc05-p); }
.theme-ro .rob.b-esc06 { --rob: var(--ro-b-esc06); --rob-h: var(--ro-b-esc06-h); --rob-p: var(--ro-b-esc06-p); }
.theme-ro .rob.b-esc07 { --rob: var(--ro-b-esc07); --rob-h: var(--ro-b-esc07-h); --rob-p: var(--ro-b-esc07-p); }
.theme-ro .rob.b-esc08 { --rob: var(--ro-b-esc08); --rob-h: var(--ro-b-esc08-h); --rob-p: var(--ro-b-esc08-p); }
.theme-ro .rob.b-esc09 { --rob: var(--ro-b-esc09); --rob-h: var(--ro-b-esc09-h); --rob-p: var(--ro-b-esc09-p); }
.theme-ro .rob.b-esc10 { --rob: var(--ro-b-esc10); --rob-h: var(--ro-b-esc10-h); --rob-p: var(--ro-b-esc10-p); }
/* the esc_NN pictures without a hover picture light up a little instead */
html.ro-pics .theme-ro button.rob.wide:hover:not(:disabled) { filter: brightness(1.06); }

/* ---- character select / make (charsro.js): win_select / win_make 576x342 drawn as they are (their titles included), the
   characters standing in the three boxes, the picture buttons in the bottom bar (y 314-341) ---- */
.theme-ro.ro-chars #screen-chars.active { align-items: flex-start; }
.theme-ro.ro-chars #screen-chars.active > .chars-wrap { margin: auto 0; } /* (centred when it fits, from the top when it is taller: never cut above) */
.theme-ro.ro-chars .chars-wrap { width: auto; max-width: none; }
.theme-ro.ro-chars .chars-head { display: none; }
.theme-ro.ro-chars #chars-list { display: block; }
.theme-ro.ro-chars #chars-error { text-align: center; color: #ffd1d1; text-shadow: 0 1px 2px #000; font-weight: bold; }
.theme-ro.ro-chars #chars-error:empty { display: none; } /* (its empty paragraph's margins scrolled a phone's screen) */
/* ---- character select (charsro.js): the newer client's window - 15 slots (5 x 3) with the characters, the page
   "รายการตัวละคร 1/N", the selected character on the right, "เริ่มลบตัวละคร" and the big "เริ่มเกม" button ---- */
.theme-ro .cs-win { --cs-w: 92px; --cs-h: 130px; position: relative; width: max-content; max-width: 100%; color: #000; font: 12px/1.35 var(--ro-font);
	background: #fff; border: 1px solid #8796bd; border-radius: 6px; box-shadow: 0 8px 30px rgba(6, 14, 40, 0.55); overflow: hidden; margin-top: 4vh; }
.theme-ro .cs-title { height: 22px; padding: 0 10px; display: flex; align-items: center; gap: 6px; font: bold 12px/22px var(--ro-font); color: #1b2a5c;
	background: linear-gradient(#e6edfb 0%, #c2d2f2 48%, #a9bfec 52%, #d3e0f8 100%); border-bottom: 1px solid #8796bd; }
html.ro-skin .theme-ro .cs-title { background: var(--ro-titlebar-mid) 0 0 / 100% 100%; font-weight: normal; color: #000; }
.theme-ro .cs-title > i { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #6f8fd6 60%, #3a57a6); }
.theme-ro .cs-title .cs-count { margin-left: auto; font-weight: normal; color: #42507a; font-size: 11px; }
.theme-ro .cs-main { display: flex; gap: 12px; padding: 12px; background: linear-gradient(#f7f9fe, #ffffff 40%); }
.theme-ro .cs-grid { display: grid; grid-template-columns: repeat(5, var(--cs-w)); grid-auto-rows: var(--cs-h); gap: 6px; }
.theme-ro .cs-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 2px 5px; cursor: pointer;
	border: 1px solid #c8d2e8; border-radius: 5px; background: radial-gradient(ellipse 22px 6px at 50% 82px, rgba(70, 80, 110, 0.35), transparent 100%), linear-gradient(#fbfcff, #eef2fa);
	transition: border-color 0.12s, box-shadow 0.12s; }
.theme-ro .cs-slot:hover { border-color: #8ea5dc; }
.theme-ro .cs-slot.sel { border: 2px solid #4e6fc6; padding: 0 1px 4px; box-shadow: 0 0 0 3px rgba(108, 140, 220, 0.25), inset 0 0 14px rgba(108, 140, 220, 0.18);
	background: radial-gradient(ellipse 22px 6px at 50% 82px, rgba(70, 80, 110, 0.35), transparent 100%), linear-gradient(#f2f6ff, #dfe8fb); }
.theme-ro .cs-slot.closed { cursor: default; opacity: 0.35; background: repeating-linear-gradient(45deg, #f2f3f6 0 6px, #e8eaef 6px 12px); }
.theme-ro .cs-slot canvas { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 88px; height: 96px; image-rendering: pixelated; pointer-events: none; }
.theme-ro .cs-slot.deleting canvas { opacity: 0.4; filter: grayscale(1); }
.theme-ro .cs-slot .cs-nm { position: relative; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold; font-size: 11px; color: #18244a; }
.theme-ro .cs-slot .cs-lv { position: relative; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #5a6585; }
.theme-ro .cs-slot.empty { border-style: dashed; background: linear-gradient(#fdfdff, #f3f5fa); justify-content: center; gap: 2px; }
.theme-ro .cs-slot.empty.sel { border-style: solid; }
.theme-ro .cs-slot.empty .cs-plus { font: 300 30px/30px var(--ro-font); color: #a9b6d6; }
.theme-ro .cs-slot.empty .cs-nm { color: #9aa4bd; font-weight: normal; }
.theme-ro .cs-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-size: 12px; color: #2c3b6b; }
html .theme-ro .cs-win button.cs-pg { width: 22px; height: 22px; min-height: 22px; padding: 0; border: 1px solid #b7c3df; border-radius: 50%; background: linear-gradient(#fff, #e7ecf7); cursor: pointer; }
html .theme-ro .cs-win button.cs-pg::after { content: ''; display: block; margin: 0 auto; width: 0; height: 0; border: 5px solid transparent; }
html .theme-ro .cs-win button.cs-pg.l::after { border-left: 0; border-right: 7px solid #4e6fc6; margin-left: 6px; }
html .theme-ro .cs-win button.cs-pg.r::after { border-right: 0; border-left: 7px solid #4e6fc6; margin-left: 8px; }
html .theme-ro .cs-win button.cs-pg:disabled { opacity: 0.35; cursor: default; }
.theme-ro .cs-info { width: 236px; flex: none; display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #d3dbec; border-radius: 6px; background: linear-gradient(#ffffff, #f4f7fd); }
.theme-ro .cs-who { display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; border-bottom: 1px solid #e1e6f1;
	background: radial-gradient(ellipse 30px 8px at 50% 112px, rgba(70, 80, 110, 0.3), transparent 100%); }
.theme-ro .cs-who canvas.big { width: 106px; height: 132px; image-rendering: pixelated; }
.theme-ro .cs-who .cs-name { font-size: 14px; color: #18244a; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .cs-who.empty { padding: 30px 0 20px; text-align: center; color: #5a6585; background: none; }
.theme-ro .cs-who.empty p { margin: 6px 0 0; font-size: 12px; }
.theme-ro .cs-kv, .theme-ro .cs-stats { display: grid; gap: 2px 8px; font-size: 12px; }
.theme-ro .cs-kv { grid-template-columns: 38px minmax(0, 1fr); }
.theme-ro .cs-stats { grid-template-columns: 30px 1fr 30px 1fr 30px 1fr; padding-top: 6px; border-top: 1px solid #e1e6f1; }
.theme-ro .cs-kv .k, .theme-ro .cs-stats .k { font: bold 11px/17px var(--ro-font); color: var(--ro-navy); }
.theme-ro .cs-kv .v { line-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 5px; background: #eef2fa; border-radius: 2px; }
.theme-ro .cs-stats .v { line-height: 17px; text-align: center; background: #eef2fa; border-radius: 2px; }
.theme-ro .cs-note { font-size: 11px; color: #555; }
.theme-ro .cs-note.del-info { color: #b06d00; font-weight: bold; }
.theme-ro .cs-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid #d5dced; background: repeating-linear-gradient(#ffffff 0 2px, #f2f4f8 2px 4px); }
.theme-ro .cs-bar .cs-del, .theme-ro .cs-bar .cs-out { display: flex; gap: 6px; }
.theme-ro .cs-bar .cs-out { margin-left: auto; }
html .theme-ro .cs-win button.cs-btn, .theme-ro .cs-bar #chars-logout { height: 26px; min-height: 26px; padding: 0 12px; font: 12px var(--ro-font); border: 1px solid #a9b4cc; border-radius: 4px; background: linear-gradient(#ffffff, #e6eaf3); color: #1f2a48; }
html .theme-ro .cs-win button.cs-btn:hover:not(:disabled), .theme-ro .cs-bar #chars-logout:hover { background: linear-gradient(#f4f8ff, #d9e3f7); }
html .theme-ro .cs-win button.cs-btn.danger { color: #a02424; }
html .theme-ro .cs-win button.cs-btn:disabled { opacity: 0.5; }
/* the big start button: a rounded pink pill with the Poring of the game data jumping on it */
html .theme-ro .cs-win button.cs-start { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; min-height: 46px; padding: 0 22px 0 12px; border: 2px solid #c74f7c; border-radius: 26px;
	font: bold 17px var(--ro-font); color: #fff; text-shadow: 0 1px 2px rgba(110, 20, 50, 0.6); cursor: pointer;
	background: radial-gradient(ellipse at 35% 25%, #ffd0e0, transparent 55%), linear-gradient(#ff8fb4, #e8577f 60%, #d24671); box-shadow: 0 3px 0 #a8355a, 0 6px 16px rgba(200, 60, 100, 0.35); }
html .theme-ro .cs-win button.cs-start:hover:not(:disabled) { filter: brightness(1.07); }
html .theme-ro .cs-win button.cs-start:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #a8355a, 0 3px 8px rgba(200, 60, 100, 0.35); }
html .theme-ro .cs-win button.cs-start img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; margin: -10px -2px -4px; animation: cs-hop 1.4s ease-in-out infinite; }
@keyframes cs-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-6px) scale(0.96, 1.04); } 60% { transform: translateY(0) scale(1.06, 0.94); } }
html .theme-ro .cs-win button.cs-start .cs-play { width: 0; height: 0; border: 9px solid transparent; border-right: 0; border-left: 14px solid #fff; margin-left: 6px; }
html .theme-ro .cs-win button.cs-start.make { border-color: #4769c2; background: radial-gradient(ellipse at 35% 25%, #d6e3ff, transparent 55%), linear-gradient(#7ea2f2, #4f76d8 60%, #3f63c4); box-shadow: 0 3px 0 #2f4c9a, 0 6px 16px rgba(60, 90, 200, 0.3); font-size: 15px; }
html .theme-ro .cs-win button.cs-start .cs-plus-i { font-style: normal; font-size: 24px; line-height: 1; }
html .theme-ro .cs-win button.cs-start:disabled { filter: grayscale(0.7); opacity: 0.6; cursor: default; }
@media (max-width: 860px) {
	.theme-ro .cs-win { --cs-w: 64px; --cs-h: 104px; margin-top: 2vh; }
	.theme-ro .cs-main { flex-direction: column; padding: 8px; gap: 8px; }
	.theme-ro .cs-grid { gap: 4px; }
	.theme-ro .cs-slot canvas { width: 66px; height: 72px; }
	.theme-ro .cs-info { width: auto; }
	.theme-ro .cs-who { flex-direction: row; gap: 10px; }
	.theme-ro .cs-who canvas.big { width: 70px; height: 88px; }
	.theme-ro .cs-bar { flex-wrap: wrap; padding: 6px 8px; }
	html .theme-ro .cs-win button.cs-start { height: 40px; min-height: 40px; font-size: 15px; }
}
/* the selected character's box made small (phones): its picture on the left, the name and MAP / JOB / Lv / EXP / HP / SP
   beside it two by two, the six stats in one row under them (Noh: the window was taller than the screen) */
@media (max-width: 600px), (max-height: 500px) and (min-width: 560px) {
	.theme-ro #screen-chars:has(.cs-win)::before { display: none; }
	body.theme-ro:has(#screen-chars.active .cs-win) #ver-tag:not(.stale) { display: none; } /* (not over the start button) */
	.theme-ro.ro-chars #screen-chars.active:has(.cs-win) { padding: 8px; }
	.theme-ro .cs-win { margin: 0; }
	.theme-ro .cs-info { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 10px; padding: 8px 10px; align-items: start; }
	.theme-ro .cs-who:not(.empty) { display: contents; }
	.theme-ro .cs-who:not(.empty) canvas.big { grid-column: 1; grid-row: 1 / span 2; width: 60px; height: 75px; align-self: center; }
	.theme-ro .cs-who:not(.empty) .cs-name { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 20px; }
	.theme-ro .cs-info .cs-kv { grid-column: 2; grid-row: 2; }
	.theme-ro .cs-info .cs-stats { grid-column: 1 / -1; }
	.theme-ro .cs-info .cs-note { grid-column: 1 / -1; }
	.theme-ro .cs-who.empty { grid-column: 1 / -1; padding: 10px 0; }
}
/* a phone held upright: the whole window on the screen - the slots sized by the screen's width, the details compact,
   the start button in the bottom bar always in view; the logo only when there is room above the window */
@media (max-width: 600px) {
	.theme-ro .cs-win { --cs-w: min(72px, calc((100vw - 54px) / 5)); --cs-h: clamp(76px, calc((100dvh - 330px) / 3), 104px); width: calc(100vw - 16px); max-width: 420px; }
	.theme-ro .cs-main { padding: 8px; gap: 8px; }
	.theme-ro .cs-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
	.theme-ro .cs-slot canvas { width: 62px; height: 68px; top: max(0px, calc(var(--cs-h) - 104px)); }
	.theme-ro .cs-pager { margin-top: 6px; }
	.theme-ro .cs-info .cs-kv { grid-template-columns: 30px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 2px 5px; }
	.theme-ro .cs-info .cs-stats { grid-template-columns: repeat(6, auto minmax(0, 1fr)); gap: 2px 4px; padding-top: 5px; }
	.theme-ro .cs-kv .k, .theme-ro .cs-stats .k { font-size: 10px; }
	.theme-ro .cs-kv .v { padding: 0 3px; font-size: 11px; }
	.theme-ro .cs-stats .v { font-size: 11px; }
	.theme-ro .cs-bar { flex-wrap: nowrap; gap: 6px; padding: 6px 8px; }
	.theme-ro .cs-bar .cs-del, .theme-ro .cs-bar .cs-out { gap: 4px; }
	html .theme-ro .cs-win button.cs-btn, .theme-ro .cs-bar #chars-logout { padding: 0 8px; font-size: 11px; height: 30px; min-height: 30px; white-space: nowrap; }
	html .theme-ro .cs-win button.cs-start { height: 42px; min-height: 42px; padding: 0 14px 0 8px; gap: 4px; font-size: 15px; white-space: nowrap; flex: none; }
	html .theme-ro .cs-win button.cs-start img { width: 34px; height: 34px; }
}
@media (max-width: 600px) and (min-height: 800px) {
	.theme-ro #screen-chars:has(.cs-win)::before { display: block; width: min(300px, 64vw); top: 10px; }
	.theme-ro.ro-chars #screen-chars.active:has(.cs-win) { padding-top: calc(10px + min(300px, 64vw) * 300 / 980); }
}
/* a phone turned (a short screen): the slots on the left and the details on the right again, the slots sized by the
   screen's height, the page arrows in the title bar */
@media (max-height: 500px) and (min-width: 560px) {
	.theme-ro .cs-win { --cs-h: clamp(64px, calc((100dvh - 110px) / 3), 104px); --cs-w: calc(var(--cs-h) * 0.8); }
	.theme-ro .cs-main { flex-direction: row; padding: 6px 8px; gap: 8px; }
	.theme-ro .cs-grid { gap: 4px; }
	.theme-ro .cs-slot { padding-bottom: 3px; }
	.theme-ro .cs-slot canvas { width: calc(var(--cs-h) * 0.66); height: calc(var(--cs-h) * 0.72); }
	.theme-ro .cs-slot .cs-lv { display: none; } /* (in the details) */
	.theme-ro .cs-left { position: static; }
	.theme-ro .cs-pager { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 22px; margin: 0; gap: 6px; font-size: 11px; }
	html .theme-ro .cs-win button.cs-pg { width: 18px; height: 18px; min-height: 18px; }
	html .theme-ro .cs-win button.cs-pg.l::after { margin-left: 4px; } html .theme-ro .cs-win button.cs-pg.r::after { margin-left: 6px; }
	.theme-ro .cs-info { width: 224px; align-content: start; overflow: hidden; }
	.theme-ro .cs-info .cs-kv { grid-template-columns: 30px minmax(0, 1fr); gap: 2px 6px; }
	.theme-ro .cs-info .cs-stats { grid-template-columns: repeat(3, 26px 1fr); gap: 2px 5px; }
	.theme-ro .cs-kv .v, .theme-ro .cs-kv .k, .theme-ro .cs-stats .k, .theme-ro .cs-stats .v { line-height: 16px; }
	.theme-ro .cs-bar { padding: 4px 8px; flex-wrap: nowrap; }
	html .theme-ro .cs-win button.cs-btn, .theme-ro .cs-bar #chars-logout { height: 28px; min-height: 28px; white-space: nowrap; }
	html .theme-ro .cs-win button.cs-start { height: 38px; min-height: 38px; font-size: 15px; white-space: nowrap; }
	html .theme-ro .cs-win button.cs-start img { width: 32px; height: 32px; }
}

/* the delete box (chardel.js) as a window of the client: white, the blue title bar, the RO buttons */
.theme-ro .cd-back { background: rgba(10, 18, 44, 0.45); }
.theme-ro .cd-card { color: #000; font: 12px/1.45 var(--ro-font); background: #fff; border: 1px solid #8796bd; border-radius: 6px; box-shadow: 0 8px 30px rgba(6, 14, 40, 0.55); }
.theme-ro .cd-head { height: 24px; padding: 0 4px 0 10px; font: bold 12px/24px var(--ro-font); color: #1b2a5c; border-bottom: 1px solid #8796bd;
	background: linear-gradient(#e6edfb 0%, #c2d2f2 48%, #a9bfec 52%, #d3e0f8 100%); }
html.ro-skin .theme-ro .cd-head { background: var(--ro-titlebar-mid) 0 0 / 100% 100%; font-weight: normal; color: #000; }
html .theme-ro button.cd-x { width: 20px; height: 20px; min-height: 20px; font-size: 16px; color: #33416b; border: 0; background: none; }
html .theme-ro button.cd-x:hover { background: rgba(255, 255, 255, 0.6); }
.theme-ro .cd-body { background: linear-gradient(#f7f9fe, #ffffff 60px); }
.theme-ro .cd-foot { border-top: 1px solid #d5dced; background: repeating-linear-gradient(#ffffff 0 2px, #f2f4f8 2px 4px); }
html .theme-ro button.cd-btn { height: 28px; min-height: 28px; padding: 0 16px; font: 12px var(--ro-font); border: 1px solid #a9b4cc; border-radius: 4px; background: linear-gradient(#ffffff, #e6eaf3); color: #1f2a48; }
html .theme-ro button.cd-btn:hover:not(:disabled) { background: linear-gradient(#f4f8ff, #d9e3f7); }
html .theme-ro button.cd-btn.danger { color: #fff; font-weight: bold; border-color: #a83a32; background: linear-gradient(#f07a6e, #c9443a); }
html .theme-ro button.cd-btn.danger:hover:not(:disabled) { background: linear-gradient(#f48a7f, #b83a31); }
.theme-ro .cd-who { border-color: #d3dbec; background: radial-gradient(ellipse 34px 9px at 56px 88%, rgba(70, 80, 110, 0.3), transparent 100%), linear-gradient(#ffffff, #f4f7fd); }
.theme-ro .cd-name { color: #18244a; font-size: 14px; }
.theme-ro .cd-muted { color: #5a6585; font-size: 11px; }
.theme-ro .cd-job { background: #eef2fa; color: var(--ro-navy, #1b2a5c); }
.theme-ro .cd-warn { color: #a02424; background: #fff1ef; border-color: #f0b4ab; }
.theme-ro .cd-lbl { color: var(--ro-navy, #1b2a5c); font-size: 12px; }
html .theme-ro input.cd-in { height: 30px; min-height: 30px; font: 14px var(--ro-font); color: #000; background: #fff; border: 1px solid #a9b4cc; border-radius: 3px; }
.theme-ro .cd-err { color: #c0392b; font-size: 12px; }
@media (max-width: 600px) {
	html .theme-ro input.cd-in { height: 36px; min-height: 36px; font-size: 16px; }
	html .theme-ro button.cd-btn { height: 34px; min-height: 34px; }
}

/* ---- character make (charsro.js): win_make 576x342 drawn as it is (title redrawn in Thai), the character, the arrows,
   the stat hexagon, the picture buttons in the bottom bar (y 314-341) ---- */
.theme-ro .ro-charwin { position: relative; width: 576px; height: 342px; color: #000; font: 12px/1.3 var(--ro-font); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%) 0 0 / 100% 17px no-repeat, linear-gradient(#ffffff, #ffffff) 0 17px / 100% 297px no-repeat,
		repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px); border: 1px solid var(--ro-edge); }
html.ro-skin .theme-ro .ro-charwin { box-shadow: none; }
html.ro-skin .theme-ro .ro-select { border: 0; background: var(--ro-win-select) 0 0 / 576px 342px no-repeat; }
html.ro-skin .theme-ro .ro-make { border: 0; background: var(--ro-win-make) 0 0 / 576px 342px no-repeat; }
.theme-ro .ro-charwin > *, .theme-ro .ro-charwin form > * { position: absolute; }
.theme-ro .ro-charwin form { position: static; }
.theme-ro .ro-slot { top: 44px; width: 131px; height: 137px; cursor: pointer; border: 1px solid #c9d3ea;
	background: radial-gradient(ellipse 22px 8px at 50% 128px, #9a9a9a, transparent 100%); }
html.ro-skin .theme-ro .ro-slot { border-color: transparent; background: none; }
.theme-ro .ro-slot.closed { cursor: default; opacity: 0.4; }
.theme-ro .ro-slot canvas { display: block; width: 131px; height: 137px; image-rendering: pixelated; pointer-events: none; }
.theme-ro .ro-slot .rs-name { display: none; }
.theme-ro .ro-slot.sel { outline: 2px solid #7c95cf; outline-offset: 2px; }
html.ro-skin .theme-ro .ro-slot.sel { outline: 0; }
html.ro-skin .theme-ro .ro-slot.sel::before { content: ''; position: absolute; left: -5px; top: -5px; width: 139px; height: 144px; background: var(--ro-box-select) 0 0 / 139px 144px no-repeat; pointer-events: none; }
.theme-ro .ro-slot.deleting canvas { opacity: 0.45; }
.theme-ro .rs-empty { position: absolute; left: 35px; top: 58px; width: 60px; height: 14px; font: bold 12px var(--ro-font); color: #c03030; text-align: center; }
.theme-ro .rs-empty::before { content: 'EMPTY'; }
html.ro-skin .theme-ro .rs-empty { background: var(--ro-etc-empty) 0 0 / 60px 14px no-repeat; }
html.ro-skin .theme-ro .rs-empty::before { content: none; }
.theme-ro .rs-lbl { font: bold 11px/15px var(--ro-font); color: var(--ro-navy); height: 15px; }
.theme-ro .rs-lbl.l { left: 18px; } .theme-ro .rs-lbl.r { left: 163px; } .theme-ro .rs-lbl.m { left: 413px; }
.theme-ro .rs-lbl.name { left: 22px; top: 243px; }
html.ro-skin .theme-ro .rs-lbl { visibility: hidden; }
.theme-ro .rs-v { height: 15px; font: 11px/15px var(--ro-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.theme-ro .rs-v.l { left: 65px; width: 94px; } .theme-ro .rs-v.r { left: 210px; width: 94px; } .theme-ro .rs-v.m { left: 459px; width: 92px; }
html:not(.ro-skin) .theme-ro .rs-v { background: #e9eef7; }
.theme-ro .rs-info { left: 318px; top: 205px; width: 244px; font-size: 11px; color: #333; }
.theme-ro .rs-info.del-info { color: #b7860b; font-weight: bold; }
.theme-ro .rs-bar { left: 0; right: 0; bottom: 0; height: 28px; padding: 0 5px; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.theme-ro .rs-bar .rs-left, .theme-ro .rs-bar .rs-right { display: flex; gap: 2px; }
.theme-ro .rs-bar button { min-width: 52px; }
.theme-ro .rs-bar #chars-logout { margin: 0; }
/* page arrows beside the slot row (more than three slots) */
.theme-ro .ro-charwin .rs-page, .theme-ro .ro-charwin .rs-arw { width: 16px; min-width: 0; height: 22px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none !important; cursor: pointer; }
.theme-ro .ro-charwin .rs-page { top: 101px; }
.theme-ro .rs-page.l { left: 26px; } .theme-ro .rs-page.r { left: 534px; }
.theme-ro .rs-page::after, .theme-ro .rs-arw::after { content: ''; display: block; margin: 0 auto; width: 0; height: 0; border: 7px solid transparent; }
.theme-ro .rs-page.l::after, .theme-ro .rs-arw.l::after { border-left: 0; border-right: 9px solid #5876c4; }
.theme-ro .rs-page.r::after, .theme-ro .rs-arw.r::after { border-right: 0; border-left: 9px solid #5876c4; }
.theme-ro .rs-page:hover:not(:disabled)::after, .theme-ro .rs-arw:hover::after { filter: brightness(1.35); }
.theme-ro .rs-page:disabled::after { opacity: 0.25; }
.theme-ro .rs-page:disabled { cursor: default; }
/* make window: the character on its shadow, hair style arrows beside the head, hair colour arrows beside the feet,
   the stat hexagon (every stat starts at 1), the name in the Name box */
.theme-ro #make-preview { left: 31px; top: 73px; width: 131px; height: 150px; image-rendering: pixelated; pointer-events: none; }
.theme-ro .ro-charwin .rs-arw { top: 125px; }
.theme-ro .ro-charwin .rs-arw.c { top: 186px; }
.theme-ro .rs-arw.l { left: 46px; } .theme-ro .rs-arw.r { left: 131px; }
.theme-ro .rs-arw.c::after { border-top-width: 6px; border-bottom-width: 6px; }
.theme-ro .rs-arw.c.l::after { border-right-color: #b06a2a; } .theme-ro .rs-arw.c.r::after { border-left-color: #b06a2a; }
.theme-ro .ro-charwin .rs-hid { left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.theme-ro .rs-hex { left: 0; top: 0; pointer-events: none; }
.theme-ro .rs-hex polygon { fill: rgba(88, 118, 196, 0.5); stroke: #3f5ca8; stroke-width: 1; }
.theme-ro .rs-namein { left: 62px; top: 243px; width: 99px; height: 16px !important; min-height: 16px !important; font-size: 12px !important; padding: 0 3px; }
html.ro-skin .theme-ro .rs-namein { border: 0; box-shadow: none; background: transparent; outline: 0; }
@media (max-width: 600px) { .theme-ro .ro-charwin { zoom: 0.64; } }
@media (max-width: 370px) { .theme-ro .ro-charwin { zoom: 0.58; } }

/* ---- character make (charsro.js makeHtml): the newer official client's window, made prettier - 1 the race with its
   first jobs (left), 2 ♂ / ♀ and the character on a lit stage with its name plate (middle), 3 / 4 the hair styles and
   colours as head pictures (right), the bottom bar like the select window's (กลับ / the big "สร้าง" pill) ---- */
.theme-ro .ro-make2 { --mk-blue: #4e6fc6; --mk-navy: #1b2a5c; --mk-edge: #c8d2e8; --mk-pink: #e8577f;
	width: min(920px, calc(100vw - 16px)); color: #1f2a48; font: 12px/1.45 var(--ro-font); background: #fff; border: 1px solid #8796bd;
	border-radius: 8px; box-shadow: 0 10px 34px rgba(6, 14, 40, 0.55); overflow: hidden; margin-top: 7vh; }
.theme-ro .ro-make2 form { display: flex; flex-direction: column; }
.theme-ro .ro-make2 .mk-head { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 4px 0 10px; font: bold 12px/24px var(--ro-font); color: var(--mk-navy);
	background: linear-gradient(#e6edfb 0%, #c2d2f2 48%, #a9bfec 52%, #d3e0f8 100%); border-bottom: 1px solid #8796bd; }
html.ro-skin .theme-ro .ro-make2 .mk-head { background: var(--ro-titlebar-mid) 0 0 / 100% 100%; font-weight: normal; color: #000; }
.theme-ro .ro-make2 .mk-hico { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #6f8fd6 60%, #3a57a6); }
.theme-ro .ro-make2 .mk-title { flex: 1; }
.theme-ro .ro-make2 .mk-slotno { font-weight: normal; font-size: 11px; color: #42507a; }
html .theme-ro .ro-make2.mk3 button.mk-x { width: 20px; height: 20px; min-height: 20px; padding: 0; border: 0; background: none; box-shadow: none; font-size: 18px; line-height: 18px; color: #3d4a70; }
html .theme-ro .ro-make2.mk3 button.mk-x:hover:not(:disabled) { color: #c03030; background: none; }
.theme-ro .ro-make2 .mk-body { display: grid; grid-template-columns: 240px minmax(0, 1fr) 286px; gap: 12px; padding: 12px; background: linear-gradient(#f7f9fe, #ffffff 40%); }
/* the small numbered heading of each part */
.theme-ro .mk-step { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: bold 12px/20px var(--ro-font); color: var(--mk-navy); }
.theme-ro .mk-step b { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(#7e9cec, #4e6fc6); color: #fff; font: bold 11px/18px var(--ro-font); text-align: center; box-shadow: 0 1px 2px rgba(40, 60, 130, 0.4); }
.theme-ro .mk-cur { margin-left: 2px; font-weight: normal; font-size: 11px; color: #6b7699; }
/* 1: the race */
.theme-ro .mk-left { display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid #d3dbec; border-radius: 8px; background: linear-gradient(#ffffff, #f4f7fd); }
.theme-ro .mk-races { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.theme-ro .mk-race { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 74px; border: 1px solid var(--mk-edge); border-radius: 8px;
	background: linear-gradient(#fbfcff, #eef2fa); overflow: hidden; }
.theme-ro .mk-race.on { border: 2px solid var(--mk-blue); background: radial-gradient(ellipse 34px 10px at 50% 46px, rgba(70, 90, 160, 0.25), transparent 100%), linear-gradient(#f2f6ff, #dfe8fb);
	box-shadow: 0 0 0 3px rgba(108, 140, 220, 0.22); }
.theme-ro .mk-race-prev { width: 40px; height: 40px; image-rendering: pixelated; }
.theme-ro .mk-race .mk-tag { font: bold 12px/16px var(--ro-font); color: var(--mk-navy); }
.theme-ro .mk-check { position: absolute; right: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--mk-blue); }
.theme-ro .mk-check::after { content: ''; position: absolute; left: 4.5px; top: 2.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.theme-ro .mk-race.soon { cursor: not-allowed; background: repeating-linear-gradient(135deg, #f1f3f8 0 8px, #e8ebf3 8px 16px); color: #8a93ad; }
.theme-ro .mk-race.soon .mk-tag { color: #8a93ad; }
.theme-ro .mk-lock { width: 14px; height: 11px; margin-top: 6px; border-radius: 2px; background: #a3acc4; position: relative; }
.theme-ro .mk-lock::before { content: ''; position: absolute; left: 2.5px; bottom: 9px; width: 9px; height: 8px; border: 2px solid #a3acc4; border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box; }
.theme-ro .mk-soon { font: bold 9px/12px var(--ro-font); letter-spacing: 1px; color: #fff; background: #a3acc4; border-radius: 6px; padding: 0 6px; }
.theme-ro .mk-about { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e1e6f1; }
.theme-ro .mk-about p { margin: 0 0 8px; color: #3a4566; }
.theme-ro .mk-jobhead { font: bold 11px/16px var(--ro-font); color: var(--mk-navy); margin-bottom: 4px; }
.theme-ro .mk-jobs { display: flex; flex-wrap: wrap; gap: 4px; }
.theme-ro .mk-jobs span { padding: 0 7px; border: 1px solid #c9d3ea; border-radius: 10px; background: #fff; color: #3d4c78; font-size: 11px; line-height: 18px; }
.theme-ro .mk-start { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e1e6f1; }
.theme-ro .mk-startrow { display: flex; gap: 6px; margin-bottom: 6px; }
.theme-ro .mk-startrow span { flex: 1; padding: 0 6px; border-radius: 3px; background: #eef2fa; font-size: 11px; line-height: 19px; text-align: center; white-space: nowrap; color: #2c3b6b; }
.theme-ro .mk-startrow b { color: var(--mk-navy); }
.theme-ro .mk-stats { display: grid; grid-template-columns: repeat(3, 30px 1fr); gap: 3px 6px; }
.theme-ro .mk-stats .k { font: bold 11px/17px var(--ro-font); color: var(--ro-navy, var(--mk-navy)); }
.theme-ro .mk-stats .v { line-height: 17px; text-align: center; background: #eef2fa; border-radius: 2px; font-size: 11px; }
/* 2: the stage - a soft light from above, the character on a glowing ring, blue for ♂ / pink for ♀ */
.theme-ro .mk-stage { --mk-glow: 120, 150, 230; position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 10px 10px 12px; border-radius: 10px; overflow: hidden;
	border: 1px solid #c9d5f0; background: radial-gradient(120% 75% at 50% 0%, #ffffff 0%, #eef3ff 45%, #d6e2fb 100%); transition: background 0.3s, border-color 0.3s; }
.theme-ro .mk-stage.f { --mk-glow: 236, 120, 168; border-color: #f0cadb; background: radial-gradient(120% 75% at 50% 0%, #ffffff 0%, #fff0f6 45%, #f8d9e7 100%); }
.theme-ro .mk-stage::before { content: ''; position: absolute; left: 50%; top: -30px; width: 280px; height: 330px; transform: translateX(-50%); pointer-events: none;
	background: conic-gradient(from 180deg at 50% 0%, transparent 154deg, rgba(255, 255, 255, 0.85) 172deg, rgba(255, 255, 255, 0.95) 180deg, rgba(255, 255, 255, 0.85) 188deg, transparent 206deg); filter: blur(6px); opacity: 0.9; }
.theme-ro .mk-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.7; animation: mk-twinkle 3.2s ease-in-out infinite alternate;
	background: radial-gradient(1.6px 1.6px at 18% 28%, #fff, transparent), radial-gradient(1.4px 1.4px at 82% 22%, #fff, transparent), radial-gradient(1.8px 1.8px at 72% 62%, rgba(255, 255, 255, 0.9), transparent),
		radial-gradient(1.3px 1.3px at 26% 70%, rgba(255, 255, 255, 0.9), transparent), radial-gradient(1.5px 1.5px at 50% 14%, #fff, transparent), radial-gradient(1.2px 1.2px at 90% 80%, #fff, transparent); }
@keyframes mk-twinkle { from { opacity: 0.35; } to { opacity: 0.9; } }
.theme-ro .mk-stage > * { position: relative; z-index: 1; }
.theme-ro .mk-stage .mk-step { align-self: flex-start; }
.theme-ro .mk-sex { display: flex; gap: 4px; padding: 3px; border-radius: 20px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px #c9d3ea, 0 2px 6px rgba(40, 60, 130, 0.12); }
html .theme-ro .ro-make2.mk3 .mk-sex button { display: flex; align-items: center; gap: 4px; width: 86px; height: 30px; min-height: 30px; padding: 0 12px; justify-content: center; border: 0; border-radius: 16px; background: transparent; box-shadow: none;
	font: bold 13px/30px var(--ro-font); color: #8a93ad; cursor: pointer; transition: background 0.15s, color 0.15s; }
html .theme-ro .ro-make2.mk3 .mk-sex button i { font-style: normal; font-size: 16px; }
html .theme-ro .ro-make2.mk3 .mk-sex button:hover:not(.on) { background: rgba(120, 140, 200, 0.12); color: #4d5a80; }
html .theme-ro .ro-make2.mk3 .mk-sex button.m.on { color: #fff; background: linear-gradient(#7ea2f2, #4f76d8); box-shadow: 0 2px 5px rgba(60, 90, 200, 0.35); }
html .theme-ro .ro-make2.mk3 .mk-sex button.f.on { color: #fff; background: linear-gradient(#ff98bb, #e8577f); box-shadow: 0 2px 5px rgba(200, 60, 100, 0.35); }
.theme-ro .mk-prev { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; }
.theme-ro .mk-spot { position: relative; width: 160px; height: 190px; cursor: ew-resize; touch-action: none; }
.theme-ro .mk-ring { position: absolute; left: 50%; bottom: 8px; width: 124px; height: 34px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(var(--mk-glow), 0.55) 0 30%, rgba(var(--mk-glow), 0.18) 58%, transparent 70%);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75), 0 0 16px rgba(var(--mk-glow), 0.45); animation: mk-pulse 2.6s ease-in-out infinite; }
@keyframes mk-pulse { 0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.theme-ro .ro-make2 #make-preview { position: relative; left: 0; top: 0; display: block; width: 160px; height: 190px; image-rendering: pixelated; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(30, 40, 80, 0.25)); }
html .theme-ro .ro-make2.mk3 button.mk-rot { position: relative; width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #c3cde6; border-radius: 50%; background: linear-gradient(#ffffff, #e9eef9); box-shadow: 0 2px 5px rgba(40, 60, 130, 0.18); cursor: pointer; }
html .theme-ro .ro-make2.mk3 button.mk-rot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid var(--mk-blue); border-width: 0 0 2.5px 2.5px; transform: translate(-30%, -50%) rotate(45deg); }
html .theme-ro .ro-make2.mk3 button.mk-rot.r::before { transform: translate(-70%, -50%) rotate(-135deg); }
html .theme-ro .ro-make2.mk3 button.mk-rot:hover, html .theme-ro .ro-make2.mk3 button.mk-rot:active { background: linear-gradient(#f4f8ff, #d9e3f7); }
.theme-ro .mk-plate { position: relative; display: flex; align-items: center; width: min(240px, 100%); margin-top: 4px; }
html .theme-ro .mk-plate input.mk-name { width: 100%; height: 34px !important; min-height: 34px !important; padding: 0 50px 0 14px; border: 1px solid #b6c3e2; border-radius: 18px; background: #fff;
	font: 14px var(--ro-font) !important; color: #18244a; text-align: center; box-shadow: inset 0 1px 3px rgba(40, 60, 130, 0.15), 0 0 0 3px rgba(255, 255, 255, 0.6); outline: 0; }
html .theme-ro .mk-plate input.mk-name:focus { border-color: var(--mk-blue); box-shadow: inset 0 1px 3px rgba(40, 60, 130, 0.15), 0 0 0 3px rgba(108, 140, 220, 0.35); }
html .theme-ro .mk-plate.bad input.mk-name { border-color: #d65a5a; box-shadow: inset 0 1px 3px rgba(40, 60, 130, 0.15), 0 0 0 3px rgba(214, 90, 90, 0.2); }
.theme-ro .mk-count { position: absolute; right: 12px; font-size: 11px; color: #8a93ad; pointer-events: none; }
.theme-ro .mk-hint { min-height: 17px; margin-top: 4px; font-size: 11px; color: #6b7699; text-align: center; }
.theme-ro .mk-hint.bad { color: #c03a3a; }
.theme-ro .mk-hint.good { color: #3c8f5a; }
/* 3 / 4: hair styles and colours as head pictures */
.theme-ro .mk-side { display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid #d3dbec; border-radius: 8px; background: linear-gradient(#ffffff, #f4f7fd); }
html .theme-ro .ro-make2.mk3 button.mk-rand { margin-left: auto; height: 22px; min-height: 22px; padding: 0 10px; border: 1px solid #b7c3df; border-radius: 11px; background: linear-gradient(#fff, #e7ecf7); font: 11px/20px var(--ro-font); color: #2c3b6b; cursor: pointer; }
html .theme-ro .ro-make2.mk3 button.mk-rand::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 4px; vertical-align: -1px; border-radius: 2px; background: radial-gradient(circle at 30% 30%, #4e6fc6 1.3px, transparent 1.6px), radial-gradient(circle at 70% 70%, #4e6fc6 1.3px, transparent 1.6px), radial-gradient(circle at 50% 50%, #4e6fc6 1.3px, transparent 1.6px), #fff; box-shadow: 0 0 0 1px #4e6fc6; }
.theme-ro .mk-hairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-height: 214px; overflow-y: auto; padding: 2px 4px 2px 2px; margin-bottom: 10px;
	scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9; }
.theme-ro .mk-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; justify-items: center; padding: 2px; }
html .theme-ro .ro-make2.mk3 button.mk-hair, html .theme-ro .ro-make2.mk3 button.mk-color { position: relative; display: grid; place-items: center; padding: 0; min-height: 0; border: 1px solid var(--mk-edge); background: linear-gradient(#ffffff, #eef2fa);
	box-shadow: none; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s; }
html .theme-ro .ro-make2.mk3 button.mk-hair { height: 48px; border-radius: 8px; }
html .theme-ro .ro-make2.mk3 button.mk-color { width: 44px; height: 44px; border-radius: 50%; }
.theme-ro .mk-hair span, .theme-ro .mk-color span { position: absolute; right: 3px; bottom: 1px; font-size: 9px; line-height: 11px; color: #9aa5bf; }
.theme-ro .mk-color span { right: 50%; bottom: -1px; transform: translateX(50%); }
.theme-ro .mk-color .mk-thumb:not(.hidden) + span { display: none; } /* (the colour's number is in the heading) */
.theme-ro .mk-thumb { display: block; image-rendering: pixelated; pointer-events: none; }
/* (a style / colour whose picture is not in the data: its number in the middle) */
.theme-ro .mk-thumb.hidden { display: none; }
.theme-ro .mk-thumb.hidden + span { position: static; transform: none; font: bold 14px/1 var(--ro-font); color: #a3adc6; }
html .theme-ro .ro-make2.mk3 button.mk-hair:hover, html .theme-ro .ro-make2.mk3 button.mk-color:hover, html .theme-ro .ro-make2.mk3 button.mk-hair:active, html .theme-ro .ro-make2.mk3 button.mk-color:active { border-color: #8ea5dc; transform: translateY(-1px); background: linear-gradient(#ffffff, #e6edfb); }
html .theme-ro .ro-make2.mk3 button.mk-hair.on, html .theme-ro .ro-make2.mk3 button.mk-color.on, html .theme-ro .ro-make2.mk3 button.mk-hair.on:hover, html .theme-ro .ro-make2.mk3 button.mk-color.on:hover { border: 2px solid var(--mk-blue); background: radial-gradient(circle at 50% 40%, #ffffff, #dfe8fb); box-shadow: 0 0 0 3px rgba(108, 140, 220, 0.25); }
html .theme-ro .ro-make2.mk3 button.mk-hair.on span, html .theme-ro .ro-make2.mk3 button.mk-color.on span { color: var(--mk-blue); font-weight: bold; }
/* the bottom bar: like the select window's */
.theme-ro .ro-make2 .mk-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid #d5dced; background: repeating-linear-gradient(#ffffff 0 2px, #f2f4f8 2px 4px); }
html .theme-ro .ro-make2.mk3 .mk-bar button.mk-back { height: 30px; min-height: 30px; padding: 0 22px; font: 12px var(--ro-font); border: 1px solid #a9b4cc; border-radius: 4px; background: linear-gradient(#ffffff, #e6eaf3); color: #1f2a48; }
html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok { display: flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 30px 0 22px; border: 2px solid #c74f7c; border-radius: 24px;
	font: bold 17px var(--ro-font); color: #fff; text-shadow: 0 1px 2px rgba(110, 20, 50, 0.6); cursor: pointer;
	background: radial-gradient(ellipse at 35% 25%, #ffd0e0, transparent 55%), linear-gradient(#ff8fb4, #e8577f 60%, #d24671); box-shadow: 0 3px 0 #a8355a, 0 6px 16px rgba(200, 60, 100, 0.35); }
html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok:hover:not(:disabled) { filter: brightness(1.07); }
html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #a8355a, 0 3px 8px rgba(200, 60, 100, 0.35); }
html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok:disabled { filter: grayscale(0.7); opacity: 0.6; cursor: default; }
.theme-ro .mk-star { font-style: normal; font-size: 16px; animation: mk-spin 6s linear infinite; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
.theme-ro .ro-make2 .rs-hid { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
/* the name under the feet, as the game draws it over a character (white, a dark rim); faded while there is none */
.theme-ro .mk-tagname { position: absolute; left: 50%; top: 91%; transform: translateX(-50%); z-index: 2; max-width: 150%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	font: bold 12px/16px var(--ro-font); color: #fff; pointer-events: none;
	text-shadow: -1px -1px 0 #111a33, 1px -1px 0 #111a33, -1px 1px 0 #111a33, 1px 1px 0 #111a33, 0 0 4px rgba(10, 20, 50, 0.6); }
.theme-ro .mk-tagname.empty { color: rgba(255, 255, 255, 0.75); font-weight: normal; }
/* a smaller screen: the race under the stage and the hair */
@media (max-width: 900px) {
	.theme-ro .ro-make2 .mk-body { grid-template-columns: minmax(0, 1fr) 286px; }
	.theme-ro .mk-left { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: 220px 1fr; gap: 0 12px; }
	.theme-ro .mk-left .mk-step { grid-column: 1; }
	.theme-ro .mk-left .mk-races { grid-column: 1; }
	.theme-ro .mk-left .mk-about { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0 0 0 12px; border-top: 0; border-left: 1px solid #e1e6f1; }
	.theme-ro .mk-left .mk-start { display: none; }
}
/* a phone held upright: the whole window on one screen, no scrolling (Noh) - 1 the race as a slim row on top, 2 the
   stage sized by the screen's height, 3 the hair styles in one row that slides sideways, 4 the nine colours, the bar */
@media (max-width: 600px) {
	.theme-ro #screen-chars:has(.ro-make2)::before { display: none; }
	.theme-ro.ro-chars #screen-chars.active:has(.ro-make2) { padding: 0; overflow: hidden; }
	.theme-ro.ro-chars #screen-chars.active:has(.ro-make2) > .chars-wrap { margin: 0; width: 100%; }
	body.theme-ro:has(#screen-chars.active .ro-make2) #ver-tag:not(.stale) { display: none; } /* (not over the "สร้าง" button) */
	.theme-ro .ro-make2 { --mk-spot-h: clamp(110px, calc(100dvh - 432px - env(safe-area-inset-top)), 240px); width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; overflow: hidden; display: flex; flex-direction: column;
		box-sizing: border-box; padding-top: env(safe-area-inset-top); } /* (the title bar and its ✕ out from under the iPhone's status bar: the game on the home screen) */
	.theme-ro .ro-make2 form { flex: 1; min-height: 0; }
	.theme-ro .ro-make2 .mk-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px 8px; overflow-y: auto; }
	.theme-ro .mk-left { order: 0; flex: none; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 5px 8px; }
	.theme-ro .mk-left .mk-step { margin: 0; flex: none; }
	.theme-ro .mk-left .mk-races { flex: 1; gap: 6px; }
	.theme-ro .mk-race { height: 36px; flex-direction: row; gap: 6px; border-radius: 18px; }
	.theme-ro .mk-race .mk-race-prev { width: 28px; height: 28px; }
	.theme-ro .mk-race .mk-check { top: 50%; right: 8px; transform: translateY(-50%); }
	.theme-ro .mk-race.soon .mk-lock { margin: 0; }
	.theme-ro .mk-race.soon .mk-soon { font-size: 8px; padding: 0 4px; }
	.theme-ro .mk-left .mk-about, .theme-ro .mk-left .mk-start { display: none; }
	.theme-ro .mk-stage { order: 1; flex: 1 0 auto; padding: 6px 8px 4px; justify-content: center; }
	.theme-ro .mk-stage > .mk-step { display: none; }
	html .theme-ro .ro-make2.mk3 .mk-sex button { height: 28px; min-height: 28px; line-height: 28px; }
	.theme-ro .mk-prev { margin: 2px 0 0; }
	.theme-ro .mk-spot { height: var(--mk-spot-h); width: auto; aspect-ratio: 160 / 190; }
	.theme-ro .ro-make2 #make-preview { width: 100%; height: 100%; }
	.theme-ro .mk-ring { width: 78%; height: 18%; }
	.theme-ro .mk-plate { margin-top: 2px; }
	html .theme-ro .mk-plate input.mk-name { height: 32px !important; min-height: 32px !important; }
	.theme-ro .mk-hint { min-height: 15px; margin-top: 2px; }
	.theme-ro .mk-side { order: 2; flex: none; padding: 6px 8px; }
	.theme-ro .mk-side .mk-step { margin-bottom: 4px; }
	.theme-ro .mk-hairs { display: flex; grid-template-columns: none; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 6px; margin-bottom: 4px;
		scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
	html .theme-ro .ro-make2.mk3 button.mk-hair { flex: 0 0 48px; width: 48px; height: 48px; scroll-snap-align: start; }
	.theme-ro .mk-colors { grid-template-columns: repeat(9, 1fr); gap: 2px; }
	html .theme-ro .ro-make2.mk3 button.mk-color { width: 34px; height: 34px; }
	.theme-ro .mk-color .mk-thumb { width: 30px; height: 30px; }
	.theme-ro .ro-make2 .mk-bar { flex: none; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); }
	html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok { flex: 1; justify-content: center; height: 42px; min-height: 42px; }
}
/* a phone turned (a short screen): the three parts side by side again in one screen - the race and its first jobs, the
   stage sized by the height, the hair styles scrolling inside their column */
@media (max-height: 560px) and (min-width: 601px) {
	.theme-ro #screen-chars:has(.ro-make2)::before { display: none; }
	.theme-ro.ro-chars #screen-chars.active:has(.ro-make2) { padding: 6px 8px; overflow: hidden; }
	body.theme-ro:has(#screen-chars.active .ro-make2) #ver-tag:not(.stale) { display: none; }
	.theme-ro .ro-make2 { --mk-spot-h: clamp(110px, calc(100dvh - 196px), 190px); margin: 0; height: calc(100dvh - 12px); display: flex; flex-direction: column; overflow: hidden;
		width: min(920px, calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right))); } /* (its ✕ and its colours out of the iPhone's notch) */
	.theme-ro .ro-make2 form { flex: 1; min-height: 0; }
	.theme-ro .ro-make2 .mk-body { flex: 1; min-height: 0; grid-template-columns: 168px minmax(0, 1fr) 292px; padding: 6px 8px; gap: 8px; }
	.theme-ro .mk-left { grid-column: auto; order: 0; display: flex; flex-direction: column; padding: 6px 8px; overflow: hidden; }
	.theme-ro .mk-left .mk-step { margin-bottom: 4px; }
	.theme-ro .mk-left .mk-races { grid-template-columns: 1fr; gap: 4px; }
	.theme-ro .mk-race { height: 34px; flex-direction: row; gap: 6px; border-radius: 17px; }
	.theme-ro .mk-race .mk-race-prev { width: 26px; height: 26px; }
	.theme-ro .mk-race .mk-check { top: 50%; right: 8px; transform: translateY(-50%); }
	.theme-ro .mk-race.soon .mk-lock { margin: 0; }
	.theme-ro .mk-race.soon .mk-soon { font-size: 8px; padding: 0 4px; }
	.theme-ro .mk-left .mk-about { margin-top: 6px; padding: 6px 0 0; border-left: 0; border-top: 1px solid #e1e6f1; }
	.theme-ro .mk-left .mk-about p, .theme-ro .mk-left .mk-start { display: none; }
	.theme-ro .mk-jobs span { font-size: 10px; line-height: 16px; padding: 0 5px; }
	.theme-ro .mk-stage { order: 1; padding: 6px 8px 4px; justify-content: center; }
	.theme-ro .mk-stage > .mk-step, .theme-ro .mk-hint { display: none; }
	html .theme-ro .ro-make2.mk3 .mk-sex button { height: 26px; min-height: 26px; line-height: 26px; }
	.theme-ro .mk-prev { margin: 0; }
	.theme-ro .mk-spot { height: var(--mk-spot-h); width: auto; aspect-ratio: 160 / 190; }
	.theme-ro .ro-make2 #make-preview { width: 100%; height: 100%; }
	.theme-ro .mk-ring { width: 78%; height: 18%; }
	html .theme-ro .mk-plate input.mk-name { height: 30px !important; min-height: 30px !important; }
	.theme-ro .mk-side { order: 2; padding: 6px 8px; overflow: hidden; }
	.theme-ro .mk-side .mk-step { margin-bottom: 3px; }
	.theme-ro .mk-hairs { flex: 1 1 auto; min-height: 0; max-height: none; margin-bottom: 6px; }
	html .theme-ro .ro-make2.mk3 button.mk-hair { height: 44px; }
	.theme-ro .mk-colors { grid-template-columns: repeat(9, 1fr); gap: 2px; }
	html .theme-ro .ro-make2.mk3 button.mk-color { width: 28px; height: 28px; }
	.theme-ro .mk-color .mk-thumb { width: 26px; height: 26px; }
	.theme-ro .ro-make2 .mk-bar { flex: none; padding: 5px 12px; }
	html .theme-ro .ro-make2.mk3 .mk-bar button.mk-ok { height: 38px; min-height: 38px; }
}

/* ---- loading screen: one of the client's loadingNN.jpg stretched over the screen like the client, the gauge at the bottom ---- */
/* (Gieno-RO's picture, 16:9: over the whole screen without stretching it - Noh 2026-10-23) */
.theme-ro #loading.ro-load { background: #3a2a4a var(--ro-loading) 50% 50% / cover no-repeat; align-items: flex-end; }
/* a phone held upright (Noh 2026-10-23 "สัดส่วนในมือถือไม่สวย": the picture cut to its middle, the logo and the maid gone):
   the picture across the screen (a little wider than it: only its far edges out), a little above the middle, its top
   and bottom fading into the lower part of the same picture blurred behind (not the logo blurred) */
@media (max-aspect-ratio: 4/5) {
	.theme-ro #loading.ro-load { background: #3a2a4a; isolation: isolate; }
	.theme-ro #loading.ro-load::before, .theme-ro #loading.ro-load::after { content: ''; position: absolute; pointer-events: none; background: var(--ro-loading) no-repeat; }
	.theme-ro #loading.ro-load::before { inset: 0; z-index: -2; background-position: 50% 100%; background-size: auto 260%; filter: blur(14px) brightness(0.72); transform: scale(1.1); }
	.theme-ro #loading.ro-load::after { left: 0; right: 0; top: 42%; z-index: -1; height: calc(118vw * 941 / 1672); transform: translateY(-50%);
		background-position: 50% 50%; background-size: 118vw 100%;
		-webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
}
/* a wide screen (21:9, Noh 2026-10-26: a friend's 34" ultrawide - the picture filled the width, the top of its logo cut
   off): the whole picture as tall as the screen in the middle (16:9 - a loadingNN.jpg of the data fits inside it), its
   sides fading into the same picture blurred behind */
@media (min-aspect-ratio: 2/1) {
	.theme-ro #loading.ro-load { background: #3a2a4a; isolation: isolate; }
	.theme-ro #loading.ro-load::before, .theme-ro #loading.ro-load::after { content: ''; position: absolute; pointer-events: none; background: var(--ro-loading) no-repeat; }
	.theme-ro #loading.ro-load::before { inset: 0; z-index: -2; background-position: 50% 50%; background-size: cover; filter: blur(16px) brightness(0.72); transform: scale(1.08); }
	.theme-ro #loading.ro-load::after { top: 0; bottom: 0; left: 50%; z-index: -1; width: calc(100vh * 16 / 9); transform: translateX(-50%);
		background-position: 50% 50%; background-size: contain;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
}
.theme-ro #loading.ro-load .card { background: none; border: 0; box-shadow: none; color: #fff; margin-bottom: 4vh; width: min(360px, 70vw); padding: 0;
	display: grid; justify-items: center; gap: 4px; font-size: 12px; text-shadow: 0 1px 2px #000; }
.theme-ro #loading.ro-load .spinner { display: none; }
/* (what the loading is doing, under the gauge: the map, its percent and files - Noh 2026-11-18; then the โหลดใหม่ button) */
.theme-ro #loading.ro-load #loading-text { order: 2; min-height: 16px; font-size: 12px; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; text-align: center; }
.theme-ro #loading.ro-load .load-bar { order: 1; }
.theme-ro #loading.ro-load #loading-retry { order: 3; margin-top: 4px; }
.theme-ro #loading.ro-load .load-bar { display: block; width: 100%; height: 9px; border: 1px solid #5e5f61; border-radius: 4px; background: linear-gradient(#a2a6aa, #f4f5f6); overflow: hidden; }
.theme-ro #loading.ro-load .load-bar b { display: block; height: 100%; width: var(--load-p, 0%); background: linear-gradient(#456ab9, #8aa9e6 40%, #6f93dc); transition: width 0.2s; }
html.ro-skin .theme-ro #loading.ro-load .load-bar b { background: var(--ro-gzeblue-left) left top / 4px 100% no-repeat, var(--ro-gzeblue-right) right top / 4px 100% no-repeat, var(--ro-gzeblue-mid) 4px 0 / calc(100% - 8px) 100% no-repeat; }

/* ---- death: a small window with the client's esc_10 (save point) / esc_01 (character select) buttons; the game stays
   usable around it (chat), no dark cover ---- */
.theme-ro #death { background: none; pointer-events: none; align-items: flex-start; padding-top: 24vh; }
.theme-ro #death .death-card { pointer-events: auto; width: auto; min-width: 229px; gap: 3px; padding: 4px; box-shadow: none; }
.theme-ro #death .death-card h2 { margin: 0; font: bold 12px var(--ro-font); color: #000; }
.theme-ro #death .death-card button { min-height: 20px; height: 20px; font-size: 12px; }
html.ro-pics .theme-ro #death .death-card { padding: 3px; gap: 2px; }
html.ro-pics .theme-ro #death .death-card h2, html.ro-pics .theme-ro #death #death-quit { display: none; }

/* ---- inventory tabs: three tabs on the left like the client's tab_itm picture, drawn here with the Thai words (turned a
   quarter, top to bottom); the open one white and joined to the grid ---- */
.theme-ro .inv-ro .vtabs { display: flex; flex-direction: column; gap: 2px; width: 22px; padding: 2px 0 0; background: none; flex: none; }
.theme-ro .inv-ro .vtabs button, .theme-ro .inv-ro .vtabs button.on {
	position: relative; width: 22px; min-width: 22px; height: 46px; min-height: 46px; padding: 0; margin: 0;
	writing-mode: vertical-rl; text-orientation: sideways; font: 11px/20px var(--ro-font); letter-spacing: 0; color: #4c556a;
	border: 1px solid #aab4c9; border-right: 0; border-radius: 6px 0 0 6px;
	background: repeating-linear-gradient(#eef1f6 0 1px, #e1e6ef 1px 2px) !important; box-shadow: none;
}
.theme-ro .inv-ro .vtabs button:hover { color: #000; background: repeating-linear-gradient(#f6f8fb 0 1px, #e9edf4 1px 2px) !important; }
.theme-ro .inv-ro .vtabs button.on { color: #000; font-weight: bold; background: #fff !important; margin-right: -1px; width: 23px; z-index: 1; }

/* ---- desktop: the in-game screen of the client ---- */
@media (min-width: 701px) {
	/* the client's windows have no drop shadow */
	html.ro-skin .theme-ro .win, html.ro-skin .theme-ro #hud-char, html.ro-skin .theme-ro #hud-map, html.ro-skin .theme-ro .hotbar, html.ro-skin .theme-ro .popup { box-shadow: none; }
	/* chat: bottom left, 600 wide: the log over the map and the dialog_bg input bar (whisper name box, message box). The
	   official window (chatwin.js, Noh 2026-10-25): 3 lines to start, its top edge dragged a line at a time (--chat-lines;
	   F10: hidden -> the message box alone -> 3 -> 6 -> 9 -> 12 -> 15), the log's darkness from the transparency button (--chat-a) */
	.theme-ro #chat.panel { left: 0; bottom: 0; width: 600px; background: none; }
	.theme-ro .chat-tabs { display: none; }
	.theme-ro .chat-log { height: calc(var(--chat-lines, 3) * 16px + 6px); background: rgba(0, 0, 0, var(--chat-a, 0.42)); }
	html.ts-2:not(.mhud) .theme-ro .chat-log { height: calc(var(--chat-lines, 3) * 18px + 6px); }
	html.ts-3:not(.mhud) .theme-ro .chat-log { height: calc(var(--chat-lines, 3) * 20px + 6px); }
	/* (its lines in the client's letters: 14 px a line, like the official chat - ui.js chatCrisp) */
	html:not(.mhud) .theme-ro .chat-log.chat-bmp, html.ts-2:not(.mhud) .theme-ro .chat-log.chat-bmp, html.ts-3:not(.mhud) .theme-ro .chat-log.chat-bmp { height: calc(var(--chat-lines, 3) * 14px + 6px); }
	.theme-ro #chat.chat-clear .chat-log { text-shadow: 1px 1px 0 #000, -1px 0 0 rgba(0, 0, 0, 0.7), 0 -1px 0 rgba(0, 0, 0, 0.7); }
	/* its top edge: the grip of the height (an invisible strip over the tab bar's top, the cursor shows it) */
	.theme-ro .chat-grip { position: absolute; left: 0; right: 0; top: -4px; height: 8px; z-index: 2; cursor: ns-resize; touch-action: none; }
	body.chat-sizing, body.chat-sizing * { cursor: ns-resize !important; user-select: none !important; }
	/* (Noh 2026-11-07 12:28 "ต้องปิดได้ด้วย โดยการเลื่อนลงมาจนสุดหรือกด f10": the tab bar's free part is a grip too; closed to
	   the message box alone - chat-min, F10's 2nd step or dragged down past the last line -; seen faint while a drag
	   further down will hide it - chat-going) */
	.theme-ro .chat-rotabs { cursor: ns-resize; touch-action: none; }
	.theme-ro .chat-rotabs .grow { align-self: stretch; }
	.theme-ro .chat-rotabs button { cursor: pointer; }
	.theme-ro #chat.chat-min .chat-log, .theme-ro #chat.chat-min .chat-rotabs { display: none; }
	.theme-ro #chat.chat-going { opacity: 0.35; }
	/* the official tabs over the log: dark see-through tabs with white words, the open one lighter; at the right the
	   small picture buttons of the client: transparency, size, the tab's settings (>>), + and − */
	.theme-ro .chat-rotabs { display: flex; align-items: flex-end; gap: 2px; height: 18px; padding: 0 2px 0 6px; }
	.theme-ro .chat-rotabs button.rt-tab { height: 16px; min-height: 16px; max-width: 110px; padding: 0 12px; margin: 0; border: 1px solid rgba(255, 255, 255, 0.55); border-bottom: 0;
		border-radius: 5px 5px 0 0; font: 12px/15px var(--ro-font); color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
		background: rgba(40, 44, 56, 0.62) !important; box-shadow: none; }
	.theme-ro .chat-rotabs button.rt-tab.on { height: 18px; min-height: 18px; background: rgba(120, 128, 146, 0.72) !important; border-color: rgba(255, 255, 255, 0.85); }
	.theme-ro .chat-rotabs button.rt-tab:hover:not(.on) { background: rgba(70, 76, 92, 0.72) !important; }
	.theme-ro .chat-rotabs .grow { flex: 1; }
	.theme-ro .chat-rotabs button.rt-ic { align-self: center; width: 14px; height: 12px; min-height: 12px; padding: 0; margin: 0 0 0 1px; border: 0; border-radius: 2px; box-shadow: none;
		background-color: transparent !important; background-position: center !important; background-repeat: no-repeat !important; opacity: 0.92; }
	.theme-ro .chat-rotabs button.rt-ic:hover:not(:disabled) { opacity: 1; background-color: rgba(255, 255, 255, 0.25) !important; }
	.theme-ro .chat-rotabs button.rt-ic:disabled { opacity: 0.35; }
	.theme-ro .chat-rotabs .rt-alpha { width: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9'%3E%3Crect x='.5' y='.5' width='15' height='8' rx='1.5' fill='%23dfe8ff' stroke='%234a6cc2'/%3E%3Cpath d='M3 3h2M7 3h2M11 3h2M3 6h2M7 6h2M11 6h2' stroke='%234a6cc2'/%3E%3C/svg%3E") !important; }
	.theme-ro .chat-rotabs .rt-size { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Ccircle cx='5.5' cy='5.5' r='4.8' fill='%23dfe8ff' stroke='%234a6cc2'/%3E%3Cpath d='M5.5 2.5v6M2.5 5.5h6' stroke='%234a6cc2' stroke-width='1.2'/%3E%3C/svg%3E") !important; }
	.theme-ro .chat-rotabs .rt-cfg { width: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10'%3E%3Cpath d='M1 1l4 4-4 4M7 1l4 4-4 4' fill='none' stroke='%234a6cc2' stroke-width='2.2'/%3E%3Cpath d='M1 1l4 4-4 4M7 1l4 4-4 4' fill='none' stroke='%23dfe8ff' stroke-width='.8'/%3E%3C/svg%3E") !important; }
	.theme-ro .chat-rotabs .rt-add { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 1v9M1 5.5h9' stroke='%234a6cc2' stroke-width='3'/%3E%3Cpath d='M5.5 1.5v8M1.5 5.5h8' stroke='%23dfe8ff' stroke-width='1'/%3E%3C/svg%3E") !important; }
	.theme-ro .chat-rotabs .rt-del { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M1 5.5h9' stroke='%234a6cc2' stroke-width='3'/%3E%3Cpath d='M1.5 5.5h8' stroke='%23dfe8ff' stroke-width='1'/%3E%3C/svg%3E") !important; }
	.theme-ro .ch-battle { color: #e4e8f2; }
	/* the chat's scroll bar like the client's: thin and dark, a white arrow at each end, the grey bar; the wheel scrolls */
	.theme-ro .chat-log { scrollbar-width: auto; scrollbar-color: auto; }
	.theme-ro .chat-log::-webkit-scrollbar { width: 10px; }
	.theme-ro .chat-log::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.78); }
	.theme-ro .chat-log::-webkit-scrollbar-thumb { min-height: 14px; border: 1px solid #000; border-radius: 0; background: linear-gradient(90deg, #8d8d8d, #c9c9c9 50%, #8d8d8d); }
	.theme-ro .chat-log::-webkit-scrollbar-button:single-button:vertical { display: block; height: 11px; background-color: #000; background-position: center; background-repeat: no-repeat; }
	.theme-ro .chat-log::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 6L4 0L8 6z' fill='%23fff'/%3E%3C/svg%3E"); }
	.theme-ro .chat-log::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0L4 6L8 0z' fill='%23fff'/%3E%3C/svg%3E"); }
	.theme-ro .chat-form input::placeholder { color: transparent; }
	.theme-ro .chat-form .chat-send { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
	html.ro-skin .theme-ro .chat-form { position: relative; display: block; width: 600px; height: 24px; padding: 0; border: 0; border-radius: 0; background: var(--ro-dialog-bg) 0 0 / 600px 24px no-repeat; }
	html.ro-skin .theme-ro .chat-form input { position: absolute; top: 4px; height: 16px; min-height: 16px; padding: 0 3px; border: 0; box-shadow: none; background: transparent;
		font: 12px/16px var(--ro-font); color: #000; outline: 0; }
	html.ro-skin .theme-ro #chat-to { left: 4px; width: 90px; }
	html.ro-skin .theme-ro #chat-input { left: 108px; width: 461px; }
	/* the "send to" button at the right end of the dialog bar, where the client has its own (sys_base_off) */
	html.ro-skin .theme-ro .chat-form .chat-target { position: absolute; left: 573px; top: 6px; width: 11px; height: 11px; min-height: 0; padding: 0; border: 0;
		font-size: 0; color: transparent; background: var(--ro-sys-base-off, linear-gradient(#f4f4f4, #c9c9c9)) 0 0 / 11px 11px no-repeat; box-shadow: inset 0 0 0 1px #8a8a8a; cursor: pointer; }
	html.ro-skin .theme-ro .chat-form .chat-target[data-to=party] { box-shadow: inset 0 0 0 2px #840084; }
	html.ro-skin .theme-ro .chat-form .chat-target[data-to=guild] { box-shadow: inset 0 0 0 2px #008484; }
	/* the hotkey bar at the top beside Basic Info like the real server's (more rows go down); no menu bar: windows open
	   from Basic Info and the Alt keys like the client. The status point button (lv_up) under Basic Info then */
	.theme-ro .hotbar { position: fixed; left: 290px; top: 6px; right: auto; bottom: auto; transform: none; }
	.theme-ro #hud-char .ro-lvup { left: 237px; top: calc(100% + 4px); }
	.theme-ro #hud-char.mini .ro-lvup { left: 250px; top: calc(100% + 4px); }
	.theme-ro #hud-char .ro-mail { left: 190px; top: calc(100% + 4px); }
	.theme-ro .menubar { display: none; }
	.theme-ro .hotbar .hk b, .theme-ro .hotbar .hk em.lv { display: none; }
	/* minimap: the zoom buttons appear small over its corner while the mouse is on it */
	.theme-ro #hud-map .zoom { position: absolute; right: 7px; bottom: 7px; margin: 0; opacity: 0; transition: opacity 0.15s; }
	.theme-ro #hud-map:hover .zoom, .theme-ro #hud-map .zoom:focus-within { opacity: 1; }
	.theme-ro #hud-map .zoom button { width: 16px; height: 16px; min-height: 16px; padding: 0; font-size: 11px; line-height: 14px; }
	/* status icons: the picture with the time left under it (name and time in a box under the mouse, ui.js efstTip);
	   states without a picture show nothing, like the client */
	.theme-ro .efst-list.ro-efst .efst:not(.has-icon) { display: none; }
}
/* (narrower: no room beside Basic Info and the minimap - under Basic Info, lv_up beside it again) */
@media (min-width: 701px) and (max-width: 900px) {
	.theme-ro .hotbar { left: 6px; top: 130px; }
	.theme-ro #hud-char .ro-lvup { left: 286px; top: 2px; }
	.theme-ro #hud-char.mini .ro-lvup { left: 286px; top: 2px; }
	.theme-ro:has(#hud-char.mini) .hotbar { top: 44px; }
	html:not(.bi-classic) .theme-ro:has(#hud-char.mini) .hotbar { top: 64px; } /* (the newer one: three lines) */
	html:not(.bi-classic) .theme-ro:has(#hud-char.mini.bimenu) .hotbar { top: 142px; } /* (☰: the menu icons under the small one) */
}

/* ---- phone: the original sizes are kept; Basic Info is scaled so the minimap still fits beside it ---- */
@media (max-width: 700px) {
	.theme-ro #hud-char { left: 3px; top: 3px; width: 280px; max-width: none; transform: scale(0.76); transform-origin: 0 0; }
	.theme-ro #hud-map { right: 3px; top: 3px; width: 112px; }
	.theme-ro #minimap { width: 102px; height: 96px; }
	.theme-ro .hud-mapname { font-size: 11px; padding: 0 4px 0 8px; }
	.theme-ro #chat.panel { left: 0; right: 0; width: auto; bottom: 128px; }
	.theme-ro .chat-log { height: 64px; }
	.theme-ro #chat.expanded .chat-log { height: 38vh; }
	.theme-ro .hotbar { left: 50%; right: auto; transform: translateX(-50%); bottom: 86px; padding: 0; }
	.theme-ro .menubar { height: 78px; padding: 5px 4px; gap: 4px; }
	.theme-ro .menubar button { height: 32px; min-height: 32px; font-size: 12px; padding: 0 2px; }
	.theme-ro .win { border-radius: 0; }
	.theme-ro .win-head { cursor: default; }
}
/* card layout (no WebGL2: the 2D renderer has no portraits) */
.theme-ro .char-card { background: #fff; border: 1px solid var(--ro-edge); border-radius: 0; color: #000; }
.theme-ro .chars-head h2 { color: #fff; font: bold 16px var(--ro-font); }

/* ---- skill tree: rows of 32px like the original list, the Lv UP button (skill_up_a / skill_up_b) ---- */
.theme-ro .win-skills .win-body { padding: 0; }
.theme-ro .skill-row { min-height: 32px; padding: 3px 6px; border-bottom: 1px solid #edf0f5; cursor: default; }
.theme-ro .skill-row.sel { background: var(--ro-sel); }
.theme-ro .skill-row[draggable="true"] { cursor: grab; }
.theme-ro .skill-row .lvsel button, .theme-ro .skill-row .btns button { height: 18px; min-height: 18px; }
.theme-ro .skill-row .lvup { width: 24px; height: 24px; min-height: 24px; padding: 0; border: 1px solid #6d86c9; border-radius: 3px;
	background: linear-gradient(#e8efff, #9fb4e6); }
.theme-ro .skill-row .lvup::after { content: 'UP'; font: bold 9px var(--ro-font); color: #1d3a8a; }
html.ro-skin .theme-ro .skill-row .lvup { border: 0; border-radius: 0; background: var(--ro-skill-up-a) center / 24px 24px no-repeat; }
html.ro-skin .theme-ro .skill-row .lvup:hover:not(:disabled) { background: var(--ro-skill-up-b) center / 24px 24px no-repeat; }
html.ro-skin .theme-ro .skill-row .lvup::after { content: none; }
.theme-ro .win-skills .win-foot .skp { font-weight: bold; }
/* the skill window in RO's colours: job tabs like the client's, white rows, the Lv UP picture for + */
.theme-ro .win-skills .sk-tabs { margin: 0; padding: 4px 5px 0; gap: 2px; background: #eef2f9; border-bottom: 1px solid #b9c3d8; }
.theme-ro .win-skills .sk-tabs button { height: 22px; min-height: 22px; padding: 0 6px; border: 1px solid #b9c3d8; border-bottom: 0; border-radius: 5px 5px 0 0;
	background: linear-gradient(#f4f7fd, #d9e2f3); color: #46557a; font: 12px/20px var(--ro-font); }
.theme-ro .win-skills .sk-tabs button.on { background: #fff; color: #1d3a8a; font-weight: bold; position: relative; top: 1px; }
.theme-ro .win-skills .sk-dot { background: #e7a51f; top: 4px; }
.theme-ro .skill-row.nj { min-height: 44px; padding: 5px 6px; gap: 7px; }
.theme-ro .skill-row.nj .sk-name { font-size: 12px; color: #000; }
.theme-ro .skill-row.nj .sk-lv { color: #a8730a; font-size: 11px; }
.theme-ro .skill-row.nj .sk-kind { font-size: 10px; line-height: 15px; border: 1px solid; }
.theme-ro .skill-row.nj .sk-kind.pas { background: #eef2f9; border-color: #b9c3d8; color: #46557a; }
.theme-ro .skill-row.nj .sk-kind.act { background: #e8f5ea; border-color: #9fcca8; color: #2f6b3d; }
.theme-ro .skill-row.nj .meta { color: #555; font-size: 11px; }
.theme-ro .skill-row.nj .lvsel button { width: 15px; min-width: 0; height: 15px; min-height: 15px; padding: 0; font-size: 8px; line-height: 13px; }
.theme-ro .skill-row.nj .lvsel span { min-width: 34px; font-size: 11px; color: #1d3a8a; }
.theme-ro .skill-row.nj .btns { gap: 2px; }
.theme-ro .skill-row.nj .btns button { height: 19px; min-height: 19px; min-width: 34px; font: 11px/17px var(--ro-font); padding: 0 4px; }
.theme-ro .skill-row.nj .btns .lvup { width: 34px; height: 22px; min-height: 22px; font: bold 13px/20px var(--ro-font); color: #1d3a8a; }
.theme-ro .skill-row.nj .lvup::after { content: none; }
html.ro-skin .theme-ro .skill-row.nj .btns .lvup { width: 34px; background-size: 22px 22px; }
html.ro-skin .theme-ro .skill-row.nj .lvup span { visibility: hidden; }
.theme-ro .skill-row.nj .lvup:disabled { opacity: 0.3; filter: grayscale(1); }
.theme-ro .win-skills .sk-list { padding: 0; }
.theme-ro .win-skills .sk-hint { margin: 6px 7px 6px; color: #777; font-size: 11px; }
.theme-ro .win-skills .win-foot { justify-content: space-between; }
.theme-ro .skill-row.nj .sk-need { color: #b0601a; }

/* ---- NPC: the dialog window, its menu box under it, the illustration (cutin) ---- */
.theme-ro .win-npc .win-body { min-height: 110px; padding: 8px 10px; overflow: visible; }
.theme-ro .win-npc .npc-text { font: 12px/1.6 var(--ro-font); min-height: 92px; max-height: min(42vh, 340px); overflow-y: auto; overflow-wrap: anywhere;
	scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9; }
.theme-ro .win-npc .npc-menu { position: absolute; left: 0; right: 0; top: calc(100% + 3px); background: #fff; border: 1px solid var(--ro-edge);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); padding: 3px 0; gap: 0; max-height: 50vh; overflow-y: auto; z-index: 2; }
.theme-ro .win-npc .npc-menu button { padding: 1px 12px; }
.theme-ro .win-npc .win-foot { justify-content: flex-end; }
/* the client's select box (desktop): the answers in a list, the chosen one highlighted (arrow keys / click), OK / Cancel
   pictures in its button bar, double click = answer */
.theme-ro .win-npc .npc-menu.ro-menu { padding: 0; overflow: visible; max-height: none; }
.theme-ro .ro-menu .nm-list { max-height: 40vh; overflow-y: auto; padding: 3px 0; scrollbar-width: thin; scrollbar-color: #9fb3dd #eef2f9; }
.theme-ro .ro-menu .nm-opt { padding: 1px 12px; font: 12px/18px var(--ro-font); cursor: pointer; white-space: pre-wrap; overflow-wrap: anywhere; user-select: none; }
.theme-ro .ro-menu .nm-opt:hover { background: var(--ro-hover); }
.theme-ro .ro-menu .nm-opt.on { background: var(--ro-sel); }
.theme-ro .ro-menu .nm-bar { display: flex; justify-content: flex-end; align-items: center; gap: 2px; height: 24px; padding: 0 5px; border-top: 1px solid #dfe3ea;
	background: repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px); }
html.ro-skin .theme-ro .ro-menu .nm-bar { border: 0; background: var(--ro-btnbar-left) left top / 21px 100% no-repeat, var(--ro-btnbar-right) right top / 21px 100% no-repeat,
	var(--ro-btnbar-mid) 21px 0 / calc(100% - 42px) 100% no-repeat; }
.theme-ro .win-npc .win-foot .grow { flex: 1; }
/* the PC (ui.js npc: .npc-pc, Noh 2026-10-25 "ให้เหมือนเลย"; 2026-11-14 measured on his screenshot of Nebula-RO "ทำให้
   เหมือนแท้เลย"): the official dialog box - no title bar, 278 x 178 at every text size, white with its corners cut in
   steps (3 / 1 / 1 px), no edge, no shadow; a 1 px #c5c5c5 frame 2 px in with its own cut corners (the 9-slice below:
   the client's pixels); the text on #f7f7f7 9 px in (260 x 140), the pen 3 px in, the first baseline 16 px down, a line
   every 21 px - the client's letters (client-debug/js/npcfont.js); its button 3 px from the right and the bottom; a long
   text scrolls in it */
.theme-ro .win-npc.npc-pc { aspect-ratio: 278 / 178; min-width: 0; min-height: 0; max-height: none; background: none; border: 0 solid transparent; border-radius: 0; box-shadow: none;
	border-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' shape-rendering='crispEdges'><rect x='3' y='0' width='7' height='1' fill='%23fff'/><rect x='1' y='1' width='11' height='1' fill='%23fff'/><rect x='1' y='2' width='4' height='1' fill='%23fff'/><rect x='5' y='2' width='3' height='1' fill='%23c5c5c5'/><rect x='8' y='2' width='4' height='1' fill='%23fff'/><rect x='0' y='3' width='3' height='1' fill='%23fff'/><rect x='3' y='3' width='3' height='1' fill='%23c5c5c5'/><rect x='6' y='3' width='1' height='1' fill='%23fff'/><rect x='7' y='3' width='3' height='1' fill='%23c5c5c5'/><rect x='10' y='3' width='3' height='1' fill='%23fff'/><rect x='0' y='4' width='3' height='1' fill='%23fff'/><rect x='3' y='4' width='1' height='1' fill='%23c5c5c5'/><rect x='4' y='4' width='5' height='1' fill='%23fff'/><rect x='9' y='4' width='1' height='1' fill='%23c5c5c5'/><rect x='10' y='4' width='3' height='1' fill='%23fff'/><rect x='0' y='5' width='2' height='1' fill='%23fff'/><rect x='2' y='5' width='2' height='1' fill='%23c5c5c5'/><rect x='4' y='5' width='5' height='1' fill='%23fff'/><rect x='9' y='5' width='2' height='1' fill='%23c5c5c5'/><rect x='11' y='5' width='2' height='1' fill='%23fff'/><rect x='0' y='6' width='2' height='1' fill='%23fff'/><rect x='2' y='6' width='1' height='1' fill='%23c5c5c5'/><rect x='3' y='6' width='7' height='1' fill='%23fff'/><rect x='10' y='6' width='1' height='1' fill='%23c5c5c5'/><rect x='11' y='6' width='2' height='1' fill='%23fff'/><rect x='0' y='7' width='2' height='1' fill='%23fff'/><rect x='2' y='7' width='2' height='1' fill='%23c5c5c5'/><rect x='4' y='7' width='6' height='1' fill='%23fff'/><rect x='10' y='7' width='1' height='1' fill='%23c5c5c5'/><rect x='11' y='7' width='2' height='1' fill='%23fff'/><rect x='0' y='8' width='3' height='1' fill='%23fff'/><rect x='3' y='8' width='1' height='1' fill='%23c5c5c5'/><rect x='4' y='8' width='5' height='1' fill='%23fff'/><rect x='9' y='8' width='1' height='1' fill='%23c5c5c5'/><rect x='10' y='8' width='3' height='1' fill='%23fff'/><rect x='0' y='9' width='3' height='1' fill='%23fff'/><rect x='3' y='9' width='3' height='1' fill='%23c5c5c5'/><rect x='6' y='9' width='2' height='1' fill='%23fff'/><rect x='8' y='9' width='2' height='1' fill='%23c5c5c5'/><rect x='10' y='9' width='3' height='1' fill='%23fff'/><rect x='1' y='10' width='4' height='1' fill='%23fff'/><rect x='5' y='10' width='3' height='1' fill='%23c5c5c5'/><rect x='8' y='10' width='4' height='1' fill='%23fff'/><rect x='1' y='11' width='11' height='1' fill='%23fff'/><rect x='3' y='12' width='7' height='1' fill='%23fff'/></svg>") 6 fill / 6px / 0 stretch; }
html.ro-skin .theme-ro .win-npc.npc-pc { box-shadow: none; }
.theme-ro .win-npc.npc-pc > .win-head { display: none; }
.theme-ro .win-npc.npc-pc > .win-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 9px 9px 0; border: 0; background: none; overflow: visible; }
.theme-ro .win-npc.npc-pc:not(:has(> .win-foot:not(.hidden))) > .win-body { padding-bottom: 29px; }
.theme-ro .win-npc.npc-pc .npc-text, html.ts-2:not(.mhud) .theme-ro .win-npc.npc-pc .npc-text, html.ts-3:not(.mhud) .theme-ro .win-npc.npc-pc .npc-text {
	position: relative; flex: 1 1 auto; min-height: 0; max-height: none; padding: 3px 4px 0 3px; background: #f7f7f7; color: #000; font-size: 12px; line-height: 21px; overflow-y: auto; overflow-x: hidden; cursor: default; }
.theme-ro .win-npc .npc-text.npc-bmp { position: relative; white-space: normal; }
.theme-ro .win-npc .npc-text.npc-bmp canvas { display: block; }
.theme-ro .win-npc .npc-text.npc-bmp .npc-h { white-space: pre-wrap; }
/* (a phone: the equipment window's pictures - its slots' names - sharp too when it is made bigger, like its letters) */
html.mhud.ro-skin .theme-ro .ro-equip { image-rendering: pixelated; }
.theme-ro .win-npc.npc-pc .npc-text canvas { display: block; image-rendering: pixelated; }
.theme-ro .win-npc.npc-pc .npc-text .npc-h { white-space: pre-wrap; }
.theme-ro .win-npc.npc-pc .npc-text .npc-src { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: pre-wrap; pointer-events: none; opacity: 0; }
.theme-ro .win-npc.npc-pc .npc-cutin { flex: none; margin-top: 4px; }
.theme-ro .win-npc.npc-pc > .win-foot, html.ro-skin .theme-ro .win-npc.npc-pc > .win-foot { flex: none; height: 29px; min-height: 29px; padding: 0 3px 3px 9px; border: 0;
	border-radius: 0; background: none; justify-content: flex-end; align-items: flex-end; }
.theme-ro .win-npc.npc-pc > .win-foot input { flex: 1; min-width: 0; }
.theme-ro .win-npc.npc-pc > .win-foot button { margin: 0; }
/* its answers: a wider box of their own under it, a gap between the two; the list on the same grey, OK / Cancel under it */
.theme-ro .win-npc.npc-pc .npc-menu.ro-menu { left: -3px; right: auto; top: calc(100% + 7px); width: 163%; margin-top: 0; padding: 6px 8px 0; border: 1px solid #8e96a8; border-radius: 6px;
	background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28); }
.theme-ro .win-npc.npc-pc .ro-menu .nm-list { padding: 10px 0 3px; background: #f7f7f7; max-height: min(46vh, 340px); }
.theme-ro .win-npc.npc-pc .ro-menu .nm-opt, html.ts-2:not(.mhud) .theme-ro .win-npc.npc-pc .ro-menu .nm-opt, html.ts-3:not(.mhud) .theme-ro .win-npc.npc-pc .ro-menu .nm-opt { padding: 0 6px; font-size: 12px; line-height: 16px; } /* (the client's letters at every size - ui.js npc after) */
.theme-ro .win-npc.npc-pc .ro-menu .nm-opt.crisp canvas { display: block; }
.theme-ro .win-npc.npc-pc .ro-menu .nm-bar, html.ro-skin .theme-ro .win-npc.npc-pc .ro-menu .nm-bar { height: 28px; margin-right: -4px; padding: 0; gap: 3px; border: 0; background: none; }
/* system menu (Esc): the esc_NN picture buttons stacked like the client's */
.theme-ro .esc-menu.ro-esc { gap: 2px; justify-items: center; }
/* AUTO running: "leave, AUTO plays on" (Midgard): a text button the size of the esc_NN pictures */
.theme-ro .esc-menu.ro-esc .esc-offline { width: 221px; height: 20px; min-height: 20px; padding: 0 6px; font: 11px/18px var(--ro-font); color: #1b5e20; }
html.ro-skin .theme-ro .win-escmenu .win-body { padding: 4px; border-top: 1px solid var(--ro-edge); }
html.ro-skin .theme-ro .win-escmenu .win-head { display: none; }
/* skill list (desktop): name over "Lv : n   Sp : n" */
.theme-ro .skill-row.ro-sk .sk-main { min-width: 0; }
.theme-ro .skill-row.ro-sk .sk-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .skill-row.ro-sk .meta { display: flex; align-items: center; gap: 16px; color: #000; font-size: 11px; line-height: 14px; }
.theme-ro .skill-row.ro-sk .lvsel { gap: 2px; }
.theme-ro .skill-row.ro-sk .lvsel span { min-width: 0; }
.theme-ro .skill-row.ro-sk .lvsel button { width: 13px; min-width: 0; height: 13px; min-height: 13px; padding: 0; font-size: 7px; line-height: 12px; }
html.ro-skin .theme-ro .skill-row.ro-sk .lvsel button { line-height: 13px; }
/* new mail: a letter beside Basic Info (the client shows one on the screen until the mail is read) */
.theme-ro #hud-char .ro-mail { position: absolute; left: 290px; top: 52px; width: 30px; height: 22px; min-height: 22px; padding: 0; border: 1px solid #8a6d2b; border-radius: 2px;
	background: linear-gradient(160deg, transparent 47%, #8a6d2b 48% 52%, transparent 53%), linear-gradient(20deg, transparent 47%, #8a6d2b 48% 52%, transparent 53%), linear-gradient(#fff8dc, #f1dfa8);
	background-size: 100% 60%, 100% 60%, 100% 100%; background-repeat: no-repeat; animation: ro-pulse 0.9s ease-in-out infinite alternate; }
html.ro-skin .theme-ro #hud-char .ro-mail:hover:not(:disabled) { filter: brightness(1.08); }
.ro-mail.hidden { display: none !important; }
#hud-char .ro-mail { display: none; }
.theme-ro #hud-char .ro-mail:not(.hidden) { display: block; }

.cutin { position: absolute; z-index: 9; pointer-events: none; }
.cutin.hidden { display: none; }
.cutin img { display: block; max-height: 62vh; max-width: 46vw; image-rendering: auto; }
.cutin.pos-0 { left: 2%; bottom: 72px; }
.cutin.pos-1 { left: 50%; bottom: 72px; transform: translateX(-50%); }
.cutin.pos-2 { right: 2%; bottom: 72px; }
.cutin.pos-3, .cutin.pos-4 { left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 700px) { .cutin img { max-height: 34vh; max-width: 60vw; } .cutin.pos-0, .cutin.pos-1, .cutin.pos-2 { bottom: 170px; } }

/* ---- item info window (right click on an item) ---- */
.popup.iteminfo { width: 300px; max-width: calc(100% - 16px); }
.popup.iteminfo h4 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.popup.iteminfo h4 .x { flex: none; width: 22px; min-height: 22px; padding: 0; }
.popup.iteminfo h4 .x::before { content: '✕'; }
.popup.iteminfo .ii-body { display: flex; gap: 8px; align-items: flex-start; }
.popup.iteminfo .ii-big { width: 75px; height: 100px; flex: none; image-rendering: pixelated; border: 1px solid #c8ccd6; background: #fff; }
.popup.iteminfo .ii-big[src^="data:"] { image-rendering: auto; } /* (a Monster Orb: drawn at 2x - orbicons.js) */
/* a job suit (ui.js suitAnim, Noh 2026-11-01): its class turning on a purple starry box like the c3 pictures, in their place */
.popup.iteminfo .ii-suit { position: relative; width: 75px; height: 100px; flex: none; overflow: hidden;
	background: radial-gradient(1px 1px at 12px 14px, #fff 99%, transparent), radial-gradient(1px 1px at 60px 9px, #fff 99%, transparent),
		radial-gradient(1.5px 1.5px at 66px 40px, #fff 99%, transparent), radial-gradient(1px 1px at 8px 58px, #fff 99%, transparent),
		radial-gradient(1px 1px at 40px 26px, #e8dcff 99%, transparent), radial-gradient(1.5px 1.5px at 20px 84px, #fff 99%, transparent),
		radial-gradient(1px 1px at 70px 76px, #fff 99%, transparent), linear-gradient(#1c1450, #3b1f7a 60%, #4c2a92); }
.popup.iteminfo .ii-suit::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #6a4ac0; }
.popup.iteminfo .ii-suit canvas { display: block; width: 75px; height: 100px; image-rendering: pixelated; }
.popup.iteminfo.ii-suit-on .ii-pic > :not(.ii-suit):not(.ii-view) { display: none; }
.popup.iteminfo .ii-suit[hidden] { display: none; }
.popup.iteminfo .ic.big { width: 75px; height: 100px; border-radius: 0; font-size: 22px; }
.popup.iteminfo .ic.big img { width: 48px; height: 48px; margin: auto; }
.popup.iteminfo .ii-desc { flex: 1; white-space: normal; font-size: 12px; max-height: 240px; overflow: auto; overflow-wrap: anywhere; }
.popup.iteminfo .ii-cards { display: flex; gap: 3px; margin-top: 6px; }
.popup.iteminfo .ii-cards .cs { width: 28px; height: 28px; border: 1px solid #b9c2d6; background: #f3f5f9; display: grid; place-items: center; }
.popup.iteminfo .ii-cards .cs.off { background: #d9dce3; }
.popup.iteminfo .ii-cards .cs .ic { margin: 0; width: 24px; height: 24px; }
.popup.iteminfo .ii-foot { margin-top: 6px; }
.theme-ro .popup.iteminfo h4 { margin-bottom: 6px; padding-right: 4px; }
.theme-ro .popup.iteminfo h4 .x { width: 11px; height: 11px; min-height: 11px; border: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e9f0ff, #6d8fd6 70%, #3a5aa8); }
.theme-ro .popup.iteminfo h4 .x::before { content: none; }
html.ro-skin .theme-ro .popup.iteminfo h4 .x { border-radius: 0; background: var(--ro-sys-close-off) center / 11px 11px no-repeat; }
html.ro-skin .theme-ro .popup.iteminfo h4 .x:hover, html.ro-skin .theme-ro .popup.cardart h4 .x:hover { background: var(--ro-sys-close-on, var(--ro-sys-close-off)) center / 11px 11px no-repeat; }
/* the card's big picture (official CardIllustration): 300 wide, a 17 px title bar (name in bold 11 px, the round close
   button 11x11 at 3 px from the right), the 300x400 picture right under it, no frame around it */
.theme-ro .popup.cardart { width: 300px; padding: 0; overflow: hidden; }
.theme-ro .popup.cardart h4 { margin: 0; padding: 0 3px 0 6px; font: bold 11px/17px var(--ro-font); text-shadow: 1px 1px #fff; }
.theme-ro .popup.cardart h4 .x { width: 11px; height: 11px; min-height: 11px; border: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e9f0ff, #6d8fd6 70%, #3a5aa8); }
.theme-ro .popup.cardart h4 .x::before { content: none; }
html.ro-skin .theme-ro .popup.cardart h4 .x { border-radius: 0; background: var(--ro-sys-close-off) center / 11px 11px no-repeat; }
.theme-ro .popup.cardart .ca-img { width: 300px; height: 400px; }
.theme-ro .popup.cardart p { margin: 0; padding: 12px 8px; }
/* PC: the item / skill window takes a size from its bottom-right corner (ui.js layerPopup: kept for the next one);
   sized: the description fills it and scrolls */
/* (the same display from the start: a box made again while the corner is dragged - block to flex - ends the drag) */
.popup.iteminfo.rsz { resize: both; overflow: hidden; display: flex; flex-direction: column; min-width: 240px; min-height: 110px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
.popup.iteminfo.rsz > * { flex: none; }
.popup.iteminfo.rsz > .ii-body { flex: 1 1 auto; min-height: 0; }
.popup.iteminfo.rsz.sized .ii-body { align-items: stretch; }
.popup.iteminfo.rsz.sized .ii-pic { align-self: flex-start; }
.popup.iteminfo.rsz.sized .ii-desc { max-height: none; }
.popup.iteminfo.skillinfo.rsz { display: block; overflow: auto; }
/* the PC's item window (ui.js itemInfoWin .ii-pc, Noh 2026-10-25 "ให้เหมือนเลย"): the official one - no title bar, as big
   as its text (280 wide with the client's 12 px, wider with the bigger text sizes), the picture in its frame at the left with
   the card's "view" over its corner, the name in the top row, the faint "Collection" mark, the small round ✕ at the corner;
   "แปะลงแชท" / "หาที่ดรอป" small in the bottom row; moved by any part of it */
.theme-ro .popup.iteminfo.ii-pc { width: 280px; padding: 4px 8px 3px 5px; border-radius: 3px; cursor: default; }
html.ts-2:not(.mhud) .theme-ro .popup.iteminfo.ii-pc { width: 325px; }
html.ts-3:not(.mhud) .theme-ro .popup.iteminfo.ii-pc { width: 370px; }
.theme-ro .popup.iteminfo.ii-pc .ii-x { position: absolute; right: 3px; top: 3px; z-index: 2; width: 11px; height: 11px; min-height: 11px; padding: 0; border: 0; border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #e9f0ff, #6d8fd6 70%, #3a5aa8); }
html.ro-skin .theme-ro .popup.iteminfo.ii-pc .ii-x { border-radius: 0; background: var(--ro-sys-close-off) center / 11px 11px no-repeat; }
html.ro-skin .theme-ro .popup.iteminfo.ii-pc .ii-x:hover { background: var(--ro-sys-close-on, var(--ro-sys-close-off)) center / 11px 11px no-repeat; }
.theme-ro .popup.iteminfo.ii-pc .ii-body { gap: 7px; }
.theme-ro .popup.iteminfo.ii-pc .ii-pic { margin-top: 8px; padding: 3px 5px 5px 2px; border-right: 1px solid #c9ced8; border-bottom: 1px solid #c9ced8; align-self: flex-start; }
.theme-ro .popup.iteminfo.ii-pc .ii-big { border: 0; }
.theme-ro .popup.iteminfo.ii-pc .ii-main { flex: 1; min-width: 0; position: relative; padding-top: 3px; }
.theme-ro .popup.iteminfo.ii-pc .ii-main > h4 { margin: 0 12px 5px 0; height: auto; min-height: 16px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
	font: 12px/16px var(--ro-font); color: #000; cursor: default; overflow-wrap: anywhere; }
.theme-ro .popup.iteminfo.ii-pc .ii-mark { position: absolute; right: 10px; top: 4px; font: italic bold 15px/16px Verdana, Tahoma, sans-serif; letter-spacing: 1px; color: rgba(60, 70, 90, 0.08);
	pointer-events: none; user-select: none; }
.theme-ro .popup.iteminfo.ii-pc .ii-desc { max-height: min(46vh, 360px); line-height: 1.5; }
.theme-ro .popup.iteminfo.ii-pc.sized:not(.hsz) .ii-desc { max-height: min(46vh, 360px); }
.theme-ro .popup.iteminfo.ii-pc .ii-acts { margin-top: 2px; gap: 8px; }
.theme-ro .popup.iteminfo.ii-pc .ii-acts .link { font-size: 10px; opacity: 0.85; }
.theme-ro .popup.iteminfo.ii-pc .ii-acts .link:hover { opacity: 1; text-decoration: underline; }

/* ---- drag and drop ---- */
body.dragging .win.drop-on, body.dragging .hk.drop-on { outline: 2px dashed #5876c4; outline-offset: -2px; }
.item-cell[draggable="true"], .item-row[draggable="true"], .eslot[draggable="true"] { -webkit-user-drag: element; }

/* ---- status icons: a column at the right edge of the screen, the time under each icon ---- */
.theme-ro .efst-list.ro-efst { position: absolute; right: 6px; top: 190px; z-index: 5; width: 30px; display: flex; flex-direction: column; gap: 3px; margin: 0; }
.theme-ro .efst-list.ro-efst .efst { width: 30px; padding: 0; border: 0; background: none; display: grid; justify-items: center; line-height: 1; }
.theme-ro .efst-list.ro-efst .efst img { width: 24px; height: 24px; image-rendering: pixelated; filter: drop-shadow(0 0 1px #000); }
/* (a computer: each picture at its own size like the official client - the newer data's are 32 x 32: Noh's screenshots of
   Nebula-RO, a column of them 32 px wide, one every 35 px; the older ones 24 x 24 - at most 32) */
@media (min-width: 701px) {
	html:not(.mhud) .theme-ro .efst-list.ro-efst, html:not(.mhud) .theme-ro .efst-list.ro-efst .efst { width: 32px; }
	html:not(.mhud) .theme-ro .efst-list.ro-efst .efst img { width: auto; height: auto; max-width: 32px; max-height: 32px; }
}
.theme-ro .efst-list.ro-efst .efst.has-icon em { display: none; }
.theme-ro .efst-list.ro-efst .efst:not(.has-icon) { width: auto; min-width: 30px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--ro-edge); border-radius: 3px; padding: 1px 3px; justify-self: end; }
.theme-ro .efst-list.ro-efst .efst:not(.has-icon) em { font: 10px var(--ro-font); font-style: normal; color: #000; }
.theme-ro .efst-list.ro-efst .efst b { font: 9px/10px var(--ro-font); color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; white-space: nowrap; margin-top: 1px; }
.theme-ro .efst-list.ro-efst .efst b.soon, .efst-list .efst b.soon { color: #ff6b5a !important; }
.theme-ro .efst-list.ro-efst .efst:not(.has-icon) b { color: #333; text-shadow: none; }
.theme-ro .efst-list.ro-efst .efst.ammo b { display: block; margin-top: -7px; font-size: 9px; } /* the arrows left under the arrow picture */
/* ammunition whose picture is not there (yet): an arrow badge, still shown (the RO theme hides other states without one) */
.efst.ammo:not(.has-icon), .theme-ro .efst-list.ro-efst .efst.ammo:not(.has-icon) { display: grid !important; place-items: center; width: 24px; min-width: 24px; height: 24px; padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 6px; background: radial-gradient(circle at 35% 30%, #f2c46a, #a0611c 75%); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); position: relative; justify-self: end; }
.efst.ammo:not(.has-icon)::before { content: '➶'; color: #fff; font-size: 15px; line-height: 1; text-shadow: 0 0 2px #4a2a05; }
.efst.ammo:not(.has-icon) em { display: none; }
.efst.ammo:not(.has-icon) b, .theme-ro .efst-list.ro-efst .efst.ammo:not(.has-icon) b { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 1px; color: #fff !important; font: 9px/10px var(--ro-font, sans-serif);
	text-shadow: 0 0 2px #000, 0 0 2px #000 !important; white-space: nowrap; display: block !important; margin-top: 1px; }
.efst img { display: none; }
.efst.has-icon img { display: inline-block; width: 18px; height: 18px; vertical-align: middle; image-rendering: pixelated; }
.efst em { font-style: normal; }
@media (max-width: 700px) { .theme-ro .efst-list.ro-efst { top: 150px; right: 3px; } }
.theme-ro .login-card { display: flex; flex-direction: column; }
.theme-ro .login-card h1 small { display: none; }
.theme-ro .login-card h1 { order: 0; } .theme-ro .login-card form { order: 1; } .theme-ro .login-card #login-error { order: 2; padding: 4px 12px; }
.theme-ro .login-card .hint { order: 3; } .theme-ro .login-card > p.muted:not(.small) { order: 4; font-size: 10px; color: #777; } .theme-ro .login-card > p.muted.small { order: 5; }
.theme-ro .emo-grid .emo, html.ro-skin .theme-ro .emo-grid .emo { height: 44px; min-height: 44px; border: 1px solid #dfe3ea; border-radius: 0; background: #fff; }
.theme-ro .emo-grid .emo:hover, html.ro-skin .theme-ro .emo-grid .emo:hover:not(:disabled) { background: var(--ro-sel); }
.theme-ro .win-storage .win-body, .theme-ro .win-cart .win-body { padding: 4px 4px 6px; }

/* ---- AUTO: the chip left of the F-bar (button skin of the client), the AI window in the window skin ---- */
.theme-ro .ai-chip { right: 288px; bottom: 11px; }
.theme-ro .ai-chip button { height: 20px; min-height: 20px; padding: 0 8px; font: bold 11px/18px var(--ro-font); }
html.ro-skin .theme-ro .ai-chip button { line-height: 20px; }
.theme-ro .ai-chip [data-c=win] { width: 22px; min-width: 22px; padding: 0; }
.theme-ro .ai-chip.on [data-c=toggle], html.ro-skin .theme-ro .ai-chip.on [data-c=toggle] { background: linear-gradient(#5fd17b, #1e8a3c); color: #fff; border: 1px solid #1a6e31; border-radius: 3px; text-shadow: 0 1px 0 #145a27; }
@media (min-width: 701px) and (max-width: 900px) { .theme-ro .ai-chip { bottom: 166px; right: 4px; } }
.theme-ro .win-ai .win-body { padding: 4px 7px 6px; }
.theme-ro .ai-tabs { gap: 1px; border-bottom: 1px solid #b9c2d6; margin-bottom: 4px; }
.theme-ro .ai-tabs button { height: 19px; min-height: 19px; padding: 0 7px; }
.theme-ro .ai-row { margin: 3px 0; font-size: 12px; }
.theme-ro .ai-h { color: var(--ro-navy); font-size: 12px; margin: 8px 0 3px; }
.theme-ro .ai-num { width: 46px; height: 18px !important; min-height: 18px; padding: 0 2px; font-size: 11px; }
.theme-ro .ai-row select, .theme-ro .ai-skill select, .theme-ro .ai-pairs select { height: 18px; font-size: 11px; max-width: 170px; }
.theme-ro .ai-grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); max-height: 200px; border: 1px solid #c8ccd6; background: #fff; padding: 2px; }
.theme-ro .ai-cell, html.ro-skin .theme-ro .ai-cell { height: 64px; min-height: 64px; border: 0; border-radius: 0; background: none; opacity: 0.45; }
.theme-ro .ai-cell:hover, html.ro-skin .theme-ro .ai-cell:hover:not(:disabled) { background: var(--ro-hover); opacity: 0.8; }
.theme-ro .ai-cell.on, html.ro-skin .theme-ro .ai-cell.on { opacity: 1; background: var(--ro-sel); outline: 0; }
/* a picked cell under the mouse stays picked-looking (the hover look made a just-clicked cell seem unpicked) */
.theme-ro .ai-cell.on:hover, html.ro-skin .theme-ro .ai-cell.on:hover:not(:disabled) { opacity: 1; background: var(--ro-sel); }
.theme-ro .ai-cell img, .theme-ro .ai-cell > i { width: 36px; height: 36px; }
.theme-ro .ai-cell .ai-msk img, .theme-ro .ai-cell .ai-msk .sic { width: 16px; height: 16px; }
.theme-ro .ai-cell .nm { font: 10px/11px var(--ro-font); color: #000; }
.theme-ro .ai-skill { border-bottom-color: #edf0f5; font-size: 12px; min-height: 28px; }
html .theme-ro .ai-mv { width: 16px; min-width: 16px; height: 11px; min-height: 11px; padding: 0; font-size: 7px; line-height: 9px; border-radius: 2px; }
.theme-ro .ai-no { background: #4e6fc6; }
.theme-ro .ai-cell.sk, html.ro-skin .theme-ro .ai-cell.sk { opacity: 1; outline: 2px solid #e0a010; outline-offset: -2px; }
.theme-ro .ai-msk-panel { border-color: #e0a010; background: #fffaf0; color: #333; font-family: var(--ro-font); }
.theme-ro .ai-ctl { gap: 3px; }
.theme-ro .ai-skill .ai-delay { margin-top: 1px; }
.theme-ro .ai-mobs-h .ai-all { height: 18px; min-height: 18px; font-size: 11px; padding: 0 6px; }
.theme-ro .ai-pairs { font-size: 12px; gap: 3px 6px; margin: 4px 0; }
.theme-ro .ai-h.ai-top { margin-top: 2px; }
.theme-ro .win-ai .item-row { font-size: 11px; }
.theme-ro .login-status { color: #333; font-size: 11px; padding: 0 12px 6px; }
html.ro-login-win .theme-ro .login-card .login-status { position: absolute; left: -40px; right: -40px; top: 126px; margin: 0; padding: 0; color: #fff; text-align: center; font: bold 12px var(--ro-font); text-shadow: 0 1px 2px #000, 0 0 3px #000; }
/* the invite (register.js .login-ref) with the client's login window: the window is its 280 x 120 picture with the fields
   placed in its boxes, so the invite goes under the window (past the status line), never over its fields - it went over
   the ID box and the save check once the sign-up's กลับ showed the login again (Noh 02:22); the window keeps the room
   under it (its centring on the screen counts the invite) */
html.ro-login-win .theme-ro #screen-login .login-card.has-ref { margin-bottom: 92px; }
html.ro-login-win .theme-ro #screen-login .login-card .login-ref { position: absolute; left: -8px; right: -8px; top: 148px; z-index: 2; margin: 0; }
.theme-ro .ai-grid.all .ai-cell { opacity: 1; }
/* Collection: the client's window look (white list, navy labels) */
.theme-ro .col-sum { font-size: 12px; }
.theme-ro .col-sum button, .theme-ro .col-tabs button { height: 20px; min-height: 20px; font: 11px/18px var(--ro-font); padding: 0 6px; }
.theme-ro .col-bonus { background: #f3f5fa; border: 1px solid #d6dbe6; border-radius: 0; }
.theme-ro .col-bonus li { font: 11px/16px var(--ro-font); color: #222; }
.theme-ro .col-list { max-height: 300px; border: 1px solid #c8ccd6; background: #fff; padding: 2px; gap: 1px; }
.theme-ro .col-row, html.ro-skin .theme-ro .col-row { height: auto; min-height: 42px; border: 0; border-radius: 0; background: none; padding: 3px 6px; color: #111; }
.theme-ro .col-row:hover, html.ro-skin .theme-ro .col-row:hover:not(:disabled) { background: var(--ro-hover); }
.theme-ro .col-row.sel, html.ro-skin .theme-ro .col-row.sel { background: var(--ro-sel); outline: 0; }
.theme-ro .col-row .ic { width: 24px; height: 24px; }
.theme-ro .col-mid b { font: bold 12px/16px var(--ro-font); color: var(--ro-navy); }
.theme-ro .col-mid em, .theme-ro .col-mid i { font: 11px/14px var(--ro-font); }
.theme-ro .col-mid em { color: #333; }
.theme-ro .col-st { font: 10px/14px var(--ro-font); }
.theme-ro .col-setrow { font: 11px/15px var(--ro-font); color: #333; border-radius: 0; }
.theme-ro .col-tools .col-search { height: 20px; min-height: 20px; font: 12px var(--ro-font); padding: 0 4px; }
.theme-ro .col-tools .col-all, .theme-ro .col-filt button, .theme-ro .col-pager button { height: 20px; min-height: 20px; font: 11px/18px var(--ro-font); padding: 0 6px; border-radius: 0; }
.theme-ro .col-filt button.on { background: var(--ro-sel, #cfe0ff); color: #000; }
.theme-ro .col-pager { font: 11px var(--ro-font); }
.theme-ro .col-bsum { background: #f3f5fa; border: 1px solid #d6dbe6; border-radius: 0; font: 11px/16px var(--ro-font); color: #222; }
.theme-ro .col-bp > b { font: 11px/16px var(--ro-font); color: var(--ro-navy); opacity: 1; }
.theme-ro .col-bp.now > span { font-weight: bold; color: #111; }
.theme-ro .col-bp.set em.done { color: #a06a00; }
.theme-ro .col-bp.lad > span { color: #1a7a40; }
.theme-ro .col-lad { border-radius: 0; border-color: #d9b45a; background: #fff8e6; font: 11px/16px var(--ro-font); color: #333; }
.theme-ro .col-lad.done { background: #ffefc2; }
.theme-ro .col-lad.col-orb { border-color: #a795dc; background: #f5f1ff; }
.theme-ro .col-lad.col-orb.done { background: #e9e1ff; }
.theme-ro .col-lad-n { color: var(--ro-navy); }
.theme-ro .col-lad-x b { color: #a06a00; }
.theme-ro .col-lad-r button { height: 18px; min-height: 18px; font: 11px/16px var(--ro-font); padding: 0 6px; border-radius: 0; }
.theme-ro .col-lad-r button.on { background: var(--ro-sel, #cfe0ff); color: #000; }
.theme-ro .col-bar { height: 5px; border-radius: 0; background: #dde1ea; }
.theme-ro .col-bar i { border-radius: 0; }
.theme-ro .col-step { border-radius: 0; font: 11px/15px var(--ro-font); color: #222; border-color: #d6dbe6; }
.theme-ro .col-step.got { background: #eaf7ee; border-color: #8cc7a0; }
.theme-ro .col-step.next { background: #fff4d6; border-color: #d9b45a; }
.theme-ro .col-step-n { font: bold 13px/14px var(--ro-font); color: var(--ro-navy); }
.theme-ro .col-step-t small { color: #a06a00; font: 10px/13px var(--ro-font); }
.theme-ro .col-step em { font: 10px/14px var(--ro-font); }
.theme-ro .col-board { font: 11px/16px var(--ro-font); color: #222; }
.theme-ro .col-bh { color: var(--ro-navy); }
.theme-ro .col-board li { border-radius: 0; background: #f3f5fa; }
.theme-ro .col-board li.top3 { background: #fff4d6; }
.theme-ro .col-board li.muted { background: none; }
.theme-ro .col-lview { padding: 4px; gap: 3px; }
.theme-ro .ai-grid.ai-pots .ai-cell { height: auto; min-height: 64px; }
.theme-ro .ai-cell .ai-ord { background: var(--ro-navy, #2b4a8b); font: bold 10px/16px var(--ro-font); }
.theme-ro .ai-cell .ai-pv { font: 10px/11px var(--ro-font); color: #333; }
.theme-ro .ai-cell .ai-pv em { color: #1e8a3c; }
.theme-ro .ai-cell.skip, html.ro-skin .theme-ro .ai-cell.skip { opacity: 0.3; }
.theme-ro .ai-pot-h b { color: var(--ro-navy); }
/* the pickup tab's drop chances (Noh 2026-10-27): the tile a line taller for its number */
.theme-ro .ai-grid.ai-loot .ai-cell, html.ro-skin .theme-ro .ai-grid.ai-loot .ai-cell { height: auto; min-height: 64px; }
/* (an item not picked: its picture and name dimmed, its chance kept readable) */
.theme-ro .ai-grid.ai-loot .ai-cell, html.ro-skin .theme-ro .ai-grid.ai-loot .ai-cell, .theme-ro .ai-grid.ai-loot .ai-cell:hover, html.ro-skin .theme-ro .ai-grid.ai-loot .ai-cell:hover:not(:disabled) { opacity: 1; }
.theme-ro .ai-grid.ai-loot .ai-cell:not(.on) > .ic, .theme-ro .ai-grid.ai-loot .ai-cell:not(.on) > .nm { opacity: 0.45; }
.theme-ro .ai-grid.ai-loot .ai-cell:not(.on):hover > .ic, .theme-ro .ai-grid.ai-loot .ai-cell:not(.on):hover > .nm { opacity: 0.8; }
.theme-ro .ai-cell .ai-dp { font: bold 10px/11px var(--ro-font); min-height: 11px; }
.theme-ro .ii-drops { border-radius: 0; font-family: var(--ro-font); }
/* item pickup notice: the white box of the client */
.theme-ro #pickup-notice { top: 58px; }
.theme-ro #pickup-notice .pn { background: linear-gradient(#ffffff, #eef1f7); border: 1px solid #a3abbd; border-radius: 4px; color: #1a1a1a; font: 12px/18px var(--ro-font); padding: 2px 12px 2px 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
/* F-bar grip (drag to move, F12 / double click = next row): the striped end of shortitem_bg */
.theme-ro .hotbar .hk-grip { position: absolute; right: 0; top: 0; bottom: 0; width: 15px; cursor: move; display: flex; align-items: flex-end; justify-content: center; }
.theme-ro .hotbar .hk-grip em { font: bold 9px/10px var(--ro-font, sans-serif); font-style: normal; color: #6a78a0; margin-bottom: 2px; pointer-events: none; }
.hotbar.moved { z-index: 9; }

/* systems.js windows in the client's look: white lists, navy labels, blue selection */
.theme-ro .pk-list { border: 1px solid #c8ccd6; background: #fff; padding: 2px; gap: 1px; max-height: 300px; }
.theme-ro .pk-row, html.ro-skin .theme-ro .pk-row { height: auto; min-height: 30px; border: 0; border-radius: 0; background: none; padding: 2px 6px; color: #111; font: 12px/16px var(--ro-font); }
.theme-ro .pk-row:hover, html.ro-skin .theme-ro .pk-row:hover:not(:disabled) { background: var(--ro-hover); }
.theme-ro .pk-row.sel, html.ro-skin .theme-ro .pk-row.sel { background: var(--ro-sel); outline: 0; }
.theme-ro .pk-row .ic, .theme-ro .pk-row .sic { width: 24px; height: 24px; }
.theme-ro .sys-kv { font: 11px/16px var(--ro-font); }
.theme-ro .sys-kv > span { color: var(--ro-navy); opacity: 1; }
.theme-ro .sys-head b { color: var(--ro-navy); }
.theme-ro .cr-log { background: #fff; border: 1px solid #c8ccd6; border-radius: 0; font: 12px/16px var(--ro-font); color: #111; }
.theme-ro .cr-mems { border: 1px solid #c8ccd6; background: #f7f8fb; font: 11px/16px var(--ro-font); padding: 2px 4px; }
.theme-ro .fr-row { border-bottom-color: #edf0f5; font: 12px/16px var(--ro-font); }
.theme-ro .qs-row { background: #fff; border: 1px solid #d6dbe6; border-radius: 0; }
.theme-ro .qs-h b { color: var(--ro-navy); font: bold 12px/16px var(--ro-font); }
.theme-ro .qs-obj { font: 11px/15px var(--ro-font); color: #333; }
.theme-ro .sys-skill button, .theme-ro .qs-h button, .theme-ro .fr-row button, .theme-ro .cr-mem button, .theme-ro .sys-head button.small { height: 18px; min-height: 18px; font: 11px/16px var(--ro-font); padding: 0 6px; }

/* the login screen's "ติดตั้งเกม" / "ล้างแคช" (pwa.js): low in the middle, over the background */
.login-tools { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
/* (#screen-login: over the RO look's own buttons, 20 px high - the Thai marks of a bigger letter were cut) */
#screen-login .app-install, #screen-login .app-install:hover:not(:disabled), #screen-login .app-install:active:not(:disabled) { height: auto; min-height: 0; padding: 8px 20px; border-radius: 22px;
	font: 600 15px/1.35 var(--ro-font, sans-serif); color: #fff; border: 2px solid rgba(255, 255, 255, 0.85); background: linear-gradient(#4f7fe0, #2b4fb0); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); text-shadow: none; cursor: pointer; }
#screen-login .app-install.hidden { display: none; }
#screen-login .app-clear, #screen-login .app-clear:hover:not(:disabled), #screen-login .app-clear:disabled { height: auto; min-height: 0; padding: 6px 14px; border-radius: 18px;
	font: 600 13px/1.35 var(--ro-font, sans-serif); color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(11, 18, 48, 0.62); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); text-shadow: none; cursor: pointer; }
#screen-login .app-clear.armed, #screen-login .app-clear.armed:hover:not(:disabled) { background: linear-gradient(#e0742f, #b8501a); border-color: #fff; }
#screen-login .app-clear:disabled { opacity: 0.75; cursor: default; }
/* the steps to install by hand (an iPhone, an Android browser that did not offer it, an app's own browser) */
.app-guide { position: absolute; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 52px); transform: translateX(-50%); z-index: 6; width: min(360px, calc(100vw - 24px));
	box-sizing: border-box; padding: 14px 16px 12px; border-radius: 14px; background: #fff; color: #222; font: 13px/1.5 var(--ro-font, sans-serif); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); text-align: left; }
.app-guide.hidden { display: none; }
.app-guide .ag-t { display: block; font-size: 15px; color: #16255a; margin: 0 22px 6px 0; }
.app-guide .ag-steps { margin: 0 0 6px; padding-left: 20px; }
.app-guide .ag-steps li { margin: 3px 0; }
.app-guide p { margin: 0 0 8px; }
.app-guide small { display: block; color: #666; }
#screen-login .app-guide .ag-x { position: absolute; top: 6px; right: 8px; height: auto; min-height: 0; border: 0; background: none; font: 16px/1 sans-serif; color: #666; cursor: pointer; padding: 4px; }
.app-guide .ag-ico { display: inline-flex; vertical-align: -3px; color: #1a73e8; }
.app-guide .ag-btns { display: flex; gap: 8px; margin: 0 0 8px; flex-wrap: wrap; }
#screen-login .app-guide .ag-btns button, #screen-login .app-guide .ag-btns a { height: auto; min-height: 0; line-height: 1.35; padding: 6px 12px; border-radius: 8px; border: 1px solid #b9c4e2; background: #eef2fc; color: #16255a; font: 600 13px var(--ro-font, sans-serif); text-decoration: none; cursor: pointer; }

/* the Cash Shop window in the RO look */
.theme-ro .win-cash .cash-item { background: linear-gradient(#ffffff, #eef3fd); border: 1px solid #c9d5ee; border-radius: 3px; }
.theme-ro .win-cash .cash-item:hover { background: var(--ro-hover, #e6eefc); }
.theme-ro .win-cash .cash-item .nm { font: 12px/15px var(--ro-font); color: #000; }
.theme-ro .win-cash .cash-row { font: 12px var(--ro-font); }

/* the equipment window's tabs and title list in the RO skin (like the official "อุปกรณ์สวมใส่": small grey tabs) */
.theme-ro .win-equip .eq-tabs { padding: 3px 4px 0; background: #fff; border-bottom: 1px solid #c3c3c3; }
.theme-ro .win-equip .eq-tabs button { padding: 1px 10px; border-color: #c3c3c3; border-radius: 4px 4px 0 0; background: #eceff4; color: #333; opacity: 1; font: 11px/16px var(--ro-font); }
.theme-ro .win-equip .eq-tabs button.on { background: #fff; color: #1f3d8a; font-weight: 700; position: relative; top: 1px; }
.theme-ro .win-equip .ti-list { width: 280px; box-sizing: border-box; background: #fff; padding: 4px; gap: 2px; max-height: 200px; }
.theme-ro .win-equip .ti-row { padding: 3px 6px; border-color: #dfe3ea; border-radius: 3px; color: #333; font: 11px/15px var(--ro-font); }
.theme-ro .win-equip .ti-row:hover { background: #eef3ff; }
.theme-ro .win-equip .ti-row.on { border-color: #8fa6e0; background: #e8eefc; }
.theme-ro .win-equip .ti-nm small { font-size: 10px; color: #666; opacity: 1; }
.theme-ro .win-equip .ti-help, .theme-ro .win-equip .ti-none, .theme-ro .win-equip .ti-wait { width: 280px; box-sizing: border-box; background: #fff; color: #666; font: 10px/14px var(--ro-font); }

/* the shortcut list (Alt+M) in the RO skin: white rows like the official "รายการคีย์ลัด" */
.theme-ro .win-macro .mc-list { background: #fff; padding: 4px 6px 2px; gap: 2px; }
.theme-ro .win-keys .ks-list { border-color: #b9c2d6; background: #fff; }
.theme-ro .win-keys .ks-table td { border-color: #c8ccd6; font: 12px/18px var(--ro-font); color: #000; }
.theme-ro .win-keys .ks-table td.ks-name { background: #f4f6fb; }
.theme-ro .win-keys .ks-key { border: 1px solid transparent; border-radius: 0; background: transparent; font: 12px/17px var(--ro-font); color: #1f3a85; text-align: center; }
.theme-ro .win-keys .ks-key:hover { border-color: #7f97cf; background: #e8eefc; }
.theme-ro .win-keys .ks-key.none { color: #9aa0ad; }
.theme-ro .win-keys .ks-key.changed { color: #c0161c; }
.theme-ro .win-macro .mc-key { color: #333; font: bold 11px/18px var(--ro-font); flex-basis: 38px; }
.theme-ro .win-macro .mc-in { height: 18px; box-sizing: border-box; border: 1px solid #b9c0cc; border-radius: 2px; padding: 0 4px; background: #fff; color: #222; font: 12px/16px var(--ro-font); }
.theme-ro .win-macro .mc-send { height: 18px; min-width: 22px; padding: 0 4px; font: 10px/16px var(--ro-font); }
.theme-ro .win-macro .mc-help { background: #fff; color: #666; font: 10px/14px var(--ro-font); }

/* ---- the PC's text size (Options "ขนาดตัวอักษร", ui.js textSize: html.ts-1 / ts-2 / ts-3; phones: their own) ----
   ts-1 = the original client's 12 px; ts-2 (the default) and ts-3 bigger: the NPC dialog (its window wider, ui.js
   textWide), the chat, item descriptions and the tooltips of the mouse */
html.ts-2:not(.mhud) .theme-ro .win-npc .npc-text { font-size: 14px; line-height: 1.6; }
html.ts-3:not(.mhud) .theme-ro .win-npc .npc-text { font-size: 16px; line-height: 1.6; }
html.ts-2:not(.mhud) .theme-ro .win-npc .npc-menu button { font-size: 13px; line-height: 20px; }
html.ts-3:not(.mhud) .theme-ro .win-npc .npc-menu button { font-size: 15px; line-height: 23px; }
/* (the PC's official boxes: its answers as big as the text - Noh 2026-10-25; its text the client's 12 px at every size:
   .npc-pc above, 2026-11-14) */
html.ts-2:not(.mhud) .theme-ro .chat-log { font-size: 13px; line-height: 18px; }
html.ts-3:not(.mhud) .theme-ro .chat-log { font-size: 14px; line-height: 20px; }
html.ts-2:not(.mhud) .theme-ro #chat-input { font-size: 13px; }
html.ts-3:not(.mhud) .theme-ro #chat-input { font-size: 14px; }
html.ts-2:not(.mhud) .popup.iteminfo .ii-desc { font-size: 13px; line-height: 1.5; }
html.ts-3:not(.mhud) .popup.iteminfo .ii-desc { font-size: 14px; line-height: 1.5; }
html.ts-2:not(.mhud) .theme-ro .win-macro .mc-in { font-size: 13px; }
html.ts-3:not(.mhud) .theme-ro .win-macro .mc-in { height: 20px; font-size: 14px; }

/* the shop windows (Cash Shop / แต้มสะสม Shop, shopx.js) in the RO skin: white panels, blue-grey lines like the client */
.theme-ro .win-cash .win-body, .theme-ro .win-pshop .win-body { background: #fff; padding: 6px 8px; }
.theme-ro .sx-right { border-color: #c3c8d4; background: #f6f8fc; }
.theme-ro .sx-tabs button { border: 1px solid #c3c8d4; background: #eceff4; color: #333; font: 11px/18px var(--ro-font); min-height: 22px; border-radius: 11px; }
.theme-ro .sx-tabs button.on { background: #5a74c8; border-color: #4a62b0; color: #fff; }
.theme-ro .sx-item { border-color: #d5dae4; background: #fff; color: #333; }
.theme-ro .sx-item:hover { border-color: #8fa6e0; background: #f1f5ff; }
.theme-ro .sx-item .nm, .theme-ro .sx-row, .theme-ro .sx-bal, .theme-ro .sx-sum, .theme-ro .sx-cart-h { font-family: var(--ro-font); color: #333; }
.theme-ro .sx-search input { border: 1px solid #b9c0cc; border-radius: 2px; height: 22px; box-sizing: border-box; font: 12px var(--ro-font); }
.theme-ro .sx-cart-h, .theme-ro .sx-sum { border-color: #c3c8d4; }

/* ---- character select on a PC (charsro.js select3Html, Noh 2026-10-19 "prettier than before"): the cards of the
   characters on the left, the selected one big on a lit stage (like the creation window), its details on the right ---- */
.theme-ro .cs-win.cs3 { width: 940px; max-width: calc(100vw - 32px); }
.theme-ro .cs3 .cs-main { display: grid; grid-template-columns: 258px minmax(0, 1fr) 262px; gap: 12px; padding: 12px; background: linear-gradient(#f4f7fd, #ffffff 45%); }
.theme-ro .cs3 .cs-ih { font: bold 12px/18px var(--ro-font); color: var(--ro-navy, #24346b); padding: 0 2px 6px; border-bottom: 1px solid #e1e6f1; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.theme-ro .cs3 .cs-ih::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #6f8fd6 60%, #3a57a6); }
.theme-ro .cs3 .cs-left { display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid #d3dbec; border-radius: 10px; background: #fff; }
.theme-ro .cs3 .cs-grid { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.theme-ro .cs3 .cs-slot.cs-card { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; height: 62px; padding: 0 10px 0 6px; border: 1px solid #d5dcec; border-radius: 9px;
	background: linear-gradient(90deg, #f8faff, #ffffff 60%); box-shadow: 0 1px 2px rgba(40, 60, 130, 0.06); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.theme-ro .cs3 .cs-slot.cs-card:hover { border-color: #9fb3e3; transform: translateX(2px); }
.theme-ro .cs3 .cs-slot.cs-card.sel { padding: 0 9px 0 5px; border: 2px solid #4e6fc6; background: linear-gradient(90deg, #e5edff, #f8faff 70%); box-shadow: 0 0 0 3px rgba(108, 140, 220, 0.22), 0 4px 10px rgba(40, 60, 130, 0.12); }
.theme-ro .cs3 .cs-slot.cs-card.sel::after { content: ''; position: absolute; right: -9px; top: 50%; width: 12px; height: 12px; background: #4e6fc6; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.theme-ro .cs3 .cs-face { position: relative; flex: 0 0 48px; height: 52px; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse at 50% 85%, rgba(120, 150, 230, 0.3), transparent 65%), #eef3ff; display: grid; place-items: center; }
.theme-ro .cs3 .cs-slot canvas { position: static; transform: none; width: 48px; height: 48px; image-rendering: pixelated; }
.theme-ro .cs3 .cs-slot.empty { border-style: dashed; background: #fbfcff; }
.theme-ro .cs3 .cs-slot.empty .cs-face { background: #f1f4fa; }
.theme-ro .cs3 .cs-slot.empty .cs-plus { font: 300 26px/26px var(--ro-font); color: #a9b6d6; }
.theme-ro .cs3 .cs-ctext { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 1px; }
.theme-ro .cs3 .cs-slot .cs-nm { font-size: 13px; text-align: left; }
.theme-ro .cs3 .cs-slot .cs-lv { font-size: 11px; color: #4e5b82; text-align: left; }
.theme-ro .cs3 .cs-slot .cs-at { font-size: 10px; color: #8a93ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .cs3 .cs-slot.deleting .cs-at { color: #b06d00; font-weight: bold; }
.theme-ro .cs3 .cs-no { flex: none; min-width: 20px; height: 20px; border-radius: 10px; background: #eef2fa; color: #6d7899; font: bold 10px/20px var(--ro-font); text-align: center; }
.theme-ro .cs3 .cs-slot.sel .cs-no { background: #4e6fc6; color: #fff; }
.theme-ro .cs3 .cs-pager { margin-top: 10px; }
/* the stage */
.theme-ro .cs3 .cs-stage { justify-content: center; min-height: 380px; padding: 12px; }
.theme-ro .cs3 .cs-where { align-self: center; padding: 3px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px #c9d3ea; font: bold 11px/16px var(--ro-font); color: #4e5b82; }
.theme-ro .cs3 .cs-prev { margin: 10px 0 4px; }
.theme-ro .cs3 .cs-spot { width: 200px; height: 236px; }
.theme-ro .cs3 .cs-spot .mk-ring { width: 150px; height: 40px; bottom: 12px; }
.theme-ro .cs3 canvas.cs-big { position: relative; display: block; width: 200px; height: 236px; image-rendering: pixelated; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(30, 40, 80, 0.25)); }
html .theme-ro .cs3 button.cs-rot { position: relative; width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #c3cde6; border-radius: 50%; background: linear-gradient(#ffffff, #e9eef9); box-shadow: 0 2px 5px rgba(40, 60, 130, 0.18); cursor: pointer; }
html .theme-ro .cs3 button.cs-rot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid #4e6fc6; border-width: 0 0 2.5px 2.5px; transform: translate(-30%, -50%) rotate(45deg); }
html .theme-ro .cs3 button.cs-rot.r::before { transform: translate(-70%, -50%) rotate(-135deg); }
html .theme-ro .cs3 button.cs-rot:hover { background: linear-gradient(#f4f8ff, #d9e3f7); }
.theme-ro .cs3 .cs-plate { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.theme-ro .cs3 .cs-plate .cs-name { padding: 4px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #b6c3e2, 0 2px 6px rgba(40, 60, 130, 0.12); font: bold 16px/24px var(--ro-font); color: #18244a; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-ro .cs3 .cs-chip { padding: 1px 12px; border-radius: 10px; background: linear-gradient(#7ea2f2, #4f76d8); color: #fff; font: bold 11px/18px var(--ro-font); }
.theme-ro .cs3 .cs-stage.f .cs-chip { background: linear-gradient(#ff98bb, #e8577f); }
.theme-ro .cs3 .cs-stage.e { border-style: dashed; }
.theme-ro .cs3 .cs-none { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #5a6585; text-align: center; }
.theme-ro .cs3 .cs-plus3 { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font: 300 54px/1 var(--ro-font); color: #8ea5dc; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 2px #c9d5f0, 0 0 22px rgba(120, 150, 230, 0.35); }
.theme-ro .cs3 .cs-none .cs-name { font-size: 15px; color: #24346b; }
.theme-ro .cs3 .cs-none p { margin: 0; font-size: 12px; }
/* the details */
.theme-ro .cs3 .cs-info { width: auto; padding: 10px; border-radius: 10px; gap: 10px; }
.theme-ro .cs3 .cs-gauges { display: flex; flex-direction: column; gap: 6px; }
.theme-ro .cs3 .cs-g { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 6px; align-items: center; }
.theme-ro .cs3 .cs-g .gk { grid-row: 1 / span 2; font: bold 11px var(--ro-font); color: var(--ro-navy, #24346b); }
.theme-ro .cs3 .cs-g .gb { height: 9px; border-radius: 5px; background: #e4e9f3; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12); }
.theme-ro .cs3 .cs-g .gb i { display: block; height: 100%; border-radius: 5px; }
.theme-ro .cs3 .cs-g.hp .gb i { background: linear-gradient(#ff8a8a, #d83a3a); }
.theme-ro .cs3 .cs-g.sp .gb i { background: linear-gradient(#8ab4ff, #3a62d8); }
.theme-ro .cs3 .cs-g .gv { font-size: 10px; color: #5a6585; text-align: right; }
.theme-ro .cs3 .cs-kv { padding-top: 8px; border-top: 1px solid #e1e6f1; }
.theme-ro .cs3 .cs-stats { grid-template-columns: 30px 1fr 30px 1fr; gap: 4px 8px; }
.theme-ro .cs3 .cs-stats .v { position: relative; overflow: hidden; text-align: left; padding: 0 6px; }
.theme-ro .cs3 .cs-stats .v b { position: relative; z-index: 1; font-weight: normal; }
.theme-ro .cs3 .cs-stats .v i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(108, 140, 220, 0.28), rgba(108, 140, 220, 0.12)); }
.theme-ro .cs3 .cs-tip { margin: 20px 0 0; text-align: center; color: #6d7899; font-size: 12px; line-height: 1.6; }

/* the Refine UI in the RO skin (the official window: white, its blue frame) */
.theme-ro .win-refineui .win-body { background: #fff; padding: 8px 10px; }
.theme-ro .rf-safe { height: auto; min-height: 34px; line-height: 15px; padding: 3px 8px; font-family: var(--ro-font); }
.theme-ro .rf-slot { border-color: #b9c3d8; background: linear-gradient(#f7f9fd, #e9eef8); }
.theme-ro .rf-slot.has { border-color: #4e6fc6; }
.theme-ro .win-refineui.drop-on .rf-slot, .theme-ro .rf-slot:hover { border-color: #e0a010; background: #fff7df; }
.theme-ro .rf-name, .theme-ro .rf-lv, .theme-ro .rf-info, .theme-ro .rf-bless, .theme-ro .rf-ph, .theme-ro .rf-pi { color: #333; font-family: var(--ro-font); }
html .theme-ro .rf-mat { width: 44px; height: 44px; min-height: 0; padding: 0; border: 2px solid #c9d2e4; border-radius: 6px; background: #f4f6fb; }
html .theme-ro .rf-mat.on { border-color: #e0a010; background: #fff3cf; box-shadow: 0 0 0 1px #e0a010; }
html .theme-ro .rf-mat.none { opacity: 0.45; }
.theme-ro .rf-info, .theme-ro .rf-pick { border-color: #d5dae4; background: #fafbfe; }
.theme-ro .rf-pi:hover { background: #e8eefc; }

/* the option crafter in the RO skin */
.theme-ro .win-optcraft .win-body { background: #fff; padding: 6px 8px; }
.theme-ro .oc-item, .theme-ro .oc-line, .theme-ro .oc-autobox, .theme-ro .oc-want { border-color: #d5dae4; color: #333; font-family: var(--ro-font); }
.theme-ro .oc-item.on { border-color: #4e6fc6; background: #e8eefc; }
.theme-ro .oc-want.on { border-color: #4e6fc6; background: #e8eefc; }
.theme-ro .oc-h, .theme-ro .oc-head, .theme-ro .oc-cost { color: #333; font-family: var(--ro-font); }
.theme-ro .oc-line.hit { border-color: #e0a800; }
.theme-ro .oc-hit { color: #333; font-family: var(--ro-font); }
html .theme-ro .sx-right button.sx-buy { width: 100%; height: 36px; min-height: 36px; border: 2px solid #c74f7c; border-radius: 18px; color: #fff; font: bold 15px/32px var(--ro-font);
	background: radial-gradient(ellipse at 35% 25%, #ffd6e6, transparent 55%), linear-gradient(#ff8fb4, #e8577f 60%, #d5446d); box-shadow: 0 3px 0 #a8355a, 0 5px 12px rgba(200, 60, 100, 0.3); cursor: pointer; }
html .theme-ro .sx-right button.sx-buy:hover:not(:disabled) { filter: brightness(1.07); }
html .theme-ro .sx-right button.sx-buy:disabled { filter: grayscale(0.7); opacity: 0.6; cursor: default; }
html .theme-ro .sx-right button.sx-topup { height: 26px; min-height: 26px; }

/* ---- the Quest Shop / Craft Item window (qshop.js): the RO theme's buttons are 18px high, these keep their size ---- */
.theme-ro .win-qshop .win-body { background: #f3f6fb; }
.theme-ro .qs-tab, .theme-ro .qs-info, .theme-ro .qs-try, .theme-ro .qs-max, .theme-ro .qs-go, .theme-ro .qs-qty button { height: auto; font-family: var(--ro-font); }
.theme-ro .qs-tab, html.ro-skin .theme-ro .win-qshop .qs-tab { min-height: 26px; background: #fff; border: 1px solid #c9d2e6; color: #33405e; }
.theme-ro .qs-tab.on, html.ro-skin .theme-ro .win-qshop .qs-tab.on { background: #4e6fc6; border-color: #3f5db0; color: #fff; }
html.ro-skin .theme-ro .win-qshop .qs-go { background: linear-gradient(#6c8be0, #4e6fc6); border: 1px solid #3f5db0; color: #fff; }
html.ro-skin .theme-ro .win-qshop .qs-go.craft { background: linear-gradient(#f6ad4a, #e6872a); border-color: #c86a12; }
html.ro-skin .theme-ro .win-qshop .qs-go.pts { background: linear-gradient(#5bc06d, #2e9d4f); border-color: #2f7d44; }
html.ro-skin .theme-ro .win-qshop .qs-try, html.ro-skin .theme-ro .win-qshop .qs-info, html.ro-skin .theme-ro .win-qshop .qs-max { background: #fff; border: 1px solid #9fb0d8; color: #3f5db0; }
html.ro-skin .theme-ro .win-qshop .qs-qty button { background: #f4f7fd; border: 0; }
.theme-ro .qs-try, .theme-ro .qs-max, .theme-ro .qs-qty button { height: 30px; min-height: 30px; }
.theme-ro .qs-go { height: 32px; min-height: 32px; }
.theme-ro .qs-row, .theme-ro .qs-need, .theme-ro .qs-ttl, .theme-ro .qs-lbl { font-family: var(--ro-font); }
/* ---- the Change Jobs window (jobui.js): its buttons keep their size in the RO theme ---- */
.theme-ro .win-jobui .win-body { background: #f3f6fb; }
.theme-ro .ju-go, html.ro-skin .theme-ro .win-jobui .ju-go { height: 34px; min-height: 34px; background: linear-gradient(#6c8be0, #4e6fc6); border: 1px solid #3f5db0; color: #fff; font-family: var(--ro-font); }
.theme-ro .ju-yes, html.ro-skin .theme-ro .win-jobui .ju-yes { height: 30px; min-height: 30px; background: linear-gradient(#5bc06d, #2e9d4f); border: 1px solid #2f7d44; color: #fff; }
.theme-ro .ju-no, html.ro-skin .theme-ro .win-jobui .ju-no { height: 30px; min-height: 30px; background: #fff; border: 1px solid #c9d2e6; color: #45526e; }
.theme-ro .ju-arr, html.ro-skin .theme-ro .win-jobui .ju-arr { height: 26px; min-height: 26px; background: rgba(255, 255, 255, 0.85); border: 1px solid #b9c3d8; }
.theme-ro .ju-card, .theme-ro .ju-det, .theme-ro .ju-me { font-family: var(--ro-font); }

/* ---- official systems (official.js) in the RO theme ---- */
.theme-ro .win-bank .bk-sum { border-color: #c8cfdf; border-radius: 0; background: repeating-linear-gradient(#ffffff 0 2px, #f4f5f8 2px 4px); }
.theme-ro .win-bank .bk-amt input { height: 18px; min-height: 18px; background: #f1f1f1; border: 1px solid #c4c4c4; box-shadow: inset 1px 1px 0 #dadada; font-size: 12px; }
.theme-ro .win-bank .bk-quick button { height: 18px; min-height: 18px; padding: 0 6px; font-size: 11px; line-height: 16px; }
.theme-ro .chat-log .ilink { color: #9fe0ff; }
/* (a computer: the chat's lines in the client's letters - ui.js chatCrisp: a line every 14 px like the official chat,
   at every text size; a line with a link: the browser's letters in the same 14 px) */
html:not(.mhud) .theme-ro .chat-log.chat-bmp, html.ts-2:not(.mhud) .theme-ro .chat-log.chat-bmp, html.ts-3:not(.mhud) .theme-ro .chat-log.chat-bmp { font-size: 12px; line-height: 14px; }
.theme-ro .chat-log.chat-bmp > div, .theme-ro .chat-log.chat-bmp .npc-l { position: relative; display: flow-root; } /* (a line's canvas 3 px over and under it - its margins stay inside: 14 px a line) */
.theme-ro .chat-log.chat-bmp > .npc-bmp { white-space: normal; }
.theme-ro .chat-log.chat-bmp canvas { display: block; pointer-events: none; }
html:not(.mhud) .theme-ro #chat.chat-clear .chat-log.chat-bmp { text-shadow: 1px 1px 0 #000; }
.theme-ro .popup.iteminfo .ii-acts .link { color: #2a4aa0; height: auto; min-height: 0; background: none !important; }

/* ---- set B (#284): the store search window, the equipment switch tab (RO theme) ---- */
.theme-ro .win-searchstore .ss-type button { height: 20px; min-height: 20px; padding: 0 6px; font-size: 12px; line-height: 18px; }
.theme-ro .win-searchstore .ss-type button.on { background: #4e74c5; color: #fff; }
.theme-ro .win-searchstore input { height: 18px; min-height: 18px; background: #f1f1f1; border: 1px solid #c4c4c4; box-shadow: inset 1px 1px 0 #dadada; font-size: 12px; }
.theme-ro .win-searchstore .ss-list { background: repeating-linear-gradient(#ffffff 0 2px, #f4f5f8 2px 4px); border: 1px solid #c8cfdf; }
.theme-ro .win-searchstore .ss-sug { background: #fff; border-color: #8aa0d0; }
.theme-ro .win-searchstore .ss-row.sel { background: #dbe5fb; }
.theme-ro .ro-equip.eqsw .eqsw-mid { position: absolute; left: 113px; top: 4px; width: 56px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; font-size: 10px; line-height: 1.25; color: #556; }
.theme-ro .ro-equip.eqsw .eqsw-mid b { font-size: 18px; color: #3d5fae; }
html.mhud .theme-ro .win-searchstore input, html.mhud .theme-ro .win-searchstore .ss-type button { height: 34px; min-height: 34px; font-size: 14px; }
.theme-ro .win-equip .eqsw-hint { width: 280px; box-sizing: border-box; margin: 0; padding: 3px 6px; background: #fff; color: #666; font: 10px/14px var(--ro-font); }
.theme-ro .win-equip .eq-tabs button { padding: 1px 8px; }

/* ---- set C (#284): achievements, attendance (RO theme) ---- */
.theme-ro .win-achieve .ach-head { border-color: #c8cfdf; border-radius: 0; background: repeating-linear-gradient(#ffffff 0 2px, #f4f5f8 2px 4px); }
.theme-ro .win-achieve .ach-tabs button { height: 20px; min-height: 20px; padding: 0 8px; font-size: 11px; line-height: 18px; }
.theme-ro .win-achieve .ach-tabs button.on { background: #4e74c5; color: #fff; }
.theme-ro .win-achieve .ach-list { background: #fff; border: 1px solid #c8cfdf; }
/* the attendance check: a night-blue panel of its own colours in every theme (style.css) - here only the window's body
   under it (no white edge) and the client's small icon box */
.theme-ro .win.win-attend .win-body { padding: 0; background: #080b22; }
.theme-ro .win-attend .at-wrap { font-size: 12px; }

/* ---- set D (#284): party booking (RO theme) ---- */
.theme-ro .win-booking .bk-tabs button { height: 20px; min-height: 20px; font-size: 11px; line-height: 18px; }
.theme-ro .win-booking .bk-tabs button.on { background: #4e74c5; color: #fff; }
.theme-ro .win-booking select, .theme-ro .win-booking input[type=number] { height: 20px; min-height: 20px; font-size: 12px; }
html.mhud .theme-ro .win-booking select, html.mhud .theme-ro .win-booking input[type=number] { height: 34px; min-height: 34px; font-size: 14px; }
.theme-ro .win-stylist .st-card { height: auto; min-height: 0; padding: 5px 2px 4px; line-height: 14px; background: linear-gradient(#ffffff, #f1f5fd); border-radius: 6px; }
.theme-ro .win-stylist .st-card.cur { background: linear-gradient(#fffaf0, #fff1d6); }
.theme-ro .win-stylist .st-card.on { background: linear-gradient(#f4fff8, #dff6e8); }
.theme-ro .win-stylist .st-tabs button { height: 22px; min-height: 22px; font-size: 11px; line-height: 20px; border-radius: 11px; }
.theme-ro .win-stylist .st-tabs button.on { background: linear-gradient(#6b90e0, #4e74c5); color: #fff; }
.theme-ro .win-stylist .st-rot button { height: 22px; min-height: 22px; line-height: 20px; border-radius: 50%; }

/* ---- the NPC shop's "ซื้อ / ขาย / ยกเลิก" box (ui.js WINDOWS.shopdeal) like the client's message box: win_msgbox 280x120, no
   title bar, the text in the middle, the picture buttons (42x20) at the bottom right like the login's error box (Noh 2026-10-20) ---- */
html:not(.mhud) .theme-ro .win-shopdeal { width: 280px !important; height: 120px; min-height: 0; border: 1px solid var(--ro-edge); background: #fff; }
html.ro-skin:not(.mhud) .theme-ro .win-shopdeal { border: 0; background: var(--ro-win-msgbox) 0 0 / 280px 120px no-repeat, #fff; }
html:not(.mhud) .theme-ro .win-shopdeal > .win-head { display: none; }
html:not(.mhud) .theme-ro .win-shopdeal > .win-body { position: absolute; inset: 0; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
html:not(.mhud) .theme-ro .win-shopdeal .deal-msg { position: absolute; left: 14px; right: 14px; top: 14px; height: 74px; margin: 0; display: flex; align-items: center; justify-content: center;
	text-align: center; font: 12px/1.5 var(--ro-font); color: #000; }
html:not(.mhud) .theme-ro .win-shopdeal .deal-btns { position: absolute; right: 5px; top: 96px; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 2px; }
html:not(.mhud) .theme-ro .win-shopdeal .deal-btns button { min-width: 42px; height: 20px; min-height: 20px; padding: 0 5px; font: 11px/18px var(--ro-font); }

/* ---- the client's scroll bar on the lists of its windows (.ro-scroll: the shops, the set-up, the chat): thin, an arrow
   at each end, the blue bar; the data's pictures scroll0up / scroll0down / scroll0mid / scroll0bar_* when they load.
   (scrollbar-color is inherited from the windows and would turn the ::-webkit-scrollbar pictures off: auto here) ---- */
.theme-ro .ro-scroll { scrollbar-width: auto; scrollbar-color: auto; }
.theme-ro .ro-scroll::-webkit-scrollbar { width: 12px; height: 12px; }
.theme-ro .ro-scroll::-webkit-scrollbar-track { background: #e8ecf3; border-left: 1px solid #d3d9e5; }
.theme-ro .ro-scroll::-webkit-scrollbar-thumb { min-height: 18px; border: 1px solid #6f8bc9; border-radius: 6px; background: linear-gradient(90deg, #d7e2f8, #a9bfeb 55%, #c9d7f4); }
.theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical { display: block; height: 12px; background-color: #dfe6f4; background-position: center; background-repeat: no-repeat; }
.theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 5L4 0L8 5z' fill='%233a5aa8'/%3E%3C/svg%3E"); }
.theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0L4 5L8 0z' fill='%233a5aa8'/%3E%3C/svg%3E"); }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar { width: 13px; }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar-track { border: 0; background: var(--ro-scroll-mid) 0 0 / 13px 13px repeat-y; }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar-thumb { border: 0; border-radius: 0; background: var(--ro-scroll-bar-up) 0 0 / 13px 4px no-repeat, var(--ro-scroll-bar-down) 0 100% / 13px 4px no-repeat,
	var(--ro-scroll-bar-mid) 0 4px / 13px calc(100% - 8px) no-repeat; }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical { height: 13px; background-color: transparent; }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical:decrement { background: var(--ro-scroll-up) 0 0 / 13px 13px no-repeat; }
html.ro-skin .theme-ro .ro-scroll::-webkit-scrollbar-button:single-button:vertical:increment { background: var(--ro-scroll-down) 0 0 / 13px 13px no-repeat; }

/* ---- the shops (shopwin.js): each of the pair one of the client's windows - its title bar, the white list with the light
   stripe at its left, 32 px slots, the price at the right, the button strip at the bottom; the PC (.shp-pc): two windows
   of 280 side by side at the left of the screen, no frame of their own around them ---- */
.theme-ro .shp-pane { border: 1px solid var(--ro-edge); border-top: 0; border-radius: 0; background: #fff; }
.theme-ro .shp-title { height: 17px; padding: 0 14px; border: 0; border-radius: 6px 6px 0 0; font: 12px/17px var(--ro-font); font-weight: normal; color: #000;
	background: linear-gradient(#e2eafa 0%, #b9cbf0 45%, #9fb6e6 55%, #c9d9f6 100%); box-shadow: inset 0 -1px 0 #000; margin: 0 -1px; }
html.ro-skin .theme-ro .shp-title { border-radius: 0; box-shadow: none; background: var(--ro-titlebar-left) left top / 12px 17px no-repeat, var(--ro-titlebar-right) right top / 12px 17px no-repeat,
	var(--ro-titlebar-mid) 12px 0 / calc(100% - 24px) 17px no-repeat; }
.theme-ro .shp-list { background: repeating-linear-gradient(#f7f7f7 0 2px, #efefef 2px 4px) 0 0 / 20px 100% no-repeat, #fff; }
.theme-ro .shp-row { grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 4px; padding: 0 6px 0 40px; }
.theme-ro .shp-row:not(.empty):hover { background: var(--ro-hover); }
.theme-ro .shp-row.on { background: var(--ro-sel); }
.theme-ro .shp-slot { border: 1px solid #93a9d8; border-radius: 4px; background: linear-gradient(#ffffff, #eef3fb); box-shadow: inset 0 0 0 1px #fff; }
.theme-ro .shp-slot b { color: #000; font: 10px/10px var(--ro-font); text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 1px #fff; bottom: -1px; }
.theme-ro .shp-nm { font: 12px/13px var(--ro-font); color: #000; }
.theme-ro .shp-pr { font: 12px var(--ro-font); color: #000; }
.theme-ro .shp-pr.green { color: #008a1c; }
.theme-ro .shp-pr.disc, .theme-ro .shp-pr.over { color: #007a18; font-weight: bold; }
.theme-ro .shp-was { color: #8a8f99; font: 10.5px var(--ro-font); }
.theme-ro .shp-off { font: bold 10px/13px var(--ro-font); background: #1f9a45; }
.theme-ro .shp-save { color: #007a18; font: 11px var(--ro-font); }
.theme-ro .shp-row.warn .shp-nm { color: #b0601a; }
.theme-ro .shp-foot { height: 24px; min-height: 24px; padding: 0 4px 0 10px; gap: 2px; border-top: 1px solid #dfe3ea; background: repeating-linear-gradient(#ffffff 0 2px, #f1f1f1 2px 4px); }
html.ro-skin .theme-ro .shp-foot { border-top: 0; background: var(--ro-btnbar-left) left top / 21px 100% no-repeat, var(--ro-btnbar-right) right top / 21px 100% no-repeat,
	var(--ro-btnbar-mid) 21px 0 / calc(100% - 42px) 100% no-repeat; }
.theme-ro .shp-foot:empty { height: 21px; min-height: 21px; }
.theme-ro .shp-total { font: 12px/24px var(--ro-font); color: #000; }
.theme-ro .shp-total.bad { color: #c62828; }
.theme-ro .shp-quick { height: 18px; min-height: 18px; padding: 0 6px; font: 11px/16px var(--ro-font); }
.theme-ro .win.shp-pc { width: auto !important; min-width: 0; background: none; border: 0; box-shadow: none; }
.theme-ro .win.shp-pc > .win-head { display: none; }
.theme-ro .win.shp-pc > .win-body { padding: 0; border: 0; background: none; overflow: visible; max-height: none; }
.theme-ro .shp-pc .shp { gap: 1px; }
.theme-ro .shp-pc .shp-pane { flex: none; width: 280px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
html.ro-skin .theme-ro .shp-pc .shp-pane { box-shadow: none; }
.theme-ro .shp-pc .shp-title { cursor: default; }
/* the seller's set-up "เปิดร้านค้าแผงลอย" (400 wide like the client's): the name line on its grey box with the ? button, a
   slot a line with "ราคา:" and the grey price box, the red note, the 10m check and นำเข้า / ตกลง / ยกเลิก */
.theme-ro .win-vendsetup .win-body { padding: 4px 6px 6px; }
.theme-ro .win-vendsetup .vs-name label { font: 12px var(--ro-font); }
.theme-ro .win-vendsetup .vs-name input, .theme-ro .win-vendsetup .vs-price { border: 0; box-shadow: none; background: #e9e9e9; }
.theme-ro .win-vendsetup .vs-price:disabled { background: #9a9a9a; color: #000; opacity: 1; }
.theme-ro .win-vendsetup .vs-help { width: 18px; min-width: 18px; height: 18px; min-height: 18px; border: 1px solid #6f8bc9; border-radius: 50%; color: #2b4ea8; font: bold 12px/16px var(--ro-font);
	background: radial-gradient(circle at 40% 35%, #ffffff, #dfe8fb) !important; }
.theme-ro .win-vendsetup .vs-slots { gap: 10px; }
.theme-ro .win-vendsetup .vs-row { grid-template-columns: 32px minmax(0, 1fr) auto 94px; }
.theme-ro .win-vendsetup .vs-nm, .theme-ro .win-vendsetup .vs-pl { font: 12px/13px var(--ro-font); color: #000; }
.theme-ro .win-vendsetup .vs-note { color: #e00000; font: 12px var(--ro-font); }
.theme-ro .win-vendsetup .vs-chk { font: 12px var(--ro-font); }
.theme-ro .win-vendsetup .win-foot button:not(.rob) { height: 20px; min-height: 20px; padding: 0 10px; }
/* the chat room dialog in the RO skin: the client's blue labels, its grey boxes */
.theme-ro .win-chatnew .win-body { padding: 6px 8px 5px; }
.theme-ro .win-chatnew .crn-l { font: 12px var(--ro-font); color: #2a4b9b; }
.theme-ro .win-chatnew .crn input:not([type=radio]), .theme-ro .win-chatnew .crn select { height: 19px; min-height: 19px; border: 1px solid #c8c8c8; box-shadow: none; background: #f1f1f1; font: 12px var(--ro-font); }
.theme-ro .win-chatnew .crn input:disabled { background: #f7f7f7; }
.theme-ro .win-chatnew .crn-pub { font: 11px var(--ro-font); }
.theme-ro .win-chatnew .crn-pub input { width: 12px; height: 12px; min-height: 0; margin: 0 1px 0 0; accent-color: #3f63c6; }
/* the chat tab's window in the RO skin: the white list with the light stripe at its left like the client's */
.theme-ro .win-chatcfg .cc-list { background: repeating-linear-gradient(#f7f7f7 0 2px, #efefef 2px 4px) 0 0 / 14px 100% no-repeat, #fff; }
.theme-ro .win-chatcfg .cc-row { font: 12px/20px var(--ro-font); color: #000; }
.theme-ro .win-chatcfg .cc-row:hover { background: var(--ro-hover); }
.theme-ro .win-chatcfg .cc-all { font: 12px var(--ro-font); }
/* the storage (storagewin.js) where it differed from the official windows (Noh 2026-10-25 "ให้เหมือนเลย"): its tabs as the
   client's tabs (a row of tabs joined to the grid, the open one white) instead of round pills, its cells the client's
   light-blue rounded slots - the empty ones too, so the grid shows like the client's; the search and order boxes plain */
.theme-ro .stw-tabs { gap: 1px; margin-bottom: -6px; padding-left: 4px; position: relative; z-index: 1; }
.theme-ro .stw-tabs button, .theme-ro .stw-tabs button.on { height: 19px; min-height: 19px; padding: 0 7px; border: 1px solid #aab4c9; border-bottom: 0; border-radius: 5px 5px 0 0;
	color: #4c556a; font-weight: normal; background: repeating-linear-gradient(#eef1f6 0 1px, #e1e6ef 1px 2px) !important; }
.theme-ro .stw-tabs button:hover { color: #000; border-color: #8ea3d3; }
.theme-ro .stw-tabs button.on { height: 20px; min-height: 20px; color: #000; font-weight: bold; border-color: #8ea3d3; background: #fff !important; }
.theme-ro .stw-tabs button.on small { color: #6a7590; }
.theme-ro .stw-grid { border-color: #aab4c9; border-radius: 0; background: #fff; gap: 2px; }
.theme-ro .stw-grid .item-cell.stw-cell, html.ro-skin .theme-ro .stw-grid .item-cell.stw-cell { border: 1px solid #a3b5df; border-radius: 4px; background: linear-gradient(#ffffff, #eef3fb); box-shadow: inset 0 0 0 1px #fff; }
.theme-ro .stw-grid .item-cell.stw-cell.empty, html.ro-skin .theme-ro .stw-grid .item-cell.stw-cell.empty { border-color: #b9c7e6; background: linear-gradient(#ffffff, #f3f6fc); }
.theme-ro .stw-q { border-radius: 0; border-color: #c4c4c4; background: #f1f1f1; }
.theme-ro .stw-sort { border-radius: 0; border-color: #c4c4c4; }
/* the guild window in the RO skin (guildwin.js; .g-pc: the PC): the client's grey tabs joined to the white body, no words
   in its title bar, the grey boxes of the allies / enemies, the tables' light grey lines */
.theme-ro .win-guild .win-body { padding: 0 0 4px; }
.theme-ro .win-guild .g-tabs { margin: 0 0 6px; padding: 2px 2px 0; background: #fff; border-bottom: 1px solid #b9c0cc; }
.theme-ro .win-guild .g-tabs button { height: 21px; min-height: 21px; padding: 0 5px; margin: 0 0 -1px; border: 1px solid #b9c0cc; border-radius: 0; font: 12px/19px var(--ro-font); color: #000;
	background: linear-gradient(#e6e6e6, #cfcfcf) !important; }
.theme-ro .win-guild .g-tabs button.on { background: #fff !important; border-bottom-color: #fff; }
.theme-ro .win-guild .g-body { padding: 0 7px; font: 12px/17px var(--ro-font); color: #000; }
.theme-ro .win-guild .g-relbox { background: #cfcfcf; }
.theme-ro .win-guild .g-emblem { width: 24px; height: 24px; background: #7c9ff0; }
.theme-ro .win-guild .g-emb-up { height: 18px; padding: 0 12px; border: 1px solid #a3abbd; border-radius: 4px; font: 12px/16px var(--ro-font); background: linear-gradient(#ffffff, #e8ebf1 60%, #d9dee8); }
.theme-ro .win-guild .g-grid th, .theme-ro .win-guild .g-grid td { border-color: #d4d6db; font: 12px/18px var(--ro-font); }
.theme-ro .win-guild .g-mems tr.on { background: #e4f7e0; }
.theme-ro .win-guild .g-pos tr.sel td { background: #7c9ff0; }
.theme-ro .win-guild .g-pos input[data-pn], .theme-ro .win-guild .g-pos .qty, .theme-ro .win-guild .g-notice input, .theme-ro .win-guild .g-notice textarea { border: 0; box-shadow: none; background: #f2f2f2; }
.theme-ro .win-guild .g-sk.sel { background: var(--ro-sel); }
.theme-ro .win-guild .g-skn { font: 12px var(--ro-font); }
html.ro-skin .theme-ro .win-guild .g-skup { border: 0; background: var(--ro-skill-up-a) center / 20px 20px no-repeat; }
html.ro-skin .theme-ro .win-guild .g-skup::before { content: none; }
.theme-ro .win-guild .rob.b-use { min-width: 42px; }

/* ---- status: "ที่มาของโบนัส" (bonus_src.js) - a line a bonus: its total, then where it comes from ---- */
.theme-ro .bsrc { margin-top: 6px; padding: 4px 6px 5px; border: 1px solid #dfe4ee; border-radius: 3px; background: #f7f9fd; font: 12px/16px var(--ro-font); color: #000; max-height: min(300px, 46vh); overflow-y: auto; }
.theme-ro .bsrc-g { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); column-gap: 8px; row-gap: 3px; align-items: baseline; }
.theme-ro .bsrc-k { color: var(--ro-navy); font-weight: bold; white-space: nowrap; }
.theme-ro .bsrc-t { color: #1c7c3a; text-align: right; white-space: nowrap; }
.theme-ro .bsrc-t.neg, .theme-ro .bsrc-s i.neg { color: #b0262b; }
.theme-ro .bsrc-s { display: flex; flex-wrap: wrap; gap: 1px 9px; color: #3b4458; font-size: 11px; min-width: 0; }
.theme-ro .bsrc-h { margin: 5px 0 3px; padding-top: 4px; border-top: 1px solid #e3e8f1; color: #6a7590; font-size: 11px; font-weight: bold; }
.theme-ro .bsrc-none { margin: 2px 0; }
.theme-ro .win-status .win-foot { gap: 6px; }

/* a screen as short as a phone turned with its keyboard up (Android: the page made shorter): the login / sign-up window
   from the top, not centred past the top of the screen where it could not be scrolled to (phone.test.js) */
@media (max-height: 300px) {
	.theme-ro #screen-login.active { align-items: flex-start; padding-top: 4px; }
	.theme-ro .login-card, .theme-ro .reg-card, html.ro-login-win .theme-ro .reg-card { margin-top: 0; }
}
/* the PIN pad on a touch screen (phone.test.js, 2026-10-28): keys a finger hits (the RO buttons are 20 px high) */
@media (pointer: coarse) {
	html .theme-ro .popup.pin .pinpad button { height: 40px; min-height: 40px; font-size: 16px; line-height: 38px; }
	/* (a phone turned: the box in the middle of the short screen, the keys a little lower - it went past the top) */
	@media (max-height: 520px) {
		.popup.center.pin { top: 50%; }
		html .theme-ro .popup.pin .pinpad button { height: 32px; min-height: 32px; line-height: 30px; }
	}
	/* the computer's layout used with a finger (a tablet, 768 x 1024; html.mhud is the phone's): the windows' and the
	   boxes' small ✕ and their buttons a target a finger hits (the pictures stay the client's), a window wider than the
	   screen made as wide as the screen (the Change Jobs / the world map went past its side), the strip of buttons
	   kept its height */
	html:not(.mhud) .win-head .x, html:not(.mhud) .popup.iteminfo .x { position: relative; overflow: visible; }
	html:not(.mhud) .win-head .x::after, html:not(.mhud) .popup.iteminfo .x::after { content: ''; position: absolute; inset: -14px -10px -12px -12px; }
	/* (the minimise button just before the ✕ - 0.8.244: the ✕'s target reached over it, a tap on _ closed the window;
	   now _ has its own target, a few pixels apart from the ✕, whose target stops short of the middle of _) */
	html:not(.mhud) .win-head .mini { position: relative; overflow: visible; margin-right: 2px; }
	html:not(.mhud) .win-head .mini::after { content: ''; position: absolute; inset: -14px 0 -12px -12px; }
	html:not(.mhud) .win-head .mini + .x::after { left: -8px; } /* (the gap between them and the edge of _: the ✕'s - the middle of _ stays its own) */
	/* (the row of the side buttons beside the minimap: its empty part no longer takes the taps meant for Basic Info's
	   expand / menu buttons under it on a 768 wide screen) */
	html:not(.mhud) #map-btns { pointer-events: none; }
	html:not(.mhud) #map-btns > * { pointer-events: auto; }
	html:not(.mhud) .popup.center .actions button { min-height: 32px; padding: 0 14px; }
	html:not(.mhud) .theme-ro .popup.menu button, html.ro-skin:not(.mhud) .theme-ro .popup.menu button { height: 32px; min-height: 32px; }
	html:not(.mhud) .wis-head .wis-x { min-width: 34px; min-height: 30px; }
	html:not(.mhud) .win { max-width: calc(100vw - 8px); }
	html:not(.mhud) .win > .win-head, html:not(.mhud) .win > .win-foot { flex-shrink: 0; }
	/* (the client's 42 x 20 picture buttons of the official boxes - the NPC's answers, the shops - a target 32 px high) */
	html:not(.mhud) .theme-ro button.rob { position: relative; overflow: visible; }
	html:not(.mhud) .theme-ro button.rob::after { content: ''; position: absolute; inset: -6px -2px; }
	/* (the login strip's / the sign-up's / the delete box's buttons: a finger's target, the look the same) */
	.theme-ro .login-bar button { position: relative; overflow: visible; }
	.theme-ro .login-bar button::after { content: ''; position: absolute; inset: -7px -2px; }
	html .theme-ro button.cd-x { position: relative; overflow: visible; }
	html .theme-ro button.cd-x::after { content: ''; position: absolute; inset: -8px -8px -6px -10px; }
	/* (the make screen's ✕: its target bigger than its picture) */
	html .theme-ro .ro-make2.mk3 button.mk-x { position: relative; overflow: visible; }
	html .theme-ro .ro-make2.mk3 button.mk-x::after { content: ''; position: absolute; inset: -8px -8px -4px -10px; }
}
/* the shop's panes keep their width whatever is in them (Noh 2026-10-29: a long name / a big total widened the "ซื้อ" pane,
   its ยกเลิก cut): the foot's total shrinks first, the buttons stay; the Zeny saved sits on the title bar */
.shp-pane, .shp-foot, .shp-row { min-width: 0; }
.shp-pane { overflow: hidden; }
.shp-foot .shp-total { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shp-foot button { flex: none; }
.shp-title .shp-save { margin-left: 6px; }
/* "ใส่ทั้งหมด ไม่ต้องถามจำนวน" in the foot of the list to pick from (Noh 2026-10-31) */
.shp-noask { display: inline-flex; align-items: center; gap: 3px; min-width: 0; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; font-size: 11px; user-select: none; }
.shp-noask input { flex: none; margin: 0; }
.theme-ro .shp-noask { font: 11px/16px var(--ro-font); color: #000; }
.shp-row .shp-pr, .shp-row > :last-child { min-width: 0; white-space: nowrap; }
/* the box of a status icon (ui.js efstTip / efstTipShow, Noh 2026-10-31): like the official client's state info - a dark
   see-through box, the state's name coloured, one white line of what it does, the time left */
.theme-ro .efst-tip:not(.item-tip) { max-width: 220px; padding: 4px 8px 5px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(16, 18, 30, 0.82); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); color: #fff; font: 11px/15px var(--ro-font); }
.theme-ro .efst-tip:not(.item-tip) .et-name { font-weight: bold; color: #ffe57a; }
.theme-ro .efst-tip:not(.item-tip) .et-from { color: #f2f2f2; font-size: 11px; }
.theme-ro .efst-tip:not(.item-tip) .et-time { color: #9fd3ff; }
.theme-ro .efst-tip:not(.item-tip) .et-time b { font-weight: normal; color: #fff; }
.theme-ro .efst-tip:not(.item-tip) .et-time b.soon { color: #ff6b5a; }
html.mhud .theme-ro .efst-tip:not(.item-tip) { z-index: 2000; font-size: 13px; line-height: 18px; max-width: 70vw; }
/* the owner's painted pictures (roicons.js PIC, Noh 2026-10-31): filling the tiles, never stretched */
.theme-ro .bi2-ic img.gi-pic { width: 27px; height: 27px; filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.45)); }
.theme-ro #hud-char .ro-btns .rb img.gi-pic { width: 19px; height: 19px; }
/* ตลาดกลาง (market.js): the white body of the RO windows */
.theme-ro .win-market .win-body { background: #fff; padding: 6px 8px; }
.theme-ro .win-market .mk-row, .theme-ro .win-market .mk-pick, .theme-ro .win-market .mk-form { background: linear-gradient(#ffffff, #eef3fd); border-color: #c9d5ee; font: 12px var(--ro-font); color: #000; }
.theme-ro .win-market .mk-tabs { border-color: #c9d5ee; }
/* (the equipment window: a dot on an item with random options; a phone's item window: "ถอดออก" - Noh 2026-11-05) */
.theme-ro .eslot .eopt { position: absolute; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: #3fb8ff; box-shadow: 0 0 3px #3fb8ff; pointer-events: none; }
.theme-ro .eslot.l .eopt { left: 19px; }
.theme-ro .eslot.r .eopt { right: 19px; }

/* ---- ชวนเพื่อน (refer.js, Noh 2026-11-05 "ระบบชวนเพื่อน"): the client's white window - deep gold ink, light cards ---- */
.theme-ro .win-refer { --rf-card: #fff; --rf-card-2: #f6f8fc; --rf-ink: #222a3a; --rf-muted: #5f6880; --rf-line: #c8cfdf; --rf-gold: #e0a713; --rf-gold-ink: #9a5a00;
	--rf-gold-bg: rgba(255, 214, 90, 0.26); --rf-ok: #2a9d55; --rf-hot: #c2410c; --rf-red: #e5484d; --rf-hero: linear-gradient(120deg, #fff0e6, #fff8db 50%, #eaf2ff);
	--rf-pop: rgba(40, 50, 70, 0.35); --rf-pop-card: #fffdf5; --rf-input: #fff; }
.theme-ro .win-refer .win-body { background: #fff; font: 12px var(--ro-font); }
.theme-ro .win-refer .rf-hero, .theme-ro .win-refer .rf-by { border-radius: 6px; border-color: #e6c77a; }
.theme-ro .win-refer .rf-ht b, .theme-ro .win-refer .rf-by b { color: #b0430a; text-shadow: 0 1px 0 #fff; }
.theme-ro .win-refer .rf-codebox { background: #fffbe8; border-color: #d99a12; }
.theme-ro .win-refer .rf-code { color: #8a4b00; }
.theme-ro .win-refer .rf-input { height: 26px; border: 1px solid #a8b3cc; border-radius: 3px; background: #fff; color: #1d2a44; box-shadow: inset 1px 1px 0 #e3e7ef; font-size: 12px; }
.theme-ro .win-refer .rf-linkrow button { height: 26px; min-height: 26px; line-height: 24px; }
.theme-ro .win-refer .rf-tabs button { height: 26px; min-height: 26px; font-size: 12px; line-height: 24px; }
.theme-ro .win-refer .rf-tblw, .theme-ro .win-refer .rf-fr, .theme-ro .win-refer .rf-mc, .theme-ro .win-refer .rf-rules { border-radius: 5px; }
.theme-ro .win-refer .rf-pt { background: #fff4d2; box-shadow: inset 0 0 0 1px #f0d48a; }
.theme-ro .win-refer .rf-pt.c { background: #fff7dc; }
.theme-ro .win-refer .rf-it .ic { background: #f4f6fb; border-radius: 4px; }
.theme-ro .win-refer .rf-ms th { background: #eef2fa; }
.theme-ro .win-refer .rf-fr.has { background: #fffcf0; }
.theme-ro .win-refer .rf-st.got { background: #eaf7ef; }
.theme-ro .win-refer .rf-mc.ready { background: linear-gradient(160deg, #fff4cc, #fff 75%); }
.theme-ro .win-refer .win-foot { padding: 5px 10px; }
.theme-ro .win-refer .win-foot .rf-all, html.ro-skin .theme-ro .win-refer .win-foot .rf-all { height: 26px; min-height: 26px; padding: 0 14px; border: 1px solid #c98a0e; border-radius: 13px;
	font: bold 12px/24px var(--ro-font); color: #4a3000; background: linear-gradient(#ffe48a, #f2b631); box-shadow: 0 1px 0 #b97c09; }
html.ro-skin .theme-ro .win-refer .rf-linkrow .rf-share, html.ro-skin .theme-ro .win-refer button.rf-st.ready, html.ro-skin .theme-ro .win-refer .rf-take { background: linear-gradient(#ffe48a, #f2b631) !important; color: #4a3000 !important; }
html.ro-skin .theme-ro .win-refer .rf-more .rf-fb { background: #1877f2 !important; color: #fff !important; }
html.ro-skin .theme-ro .win-refer .rf-more .rf-line { background: #06c755 !important; color: #fff !important; }
html.ro-skin .theme-ro .win-refer .rf-tabs button.on { background: linear-gradient(#ffdc7a, #e9a92c) !important; color: #3a2400 !important; }
html.mhud .theme-ro .win-refer .rf-tabs button { height: auto; min-height: 36px; line-height: 1.2; font-size: 13px; }
html.mhud .theme-ro .win-refer .rf-input { height: 34px; font-size: 14px; }
html.mhud .theme-ro .win-refer .rf-linkrow button { height: 36px; min-height: 36px; line-height: 34px; font-size: 13px; }

/* ---- แชร์โปรไฟล์ (profile.js, Noh 2026-11-05): the client's white window - deep gold ink, light cards ---- */
.theme-ro .win-profile { --pf-card: #f6f8fc; --pf-ink: #222a3a; --pf-muted: #5f6880; --pf-line: #c8cfdf; --pf-gold: #e0a713; --pf-gold-ink: #9a5a00;
	--pf-hero: linear-gradient(120deg, #fff0e6, #fff8db 50%, #eaf2ff); --pf-input: #fff; --pf-warn: #c2410c; }
.theme-ro .win-profile .win-body { background: #fff; font: 12px var(--ro-font); }
.theme-ro .win-profile .pfw-hero { border-radius: 6px; border-color: #e6c77a; }
.theme-ro .win-profile .pfw-ht b { color: #b0430a; text-shadow: 0 1px 0 #fff; }
.theme-ro .win-profile .pfw-tg { border-radius: 5px; }
.theme-ro .win-profile .pfw-input { height: 26px; border: 1px solid #a8b3cc; border-radius: 3px; background: #fff; color: #1d2a44; box-shadow: inset 1px 1px 0 #e3e7ef; font-size: 12px; }
.theme-ro .win-profile .pfw-linkrow button, .theme-ro .win-profile .pfw-share button { height: 26px; min-height: 26px; line-height: 24px; }
.theme-ro .win-profile .win-foot { padding: 5px 10px; }
html.ro-skin .theme-ro .win-profile .pfw-share .pfw-native { background: linear-gradient(#ffe48a, #f2b631) !important; color: #4a3000 !important; }
html.ro-skin .theme-ro .win-profile .pfw-share .pfw-fb { background: #1877f2 !important; color: #fff !important; }
html.ro-skin .theme-ro .win-profile .pfw-share .pfw-line { background: #06c755 !important; color: #fff !important; }
.theme-ro .win-status .st-pf-btn, html.ro-skin .theme-ro .win-status .st-pf-btn { color: #7a4300; font-weight: bold; }
html.mhud .theme-ro .win-profile .pfw-input { height: 36px; font-size: 14px; }
html.mhud .theme-ro .win-profile .pfw-linkrow button, html.mhud .theme-ro .win-profile .pfw-share button { height: 38px; min-height: 38px; line-height: 36px; font-size: 13px; }
/* the broadcast of a computer like the official client's (ui.js announce, npcfont.js boxText; Noh's screenshot of
   Nebula-RO): the box itself is the picture - no bar, no edge, no icon of ours; its top 51 px under the screen's top */
html:not(.mhud) .theme-ro .announce:has(.ann-off) { top: 51px; gap: 2px; }
.theme-ro .ann.ann-off { position: relative; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; max-width: none; animation: none; transition: none; transform: none; }
.theme-ro .ann.ann-off.out { transform: none; }
.theme-ro .ann.ann-off::before, .theme-ro .ann.ann-off::after { display: none; }

/* ---- the computer's chat window like the official client's (Noh's screenshots of Nebula-RO, 2026-11-15 "ถ้าว่าง ...
   เช็คอะไรที่มันยังไม่เหมือนของแท้ ทำให้เหมือนเลย"): its tabs 59 px wide - the open one framed in white over the log's
   darkness, the others darker in grey -, their names in the client's white letters; the white line over the log but
   under the open tab, the log's white left edge, its grey right edge 2 px past the scroll bar; the client's scroll bar
   (black, its grey bar, its two arrow buttons) always there; its six picture buttons (transparency, size, the tab's
   settings, +, -, the lock) and its message bar (the whisper box, the blue grip, the message box, the two blue buttons),
   the pictures cut from the screenshot - pixel for pixel (test/client/chatfont.test.js) ---- */
@media (min-width: 701px) {
	html:not(.mhud) .theme-ro #chat.panel { width: 600px; padding: 0; }
	html:not(.mhud) .theme-ro .chat-rotabs { position: relative; display: block; height: 17px; padding: 0; gap: 0;
		background: linear-gradient(90deg, transparent 3px, #fff 3px, #fff var(--rt-a, 4px), transparent var(--rt-a, 4px), transparent var(--rt-b, 61px), #fff var(--rt-b, 61px), #fff 593px, #555 593px, #555 594px, #8c8c8c 594px, #8c8c8c 595px, transparent 595px) 0 16px / 600px 1px no-repeat; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-tab, html:not(.mhud) .theme-ro .chat-rotabs button.rt-tab:hover:not(.on) { position: absolute; top: 1px; display: block; width: 59px; height: 15px; min-height: 0; max-width: none;
		margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; font: 12px/15px var(--ro-font); color: #fff; text-shadow: none; text-align: center; text-overflow: clip;
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAPCAYAAABazrcIAAAAOklEQVR42u3PsQEAIAgEsceZfwx21oZCGweAywYJlczcasp2aEL0+XWP3uGlQciSJUuWLFmyZMmS/TjZGw6m9LCdVwAAAABJRU5ErkJggg==") 0 0 / 59px 15px no-repeat, rgba(0, 0, 0, 0.62) !important;
		clip-path: polygon(2px 0, 57px 0, 57px 1px, 58px 1px, 58px 2px, 59px 2px, 59px 100%, 0 100%, 0 2px, 1px 2px, 1px 1px, 2px 1px); }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-tab.on { top: 0; height: 17px; line-height: 17px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAARCAYAAABjEtTjAAAAOUlEQVR42u3PwQEAIAwCMXD/nfHjw65QLhvEepJES9m2GqLjtz36h4+KkCVLlixZsmTJkiVLtjB7AQr3FA5dhfX0AAAAAElFTkSuQmCC") 0 0 / 59px 17px no-repeat, rgba(0, 0, 0, var(--chat-a, 0.42)) !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-tab.crisp { text-align: left; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-tab.crisp canvas { position: absolute; left: 0; top: 0; } /* (its letters' lowest row 13 px under the tab's top) */
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-ic { position: absolute; top: 3px; height: 11px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; background-color: transparent !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-ic:hover:not(:disabled) { opacity: 1; filter: brightness(1.12); }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-ic:disabled { opacity: 0.35; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-alpha { left: 516px; width: 16px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAJCAYAAAACTR1pAAAATklEQVR4XmNkYGBg+P///38QTSxgZGRkZAFp2nbsObF6wACkh4kkHUgARePSZfvAUoRoEGAkx6leVpIIG/cd/wA2iRANA5TbSCpgJDceAWElNto3aKGNAAAAAElFTkSuQmCC") 1px 1px / 14px 9px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-size { left: 532px; width: 11px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAWElEQVR4XmNkgIL/////h7FhgJGRkRHEBhMwBSmt1+EK5lRrgtlghSAFIJDccg0rDTYAXQFIMboGJpj5MKtg1iBbDVeELgnjgwExbiLKd2BFyMGADGDhBAB6I3zdv2Fh0AAAAABJRU5ErkJggg==") 1px 1px / 9px 9px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-cfg { left: 544px; width: 14px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAYAAAAGuM1UAAAAtElEQVR4XmNgYGBg+A8FIDYMYBMDARaQRErrdQYBAYhGRkZGRmxiMIOYQAyQYg4ODoaauffBmnCJgQBYJ0iRc855BktDAbBgS7IimEYXA9kOtgHE2DvFkOH4+Q9ghVrBc8E0uhjMdjDDKfvc/+o59/5rBs2B+fd/8ZRrKGJgw0GyJVOvg/2wbts+hmtrk8Gmo4uBXAEOJRBx/voPhufPj4EVw0Lp+PX3DO+fX4eLIQc5SfEAAK9Gmdl9W3l+AAAAAElFTkSuQmCC") 1px 1px / 12px 9px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-add { left: 559px; width: 10px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAASklEQVR4XmNkgIL/////h7FBgJGRkRFEMyELprReB2NkwIKuE91ERpACdF0wMKdaE9UKbABsAkwCZhJIJwywwFyLyxdgr4AALgUAm2slhe3A3K0AAAAASUVORK5CYII=") 1px 1px / 8px 8px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-del { left: 569px; width: 10px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAYAAACzzX7wAAAAJElEQVR4XmP8////fwY8gAUkl9J6HauSOdWaDEz4dIMAIyErAHnmCwEbN+WJAAAAAElFTkSuQmCC") 1px 3px / 8px 4px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-lock { left: 579px; width: 17px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAJCAYAAADtj3ZXAAAAaElEQVR4XmNkIAD+////H10JIyMjI0gMTOACMI0prdfhSuZUa4LZMAOwApBGEEhuuQZjYvDhirABZI0gG9ANZAQJIDsLHYCciexE5DBgwqYYHwAZBAMYmkkBGJrxeQEjyrDFI654RQcAg5Vzt6jEP5QAAAAASUVORK5CYII=") 1px 1px / 15px 9px no-repeat !important; }
	html:not(.mhud) .theme-ro .chat-rotabs button.rt-lock.on { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAJCAYAAADtj3ZXAAAAVElEQVR42mNkgIL/////Z0ADjIyMjAx4ACOyxpTW63CJOdWahA34DwXJLdf+IwNkPl7N6BrRDcCllwXGQHYysYAJXQDmV7I0U2QzKc5nxBuaBOIbAMIiVobezR/4AAAAAElFTkSuQmCC") !important; }
	/* the log: its white left edge 3 px in, its scroll bar against its right; the 2 px of darkness past it and the grey
	   right edge (#chat::before / ::after, the top-right corner cut a pixel) */
	html:not(.mhud) .theme-ro #chat .chat-log { width: 591px; margin-left: 3px; padding-left: 2px; padding-right: 0; border-left: 1px solid #fff; overflow-y: scroll; }
	html:not(.mhud) .theme-ro #chat:not(.chat-min)::before { content: ""; position: absolute; left: 594px; top: 17px; bottom: 24px; width: 2px; background: rgba(0, 0, 0, var(--chat-a, 0.42)); pointer-events: none; }
	html:not(.mhud) .theme-ro #chat:not(.chat-min)::after { content: ""; position: absolute; left: 595px; top: 17px; bottom: 24px; width: 2px; pointer-events: none;
		background: linear-gradient(#8c8c8c, #8c8c8c) 0 0 / 1px 1px no-repeat, linear-gradient(#8c8c8c, #8c8c8c) 1px 1px / 1px 100% no-repeat; }
	html:not(.mhud) .theme-ro #chat .chat-log::-webkit-scrollbar { width: 10px; }
	html:not(.mhud) .theme-ro #chat .chat-log::-webkit-scrollbar-track { background: #000; }
	html:not(.mhud) .theme-ro #chat .chat-log::-webkit-scrollbar-thumb { min-height: 10px; border: 0; border-radius: 0; background: #a4adad; }
	html:not(.mhud) .theme-ro #chat .chat-log::-webkit-scrollbar-button:single-button:vertical:decrement { height: 11px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAAcklEQVR42o2QsQ3DIBREX6xMQ8dszMQIjMAK0PE7REd7ndPEKZLY+KQvXfF0/3RwU48Qwi7pEooxgvd+B5a33X39A/beaa2tQYB/nbfvtAPKOZ+DkpDEnPM8sZSCmVFrxcwYY5BS+oDPwzjnrgd/77TUC54XOxr47K+jAAAAAElFTkSuQmCC") 0 0 / 10px 11px no-repeat; }
	html:not(.mhud) .theme-ro #chat .chat-log::-webkit-scrollbar-button:single-button:vertical:increment { height: 13px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAANCAYAAACQN/8FAAAAfElEQVR42s2PMQ7DIBAEx8gF76Ckg6/wFN7kb5kn+Dq2s5sQEUVJXGakK07a1c0ttdZTEt/Ytg1SSifwc9bR2vcd7z0A44KZkXMGwI1gCAFJmBmSaK09QwDr7CIJSRzHgZm9eLp5iTHSe8fMKKV8Ds5+b9z92nGT5dH4Zy7wqkgNgnssbAAAAABJRU5ErkJggg==") 0 0 / 10px 13px no-repeat; }
	/* the message bar: the official picture (600 x 24), the boxes in its boxes, the send-to button on its first blue circle */
	html:not(.mhud) .theme-ro #chat .chat-form { position: relative; display: block; width: 600px; height: 24px; padding: 0; border: 0; border-radius: 0; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAAYCAYAAAAmoYOZAAADG0lEQVR42u3dIXMbRxTA8b8yASt2x3SsB68sZvaxlLkfQawtS5gDDV3UljWshu5HEKuZXCZDwTNbs1t2y1wQ26lTZdrIqqxJ/j+kkfQOvKeZ92Z37zTi1nw+v0GSJElra9t2BDC6G67quqaqKjMjSZK0hhgjXdfRtu1o5HAlSZK02SHrOUBZluScmc1mZmaLDg8PAbhYDqQ+0+eHn6c+s1gmTo8bAOsjSdKavXZbyrJ8P2DdKYri/vXBwYFV2ZLUZ2KGFB9OWF3KXHUd0Ny/F0IghGB9JEnaYc/vmjZAXdfvGn5KZmZLQgj0t8NVlx4OWH3s6VN/X5+775dlaeIkSfqPffbJBixWrGBpd1knSZLY/RWsnLOZeCIf5v7s7QkA01fHH/2OJElar88+yQqWnt7fBytJkrR5r3+5YLm4pE89ZVHS7L3g16ODjcY9OIM1DINZZ/f2hp9q/1iSpM+tz37zwxmh+JqfTr6jKsbENPDj6RXfvj7jj9++/+h1PjXumanfLWdvT+63CSVJ0uZM38yI8ZqqDMwuEr+fR2YXiaoMxJiYvpltLM4zWOzW3vCqLULrI0nS4/vssruEMGHRRcpYQgAy9LmHULDsLsn55T+usU6cZ7AkSdIXIaWBqmnYb0rKEBiAMdDnwJ/LQFx2G4vzDBa7tTe86i5Cz2BJkvT4PtvUNaEYUxaBYgxfFYGUMgyBSTGmqOuVPXedOFew8C5CSZK+BAf7e8wuB4rxhKKAMgS4fbTkdRo43N/bWJxnsNj953NYH0mSHt9nj6YNsOR8cc3LvQnjCaQE54trDl+MOZo2K3vuOnGuYLF7dxGCK1mSJP0fjqYNx6cd54trwjiQh0xdBY6m9UbjPIPFbp3BWjVYeQZLkqTNPW/y51fNWtf6lDifgyVJkoT/Rcjntjec+kyXMn3seXhbaIJsfSRJ8r8I9a9ijKSUaJp3S42LZeKq6+hT/8GvwlxJkrSJXrtto/l8flPXNVVVWQ1JkqRHDnZd1/GsbdtR13XEGM2KJEnSI4ertm1Ho7s35/P5jamRJElaX9u2I4C/APKxnAoeraFjAAAAAElFTkSuQmCC") 0 0 / 600px 24px no-repeat; }
	html:not(.mhud) .theme-ro #chat .chat-form input { position: absolute; top: 4px; height: 16px; min-height: 16px; padding: 0 2px; border: 0; box-shadow: none; background: transparent; font: 12px/16px var(--ro-font); color: #000; outline: 0; }
	html:not(.mhud) .theme-ro #chat #chat-to { left: 6px; width: 89px; }
	html:not(.mhud) .theme-ro #chat #chat-input { left: 110px; width: 458px; }
	html:not(.mhud) .theme-ro #chat .chat-form .chat-target { position: absolute; left: 573px; top: 8px; width: 9px; height: 9px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
		font-size: 0; color: transparent; background: transparent; box-shadow: none; cursor: pointer; }
	html:not(.mhud) .theme-ro #chat .chat-form .chat-target[data-to=party] { box-shadow: 0 0 0 1px #840084; }
	html:not(.mhud) .theme-ro #chat .chat-form .chat-target[data-to=guild] { box-shadow: 0 0 0 1px #008484; }
}

/* ---- Basic Info like the official client's newer window (a setting: ตัวเลือก "หน้าต่างข้อมูลตัวละคร: แบบเกมจริง", html.bi-official;
   Noh's screenshots of Nebula-RO, 2026-11-15): 220 x 143 at the screen's top left, one canvas (biofficial.js) - its title bar
   with the two circles (the right one: small, Alt+V), the name and the job, the HP / SP gauges with their numbers and %,
   Base / Job level and their EXP bars, Weight / Zeny, the ▼ strip (the menu icons under it); the F-bar right beside it ---- */
.bi3 { display: none; }
@media (min-width: 701px) {
	html.bi-official:not(.bi-classic):not(.mhud) .theme-ro #hud-char:not(.mini), html.ro-skin.bi-official:not(.bi-classic):not(.mhud) .theme-ro #hud-char:not(.mini) {
		left: 0; top: 0; width: 220px; border: 0; border-radius: 0; background: none; box-shadow: none; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi2-full > :not(.bi3):not(.bi2-menu) { display: none !important; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi2-full > .bi2-menu { display: none; margin: 0; background: #fff; border: 1px solid #c5c5c5; border-top: 0; }
	html.bi-official:not(.mhud) .theme-ro #hud-char.bimenu .bi2-full > .bi2-menu { display: grid; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 { display: block; position: relative; width: 220px; height: 143px; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 canvas { display: block; width: 220px; height: 143px; image-rendering: pixelated; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 button { position: absolute; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none; cursor: pointer; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 .bi3-min { left: 206px; top: 3px; width: 11px; height: 11px; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 .bi3-more { left: 98px; top: 132px; width: 22px; height: 11px; }
	html.bi-official:not(.mhud) .theme-ro #hud-char .bi3 .bi3-w { position: absolute; left: 40px; top: 116px; width: 175px; height: 14px; }
	html.bi-official:not(.mhud) body.theme-ro:has(#hud-char:not(.mini)) .hotbar { left: 230px; }
}
