* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* ban port: mobile - trang khong cuon (game chiem ca khung, .ingame fixed): khong keo tai lai trang / nay mep */
html, body { height: 100%; overscroll-behavior: none; }
body { touch-action: manipulation; -webkit-text-size-adjust: 100%;
	margin: 0;
	overflow: hidden;
	background: #000;
	color: #e8e2d6;
	font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* thieu anh giao dien (public/gameui) */
.ui-missing {
	max-width: 640px;
	margin: 48px auto;
	padding: 0 16px;
	white-space: pre-line;
}
.ui-missing code { color: #f2c14e; }

/* man tai tai nguyen co ban truoc man dang nhap (index.html #boot, app.js Boe/Uoe):
   ban thiet ke dock duoi + vong tron % (khac han ban cu): brand goc tren trai,
   dock duoi day chua vong % + ten file/dung luong + thanh ngang. GIU id moi
   (#boot, #boot-ring, #boot-pct, #boot-fill, #boot-label, #boot-size) + class .boot-done - JS cap nhat theo id. */
/* LOADING MOI (2026-11-26): phong cach game — nen + logo goc (img/login_bg.jpg?v=1795706374, img/login_logo.png),
   khung vang kieu cua so game; giu nguyen id app.js dung: boot, boot-fill, boot-pct, boot-label, boot-size.
   boot-ring da bo (app.js khong dung den no). */
.boot { position: fixed; inset: 0; z-index: 50; transition: opacity .4s;
	background: #0b0e1a url(img/login_bg.jpg?v=1795706374) center/cover no-repeat; }
.boot::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(6,8,18,.12) 0%, rgba(6,8,18,0) 30%, rgba(6,8,18,0) 55%, rgba(6,8,18,.62) 78%, rgba(4,6,12,.88) 100%); }
.boot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 95% 85% at 50% 45%, transparent 58%, rgba(4,6,12,.42) 100%); }
.boot.boot-done { opacity: 0; pointer-events: none; }
.boot-frame { position: absolute; inset: 10px; z-index: 2; pointer-events: none;
	border: 1px solid rgba(232,200,140,.6); outline: 1px solid rgba(232,200,140,.28); outline-offset: 3px; }
.boot-center { position: absolute; z-index: 2; left: 0; right: 0; top: 7%; text-align: center;
	background: radial-gradient(ellipse 46% 62% at 50% 46%, rgba(5,7,14,.52), rgba(5,7,14,0) 72%); }
.boot-logo { width: min(360px, 74vw); height: auto; display: block; margin: 0 auto;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(0,0,0,.5)); }
.boot-sub { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px;
	font: 600 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	letter-spacing: 5px; text-transform: uppercase; color: #f6dc9a;
	text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 14px rgba(0,0,0,.6); }
.boot-sub::before, .boot-sub::after { content: ""; width: 54px; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(246,220,154,.9)); }
.boot-sub::after { background: linear-gradient(90deg, rgba(246,220,154,.9), transparent); }
.boot-panel { position: absolute; z-index: 2; left: 50%; bottom: 8%; transform: translateX(-50%);
	width: min(540px, calc(100% - 48px)); }
.boot-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.boot-label { font: 600 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #f1e3c4;
	text-shadow: 0 1px 3px rgba(0,0,0,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boot-pct { font: 700 26px/1 "Times New Roman", "Noto Serif", serif; color: #f6dc9a;
	text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 14px rgba(246,220,154,.35);
	font-variant-numeric: tabular-nums; }
.boot-track { margin-top: 10px; height: 14px; border: 1px solid rgba(232,200,140,.9); border-radius: 8px;
	background: rgba(10,8,4,.78);
	box-shadow: inset 0 2px 5px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.07); overflow: hidden; }
.boot-fill { width: 0; height: 100%; border-radius: 7px; position: relative; overflow: hidden;
	background: linear-gradient(90deg, #8a5a1d 0%, #d4a94e 45%, #f6dc9a 80%, #ffe9b0 100%);
	box-shadow: 0 0 12px rgba(246,220,154,.55); transition: width .25s; }
.boot-fill::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
	background-size: 220% 100%; animation: boot-shine 2.2s linear infinite; }
@keyframes boot-shine { from { background-position: 180% 0; } to { background-position: -80% 0; } }
.boot-size { margin-top: 9px; text-align: center; font: 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #d8c9a3; text-shadow: 0 1px 3px rgba(0,0,0,.9); font-variant-numeric: tabular-nums;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ten file dang tai (res/gameui) — hien tung file de thay dang tai */
.boot-file { margin-top: 4px; text-align: center; font: 11px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	color: #a8b89a; text-shadow: 0 1px 3px rgba(0,0,0,.9);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* trang thai cho truoc khi Preload co % that (dang doi SW ~2s): vach chay anh sang de biet khong bi treo */
.boot-track.boot-busy { position: relative; }
.boot-track.boot-busy::after { content: ""; position: absolute; top: 0; bottom: 0; left: -34%; width: 34%;
	border-radius: 7px;
	background: linear-gradient(90deg, transparent, rgba(246,220,154,.85), transparent);
	animation: boot-busy 1.1s ease-in-out infinite; }
@keyframes boot-busy { 0% { left: -34%; } 100% { left: 100%; } }
@media (max-width: 640px) {
	.boot-frame { inset: 8px; }
	.boot-center { top: 9%; }
	.boot-logo { width: min(280px, 72vw); }
	.boot-sub { font-size: 11px; letter-spacing: 3px; }
	.boot-sub::before, .boot-sub::after { width: 32px; }
	.boot-panel { bottom: 10%; }
	.boot-pct { font-size: 22px; }
}

/* nut hien thi (js/ig/viewctl.js): goc tren phai, hien ro, chi ngoai game (mobile chi co o chon giao dien) */
.ingame .vc { position: absolute; top: 0; right: 0; z-index: 3; display: flex; gap: 4px; padding: 3px; }
.ingame .vc-btn { height: 22px; padding: 0 8px; border: 1px solid rgba(232, 200, 140, .5); border-radius: 4px; background: rgba(30, 22, 14, .85);
	color: #f1e3c4; font: 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; }
.ingame .vc-btn:hover { background: rgba(120, 85, 40, .95); }
.ingame .vc-sel { padding: 0 4px; }
.ingame .vc-sel option { background: #1e160e; color: #f1e3c4; }
/* giao dien mobile: chi o chon giao dien (cung goc phai tren - goc trai tren man dang nhap la bang 18+) */
.ingame .vc.vc-ui { pointer-events: auto; }
.ingame .vc[hidden] { display: none; }

/* giao dien trong game giong client (js/ig): man 800 x 600 ve canvas, phong to boi so nguyen */
.ingame { position: fixed; inset: 0; background: #000; overflow: hidden; z-index: 20; touch-action: none; }
.ingame .ig-canvas { position: absolute; display: block; outline: none; }
/* ban port (hieu nang): khong gian game ve bang WebGL (?gl=1) - nam duoi canvas giao dien, khong nhan chuot / cham */
.ingame .ig-gl { position: absolute; display: block; pointer-events: none; }
.ingame .ig-ime { position: absolute; left: -100px; top: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; }
/* ban port: mobile - cam ung (js/ig/touch.js, touchui.js, layout.js): khong cuon / phong to / chon chu, an con tro .cur khi pointer: coarse */
.ingame { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.ingame .ig-canvas { touch-action: none; }
.ingame.ig-coarse .ig-canvas { cursor: none !important; }
.ingame .tu { position: absolute; inset: 0; pointer-events: none; z-index: 2; font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ingame .tu-panel { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
	padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.ingame .tu-panel > * { pointer-events: auto; }
/* ban port: mobile - iPhone (khong co Fullscreen API): goi y Them vao man hinh chinh de an thanh dia chi (touchui.js makeHomeHint) */
.ingame .tu-home { position: absolute; left: 50%; bottom: max(8px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 4;
	display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 32px); padding: 8px 8px 8px 12px; pointer-events: auto;
	border: 1px solid rgba(226, 176, 74, .8); border-radius: 8px; background: rgba(30, 20, 10, .9); color: #f6dc9a; font-size: 13px; line-height: 1.35; }
.ingame .tu-home-x { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: rgba(226, 176, 74, .2); color: #f6dc9a;
	font: inherit; font-size: 16px; touch-action: manipulation; }
/* ban port: khung nhap Bao loi (ig/bugreport.js - nut Bao loi / Zalo la nut game canh ban do nho); khung sat tren de ban phim ao
   khong che o nhap */
.ingame .tu-bug { position: absolute; inset: 0; display: none; align-items: flex-start; justify-content: center; padding: 12px 16px;
	background: rgba(0, 0, 0, .55); pointer-events: auto; z-index: 6; }
.ingame .tu-bug.tu-bug-on { display: flex; }
.ingame .tu-bug-panel { display: flex; flex-direction: column; gap: 8px; width: min(480px, 100%); max-height: 100%; overflow: auto; padding: 12px 14px;
	border: 1px solid rgba(226, 176, 74, .8); border-radius: 8px; background: rgba(24, 17, 10, .97); color: #f1e3c4; box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
/* cot flex co gioi han cao (max-height) -> mac dinh trinh duyet EP CO tung o (o chon loai loi, o nhap bi cat khi dien thoai nam
   ngang ~360px) thay vi cuon: giu nguyen co, khung tu cuon */
.ingame .tu-bug-panel > * { flex-shrink: 0; }
.ingame .tu-bug-title { font-size: 16px; color: #ffd98a; }
.ingame .tu-bug-kind, .ingame .tu-bug-text { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid rgba(226, 176, 74, .5); border-radius: 6px;
	background: #120c06; color: #f6e8c8; font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; user-select: text; -webkit-user-select: text; }
.ingame .tu-bug-text { resize: vertical; min-height: 84px; }
.ingame .tu-bug-count { align-self: flex-end; font-size: 12px; color: #b9a57c; }
.ingame .tu-bug-note { font-size: 12px; line-height: 1.4; color: #c8b48a; }
.ingame .tu-bug-status { min-height: 1em; font-size: 13px; line-height: 1.4; }
.ingame .tu-bug-status.tu-bug-ok { color: #8fe08a; }
.ingame .tu-bug-status.tu-bug-err { color: #ff9a8a; }
.ingame .tu-bug-row { display: flex; justify-content: flex-end; gap: 10px; }
.ingame .tu-bug-btn { min-width: 84px; padding: 9px 14px; border: 1px solid rgba(226, 176, 74, .8); border-radius: 6px; background: rgba(60, 40, 16, .9);
	color: #f6dc9a; font: 600 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ingame .tu-bug-btn.tu-bug-send { background: #b8862b; color: #1c1206; }
.ingame .tu-bug-btn:disabled { opacity: .5; }
.ingame a.tu-bug-btn { box-sizing: border-box; text-align: center; text-decoration: none; }
.ingame .tu-bug-view { margin-right: auto; }
.ingame .tu-bug-view[hidden] { display: none; }
/* man thap (dien thoai nam ngang, ban phim ao mo): thu gon de thay du khung, con thieu thi cuon */
@media (max-height: 480px) {
	.ingame .tu-bug { padding: 6px 12px; }
	.ingame .tu-bug-panel { gap: 5px; padding: 8px 12px; width: min(560px, 100%); }
	.ingame .tu-bug-title { font-size: 14px; }
	.ingame .tu-bug-kind, .ingame .tu-bug-text { padding: 5px 8px; font-size: 14px; }
	.ingame .tu-bug-text { height: 64px; min-height: 48px; }
	.ingame .tu-bug-note { font-size: 11px; line-height: 1.3; }
	.ingame .tu-bug-btn { padding: 7px 12px; }
}
.ingame .tu-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ingame .tu-grid { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; }
.ingame .tu-btn { min-width: 44px; height: 40px; padding: 0 8px; border: 1px solid rgba(232, 200, 140, .45); border-radius: 8px;
	background: rgba(40, 30, 20, .72); color: #f1e3c4; font: inherit; touch-action: none; -webkit-user-select: none; user-select: none; }
.ingame .tu-btn.tu-press { background: rgba(140, 100, 50, .9); }
.ingame .tu-btn.tu-on { background: rgba(190, 130, 40, .95); color: #fff; border-color: #f2c14e; }
.ingame .tu-btn.tu-lock { box-shadow: inset 0 -4px 0 #fff3c4; }
.ingame .tu-stick { position: relative; flex: none; border-radius: 50%; border: 2px solid rgba(232, 200, 140, .45); background: rgba(40, 30, 20, .45); touch-action: none; }
.ingame .tu-knob { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 50%; background: rgba(232, 200, 140, .7); pointer-events: none; }
.ingame .tu-game { display: none; }
.ingame .tu-ingame .tu-game { display: flex; }
.ingame .tu-ingame .tu-grid.tu-game { display: grid; }
/* phu len man game: chi can dieu khien hoi trong (cum o ky nang / vat pham giu mau that - truoc ca cot mo 60% nen bieu tuong bi mo) */
.ingame .tu-over .tu-stick { opacity: .75; }
/* ban port: mobile ngang - can cach mep duoi / trai >= 16 px + vung an toan (truoc 8 px: nam trong vung vuot Home cua iPhone / iPad) */
.ingame .tu-over .tu-right { padding-bottom: max(8px, calc(env(safe-area-inset-bottom) + 4px)); }
.ingame .tu-over .tu-left { padding-bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); padding-left: max(16px, calc(env(safe-area-inset-left) + 8px)); }
.ingame .tu-bottom .tu-panel { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: center; }
.ingame .tu-bottom .tu-right { justify-content: flex-end; }	/* ban port: man doc - cum o ky nang (scale quanh goc phai duoi) sat mep phai, khong tran */
/* vung thua hai ben hep: nut co theo cot */
.ingame .tu-side .tu-panel { padding-left: 6px; padding-right: 6px; }
.ingame .tu-side .tu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 160px; }
/* cum nut ky nang mobile (ig/touchskill.js): nut lon goc phai duoi, cung nut nho trai -> tren */
.ingame .tu-skills { position: relative; flex: none; width: 240px; height: 200px; transform: scale(var(--tu-s, 1)); transform-origin: 100% 100%; --sk-s: 50px; --sk-t: 36px; --sk-p: 44px; --sk-cx: calc(100% - 50px); --sk-cy: calc(100% - 46px); }
.ingame .tu-skills.tu-game { display: block; }
.ingame .tu:not(.tu-ingame) .tu-skills { display: none; }
/* GD13: cum o ky nang / hang o 1-5 VE trong he cua so game (ig/touchskill.js KTouchSkillPad - bong bong xa phong trong suot, cua so
   khac mo de len). Nut DOM o day chi la vung nhan cham trong suot (vi tri / co / lop trang thai cho lop ve doc); bi cua so de len
   (tu-covered) thi khong nhan cham */
.ingame .tu-sk { position: absolute; width: var(--sk-s); height: var(--sk-s); padding: 0; border-radius: 50%; overflow: hidden; touch-action: none;
	border: 0; background: none; color: transparent; }
.ingame .tu-sk > canvas, .ingame .tu-sk > span { visibility: hidden; }
.ingame .tu-covered { pointer-events: none !important; }
/* cum / hang 1-3 nam NGOAI canvas (man doc / thua cho ngoai khung game - khong phai tu-over): canvas khong ve ra ngoai khung -> o
   DOM tu ve kieu B (nen toi + vien dong thau nhu touchskill.js ringB), bieu tuong o canvas DOM (touchskill.js setBtn) thu vao trong vien */
.ingame .tu:not(.tu-over) .tu-sk { background: radial-gradient(circle, #2a2720 0 58%, #15130f 70%); color: #f6dc9a; overflow: visible;
	box-shadow: inset 0 0 0 3px #3f3a2c, inset 0 0 0 5px #837a64, inset 0 0 0 6px #d6cba6, 0 2px 5px rgba(0, 0, 0, .65); }
.ingame .tu:not(.tu-over) .tu-sk > canvas, .ingame .tu:not(.tu-over) .tu-sk > span { visibility: visible; }
.ingame .tu:not(.tu-over) .tu-sk > canvas { position: absolute; inset: 13%; width: 74%; height: 74%; }
.ingame .tu:not(.tu-over) .tu-sk::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: 50%; pointer-events: none; }
.ingame .tu:not(.tu-over) .tu-sk-empty::after { content: '+'; display: flex; align-items: center; justify-content: center; font-size: 22px; color: rgba(246, 220, 154, .8); }
.ingame .tu:not(.tu-over) .tu-sk.tu-cd canvas { opacity: .4; filter: grayscale(.7); }
.ingame .tu:not(.tu-over) .tu-sk.tu-nomana canvas { filter: grayscale(.6) sepia(1) hue-rotate(185deg) saturate(2.2) brightness(.6); }
.ingame .tu:not(.tu-over) .tu-sk.tu-press { box-shadow: inset 0 0 0 3px #3f3a2c, inset 0 0 0 5px #837a64, inset 0 0 0 6px #d6cba6, 0 0 0 4px rgba(255, 215, 106, .75), 0 0 12px rgba(255, 215, 106, .6); }
.ingame .tu:not(.tu-over) .tu-sk-stand.tu-on { background-color: rgba(226, 176, 74, .9); }
.ingame .tu:not(.tu-over) .tu-sk.tu-cdpie::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none;
	background: conic-gradient(transparent 0 calc((1 - var(--cd)) * 360deg), rgba(0, 0, 0, .62) 0); }
.ingame .tu:not(.tu-over) .tu-sk.tu-cdpie .tu-sk-n { z-index: 2; inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; color: #ffe9a8; }
/* khung cum / hang o 1-5 khong nhan cham (khe giua bong bong roi xuong canvas: khong gian game / cua so game), chi bong bong nhan */
.ingame .tu-panel > .tu-skills, .ingame .tu-quick { pointer-events: none; }
.ingame .tu-skills .tu-sk, .ingame .tu-quick .tu-sk { pointer-events: auto; }
.ingame .tu-sk canvas { border-radius: 50%; }
.ingame .tu-sk-n { position: absolute; right: 18%; bottom: 10%; font-size: 11px; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; pointer-events: none; }
/* bang chon bieu tuong cho o (ig/touchskill.js) */
.ingame .tu-pick { position: absolute; inset: 0; z-index: 6; display: none; align-items: flex-end; justify-content: flex-end; pointer-events: auto; background: rgba(0, 0, 0, .35); }
.ingame .tu-pick.tu-pick-open { display: flex; }
.ingame .tu-pick-box { margin: 8px; padding: 10px; width: min(380px, 94%); max-height: 86%; display: flex; flex-direction: column; gap: 8px; border-radius: 12px;
	border: 1px solid rgba(226, 176, 74, .7); background: rgba(24, 17, 10, .95); box-shadow: 0 6px 24px rgba(0, 0, 0, .6); color: #f1e3c4; transform: scale(var(--tu-s, 1)); transform-origin: 100% 100%; }
.ingame .tu-pick-title { font-size: 13px; color: #f2c14e; }
.ingame .tu-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, 48px); gap: 6px; overflow: auto; max-height: 60vh; }
.ingame .tu-pick-cell { position: relative; width: 48px; height: 48px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid #e2b04a; background: rgba(0, 0, 0, .25); }
.ingame .tu-pick-cell canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.ingame .tu-pick-row { display: flex; gap: 6px; }
.ingame .tu-pick-row .tu-menu-item { flex: 1; height: 40px; }
.ingame .tu-sk canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
/* hang o phim tat 1-5 (ig/touchskill.js, vi tri: ig/touchui.js placeQuickSlots) - cung kieu o nho cua cum ky nang */
.ingame .tu-quick { position: fixed; display: none; gap: 6px; z-index: 5; --sk-s: 46px; }
.ingame .tu-ingame .tu-quick.tu-quick-on { display: flex; }
.ingame .tu-quick .tu-sk { position: relative; flex: none; }
.ingame .tu-sk-main { width: 88px; height: 88px; left: calc(var(--sk-cx) - 44px); top: calc(var(--sk-cy) - 44px); }
.ingame .tu-sk-tgt { width: var(--sk-t); height: var(--sk-t); font-size: 20px; line-height: 1; }
/* ⚓ Dung yen (ig/touchskill.js setStand): bat = nen vang dac (khac o dang nhan chi sang len) */
.ingame .tu-sk-stand { width: var(--sk-t); height: var(--sk-t); font-size: 19px; line-height: 1; }
/* GD13: nhat do tren o thu 5 (o R), co 3/4 o nho cua cum */
.ingame .tu-sk-pick, .ingame .tu-sk-talk, .ingame .tu-sk-side { width: var(--sk-p); height: var(--sk-p); }
/* nut nho ◎ / ⚓ / nhat do / doi thoai (36 px): vung nhan cham rong them 6 px moi phia (>= 44 px nhu huong dan cam ung), hinh giu nguyen */
.ingame .tu-sk-tgt, .ingame .tu-sk-stand, .ingame .tu-sk-pick, .ingame .tu-sk-talk, .ingame .tu-sk-side { overflow: visible; }
.ingame .tu-sk-tgt::before, .ingame .tu-sk-stand::before, .ingame .tu-sk-pick::before, .ingame .tu-sk-talk::before, .ingame .tu-sk-side::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
.ingame .tu-right { align-items: flex-end; padding-right: max(12px, env(safe-area-inset-right)); padding-bottom: env(safe-area-inset-bottom); }	/* cum o vong cung sat mep phai (khung rong hon cot) */
.ingame .tu-under-dlg { visibility: hidden !important; }	/* cua so lon dang mo de len (touchui.js hideUnderDialogs) */
/* GD13: can noi an khi khong cham (chi hien luc dang giu) - lop phu de len canvas */
.ingame .tu-over.tu-stick-hide .tu-stick:not(.tu-stick-active) { visibility: hidden; }
/* ban port: mobile - hoi chieu: quat toi phu phan con lai (--cd 1 -> 0, touchskill.js paintCd moi khung hinh khi dang hoi chieu) + so giay giua o */
@property --cd { syntax: '<number>'; inherits: true; initial-value: 0; }
.ingame .tu-sk { --cd: 0; }
/* nut chu (bang chon o ky nang - ig/touchskill.js) */
.ingame .tu-menu-item { height: 48px; padding: 0 6px; border-radius: 8px; border: 1px solid rgba(232, 200, 140, .45); background: rgba(60, 42, 24, .92);
	color: #f1e3c4; font: inherit; font-size: 14px; touch-action: manipulation; }
.ingame .tu-menu-item:active { background: rgba(140, 100, 50, .95); }
.ingame .tu-side .tu-btn { min-width: 0; padding: 0 6px; flex: 1 1 40px; max-width: 60px; }
