/* css/style.css */
:root {
--panel: rgba(18, 28, 34, 0.82);
--panel-solid: #16232a;
--line: rgba(255, 255, 255, 0.14);
--text: #eef3ef;
--dim: #9fb3ad;
--accent: #f2c14e;
--good: #5fc46a;
--warn: #ef6b4a;
--radius: 10px;
}
* { box-sizing: border-box; }
html, body {
margin: 0; height: 100%; overflow: hidden;
background: #0d1418; color: var(--text);
font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
-webkit-user-select: none; user-select: none;
touch-action: none;
}
#game { position: fixed; inset: 0; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
#cv3d { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
#lbl3d { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.lbl3d {
position: absolute; left: 0; top: 0; white-space: nowrap;
padding: 3px 9px; border-radius: 12px; font-size: 12px;
background: rgba(10,16,20,0.7); color: #fff; border: 1px solid rgba(255,255,255,0.15);
}
.lbl3d.big { background: rgba(150,100,10,0.85); border-color: #f2c14e; font-size: 13px; }
#btn-view.on { border-color: var(--accent); background: rgba(242,193,78,0.18); }
body:not(.v3d) #btn-watch { display: none; }
.hud { position: absolute; z-index: 5; }
.hidden { display: none !important; }
.dim { color: var(--dim); }
button {
font: inherit; color: var(--text);
background: rgba(255,255,255,0.08);
border: 1px solid var(--line);
border-radius: 8px; padding: 6px 10px; cursor: pointer;
}
button:hover { background: rgba(255,255,255,0.16); }
button:active { transform: translateY(1px); }
button.good { background: var(--good); color: #0e1a10; border-color: transparent; font-weight: 700; }
button.warn { background: var(--warn); color: #1d0b06; border-color: transparent; font-weight: 700; }
button:disabled { opacity: 0.4; cursor: default; }
#hud-tl {
top: 12px; left: 12px; padding: 10px 14px;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
font-size: 14px; line-height: 1.5; min-width: 170px;
}
#hud-tl .big { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
#hud-tl .big .dim { font-size: 13px; font-weight: 400; }
#hud-tl .money { color: var(--accent); font-weight: 700; font-size: 16px; }
#hud-tr { top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 60vw; }
#hud-tr button { background: var(--panel); font-size: 14px; }
#h-keepcount {
display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px;
background: var(--accent); color: #2a1e00; border-radius: 9px; font-size: 12px; font-weight: 700; text-align: center;
}
#hud-bottom {
left: 12px; right: 12px; bottom: 12px;
display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
padding: 8px 12px; font-size: 13px;
}
#hud-bottom .gear { line-height: 1.5; min-width: 170px; }
#bait-list { display: flex; gap: 6px; flex-wrap: wrap; }
.bait {
display: flex; align-items: center; gap: 6px;
padding: 5px 9px; font-size: 13px;
}
.bait .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.bait .cnt { color: var(--dim); font-variant-numeric: tabular-nums; }
.bait.sel { border-color: var(--accent); background: rgba(242,193,78,0.18); }
.bait.empty { opacity: 0.45; }
.adjust { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.adj { display: flex; align-items: center; gap: 6px; }
.adj button { padding: 2px 9px; font-weight: 700; }
.adj b { min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
#fightbar {
left: 50%; top: 12px; transform: translateX(-50%);
width: min(520px, 62vw); padding: 8px 14px 9px;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
font-size: 13px; text-align: center;
pointer-events: none;
}
#fightbar.holding { border-color: rgba(242,193,78,0.85); box-shadow: 0 0 0 1px rgba(242,193,78,0.35); }
.fb-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; min-height: 19px; }
#fb-warn { color: #ffd65a; white-space: nowrap; }
#fb-warn.on { color: #1d1500; background: #ffd65a; padding: 0 7px; border-radius: 6px; animation: fb-blink 0.5s steps(2) infinite; }
#fb-warn.ok { color: #8fe89a; }
@keyframes fb-blink { 50% { opacity: 0.6; } }
.fb-track {
position: relative; height: 18px; margin: 6px 0 5px;
background: rgba(255,255,255,0.1); border-radius: 9px; overflow: hidden;
}
#fb-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--good); }
#fb-mark { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px #000, 0 0 4px #000; }
.fb-fuse { height: 4px; margin: -2px 0 5px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
#fb-over { display: block; height: 100%; width: 0; background: #ff2a1a; box-shadow: 0 0 6px #ff2a1a; }
body.fighting #toasts { top: auto; bottom: 14px; left: 12px; transform: none; align-items: flex-start; max-width: min(56vw, 560px); }
body.fighting .toast { font-size: 13px; padding: 5px 12px; text-align: left; }
.fb-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.fb-stam { flex: 1; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.1); overflow: hidden; }
.fb-stam i { display: block; height: 100%; width: 100%; background: #ef8a5a; }
#fb-stam { transform-origin: 0 50%; }
#fb-rod { transform-origin: 0 50%; background: #5fc46a; }
#fb-rodtxt { font-weight: 700; color: #ff6a50; min-width: 0; }
.fb-rodrow.calm { opacity: 0.55; }
#fb-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (orientation: portrait) and (max-width: 720px) { #fb-num { display: none; } .fb-row .dim { white-space: nowrap; } .fb-top { flex-wrap: wrap; } }
.fb-hint { margin-top: 5px; font-size: 14px; font-weight: 600; color: #e9f1ec; line-height: 1.35; }
.fb-hint.bad { color: #ffb4a6; }
.fb-hint.warn { color: #ffe08a; }
.fb-hint.good { color: #9ff0a8; }
body.fighting #hud-tr, body.fighting #hud-bottom { display: none; }
body.fighting #actions { bottom: 18px; right: 18px; }
#actions button.ready {
font-size: 20px; padding: 16px 26px; min-height: 58px; background: var(--good); color: #0e1a10; font-weight: 800; border-color: transparent;
box-shadow: 0 0 0 3px rgba(95,196,106,0.45), 0 0 18px rgba(95,196,106,0.6);
animation: pulse 0.45s infinite alternate;
}
@media (min-width: 1600px) and (pointer: fine) {
#fightbar { width: min(720px, 44vw); font-size: 15px; padding: 10px 18px 11px; }
.fb-top { font-size: 18px; }
.fb-hint { font-size: 18px; }
.fb-track { height: 24px; }
.fb-row, #fb-num { font-size: 14px; }
}
#actions {
right: 12px; bottom: 96px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
#actions button { font-size: 15px; padding: 10px 14px; background: var(--panel); }
#actions button.good { background: var(--good); }
#actions button.warn { background: var(--warn); animation: pulse 0.5s infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.07); } }
#status {
left: 50%; bottom: 96px; transform: translateX(-50%);
padding: 6px 14px; border-radius: 20px; background: rgba(0,0,0,0.45);
font-size: 14px; white-space: nowrap; pointer-events: none;
}
#status:empty { display: none; }
#toasts {
position: absolute; z-index: 25; left: 50%; top: 150px; transform: translateX(-50%);
width: max-content; max-width: min(92vw, 680px);
display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none;
}
@media (max-height: 460px) { #toasts { top: 44px; } }
body:has(#btn-them.on) #hud-tr { z-index: 26; }
.toast {
padding: 8px 16px; border-radius: 8px; background: rgba(10,16,20,0.92); text-align: center;
border: 1px solid var(--line); font-size: 15px; font-weight: 600;
animation: toastIn 0.25s ease-out;
}
.toast.good { border-color: var(--good); color: #c9f3cd; }
.toast.bad { border-color: var(--warn); color: #ffd2c6; }
.toast.info { border-color: var(--accent); color: #fff1c9; }
.toast.out { opacity: 0; transition: opacity 0.4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body:not(.fighting):not(.dao-on):not(.xem-on) #toasts {
top: var(--tb-top, 150px); left: var(--tb-l, 50%); width: var(--tb-w, max-content); max-width: none; transform: var(--tb-tf, translateX(-50%));
}
#toasts .toast { max-width: 100%; }
.tb-chu { display: block; }
@media (max-width: 720px), (max-height: 460px) {
.toast { font-size: 12.5px; line-height: 1.32; padding: 4px 11px; border-radius: 7px; }
.tb-chu { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.toast.dai { pointer-events: auto; cursor: pointer; position: relative; padding-right: 22px; }
.toast.dai::after { content: '▾'; position: absolute; right: 8px; bottom: 3px; font-size: 12px; opacity: 0.85; }
.toast.dai.mo .tb-chu { display: block; }
.toast.dai.mo::after { content: '✕'; top: 3px; bottom: auto; font-size: 11px; }
}
body.fighting .toast.dai { pointer-events: none; }
#tin-goc {
left: 12px; bottom: calc(var(--bar-h, 84px) + 92px); display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
width: max-content; max-width: var(--goc-w, min(40vw, 420px)); pointer-events: none;
}
#tin-goc:empty, body.fighting #tin-goc, body.dao-on #tin-goc, body.xem-on #tin-goc { display: none; }
#joy {
--joy: min(136px, 37vh);
left: 16px; bottom: 16px; width: var(--joy); height: var(--joy); border-radius: 50%; z-index: 12;
background: radial-gradient(circle, rgba(10,16,20,0.28) 0 52%, rgba(10,16,20,0.5) 53% 100%);
border: 2px solid rgba(255,255,255,0.32); box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
#joy.hidden { display: none; }
.joy-mt { position: absolute; font-size: 11px; line-height: 1; color: rgba(255,255,255,0.75); pointer-events: none; text-shadow: 0 1px 2px #000; }
.joy-tr { left: 7px; top: 50%; transform: translateY(-50%); }
.joy-ph { right: 7px; top: 50%; transform: translateY(-50%); }
.joy-le { top: 6px; left: 50%; transform: translateX(-50%); }
.joy-xu { bottom: 6px; left: 50%; transform: translateX(-50%); }
.joy-num {
position: absolute; left: 29%; top: 29%; width: 42%; height: 42%; border-radius: 50%; pointer-events: none;
display: flex; align-items: center; justify-content: center;
background: radial-gradient(circle at 36% 30%, #fff4cf, #f2c14e 46%, #a8781f); box-shadow: 0 3px 8px rgba(0,0,0,0.55), inset 0 -2px 3px rgba(0,0,0,0.25);
}
#joy:not(.giu) .joy-num { transition: transform 0.16s ease-out; }
.joy-num b { font-size: 12px; font-weight: 800; color: #2a1e00; letter-spacing: 0.2px; }
#joy.k-cho .joy-num { opacity: 0.8; }
#joy.k-do .joy-num { background: radial-gradient(circle at 36% 30%, #e9f1ec, #9fb3aa 46%, #5d6f68); opacity: 0.85; }
#joy.k-dong .joy-num { background: radial-gradient(circle at 36% 30%, #e6f3ff, #8cc8ff 46%, #3a78b8); }
#joy.k-nang .joy-num { background: radial-gradient(circle at 36% 30%, #eaffea, #8fe89a 46%, #3f9a4b); }
#joy.k-moi .joy-num { background: radial-gradient(circle at 36% 30%, #fff0dc, #ff9a3c 46%, #b85a12); }
#joy.k-tha .joy-num { background: radial-gradient(circle at 36% 30%, #ffe0d8, #ff4a3a 46%, #a81c10); animation: joy-nhay 0.25s steps(2) infinite; }
#joy.k-tha .joy-num b, #joy.k-dong .joy-num b { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
@keyframes joy-nhay { 50% { opacity: 0.55; } }
#joy.goi-trai .joy-tr, #joy.goi-phai .joy-ph {
font-size: 22px; color: #ffd65a; text-shadow: 0 0 6px rgba(255,214,90,0.95), 0 1px 2px #000; animation: joy-nhay 0.3s steps(2) infinite;
}
#joy.goi-trai { box-shadow: -8px 0 14px -4px rgba(255,214,90,0.95), 0 0 0 1px rgba(0,0,0,0.25); }
#joy.goi-phai { box-shadow: 8px 0 14px -4px rgba(255,214,90,0.95), 0 0 0 1px rgba(0,0,0,0.25); }
#joy.nhe-trai .joy-tr, #joy.nhe-phai .joy-ph { font-size: 16px; color: #ffe9a8; }
body.joy-phai #joy { left: auto; right: 16px; }
body.fighting.joy-on.joy-phai #actions { right: auto; left: 18px; align-items: flex-start; }
body.fighting.joy-on #toasts { left: calc(var(--joy, 136px) + 32px); max-width: min(46vw, 460px); }
@media (orientation: portrait) and (max-width: 720px) {
#joy { --joy: 132px; bottom: 22px; }
body.fighting.joy-on #toasts { left: 12px; bottom: 170px; max-width: calc(100vw - 24px); }
}
body.fighting.joy-on.joy-phai #toasts { left: 12px; bottom: 86px; max-width: calc(100vw - var(--joy, 136px) - 48px); }
#overlay {
position: absolute; inset: 0; z-index: 20;
background: rgba(0,0,0,0.55);
display: flex; align-items: center; justify-content: center; padding: 16px;
}
#panel {
position: relative; width: min(760px, 100%); max-height: 88vh; overflow: auto;
background: var(--panel-solid); border: 1px solid var(--line); border-radius: 14px;
padding: 20px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
-webkit-user-select: text; user-select: text;
}
#panel-close { position: sticky; top: 0; float: right; margin: -10px -12px 0 6px; padding: 4px 10px; z-index: 3; background: var(--panel-solid); }
#panel h2 { margin: 0 36px 4px 0; font-size: 22px; }
#panel h3 { margin: 18px 0 8px; font-size: 15px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
#panel p { margin: 6px 0; line-height: 1.55; }
#panel .sub { color: var(--dim); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.card {
border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
background: rgba(255,255,255,0.03);
}
.card .t { font-weight: 700; }
.card .d { color: var(--dim); font-size: 12.5px; margin: 3px 0 8px; line-height: 1.45; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card.owned { border-color: rgba(95,196,106,0.5); }
.card.equipped { border-color: var(--accent); background: rgba(242,193,78,0.08); }
.card canvas { width: 100%; height: 70px; display: block; margin-bottom: 6px; }
.card.unknown { opacity: 0.55; }
.price { color: var(--accent); font-weight: 700; }
table.keep { width: 100%; border-collapse: collapse; font-size: 14px; }
table.keep th, table.keep td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.keep th { color: var(--dim); font-weight: 600; }
table.keep td.num, table.keep th.num { text-align: right; font-variant-numeric: tabular-nums; }
.catch { text-align: center; }
.catch canvas { width: 100%; max-width: 520px; height: 200px; display: block; margin: 8px auto; }
.catch .stats { display: flex; justify-content: center; gap: 28px; margin: 10px 0 16px; flex-wrap: wrap; }
.catch .stats div { font-size: 13px; color: var(--dim); }
.catch .stats b { display: block; font-size: 22px; color: var(--text); }
.catch .record { color: var(--accent); font-weight: 700; margin: 4px 0; }
.catch .catch-loi { margin: 4px auto; max-width: 560px; padding: 5px 10px; border-radius: 10px; background: rgba(255,214,102,0.12); border: 1px solid rgba(255,214,102,0.35); font-size: 13px; line-height: 1.4; text-align: left; }
@media (max-height: 460px) {
.catch canvas { height: 92px; margin: 2px auto; }
.catch .stats { margin: 4px 0 8px; gap: 18px; }
.catch .stats b { font-size: 18px; }
}
.catch .btns { display: flex; gap: 10px; justify-content: center; }
.catch .btns button { padding: 10px 18px; font-size: 15px; }
.keys { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; }
.keys kbd {
display: inline-block; padding: 1px 7px; border-radius: 5px; font-family: inherit; font-size: 12.5px;
background: rgba(255,255,255,0.1); border: 1px solid var(--line); margin-right: 3px;
}
#status { bottom: calc(var(--bar-h, 84px) + 10px); }
#actions { bottom: calc(var(--bar-h, 84px) + 46px); }
@media (max-width: 720px) { #status { bottom: calc(var(--bar-h, 140px) + 10px); } #actions { bottom: calc(var(--bar-h, 140px) + 46px); } }
.rigread { line-height: 1.5; }
#panel span.good, #panel b.good { color: var(--good); }
#panel span.bad, #panel b.bad { color: var(--warn); }
#panel span.warn { color: var(--accent); }
#panel b.big { font-size: 20px; }
.setup { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
#setup-cv { width: 200px; height: 280px; border-radius: 10px; display: block; }
.setup-ctl { display: flex; flex-direction: column; gap: 10px; }
.adjrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adjrow > span { min-width: 92px; color: var(--dim); }
.adjrow b { min-width: 76px; text-align: center; font-variant-numeric: tabular-nums; }
.adjrow button { padding: 3px 10px; font-weight: 700; }
.readout { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; line-height: 1.7; font-size: 14px; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .setup { grid-template-columns: 1fr; } #setup-cv { width: 100%; } }
@media (max-width: 720px) {
#hud-tl { font-size: 12px; min-width: 0; padding: 8px 10px; }
#hud-tl .big { font-size: 17px; }
#hud-bottom { font-size: 12px; gap: 8px; padding: 6px 8px; left: 8px; right: 8px; bottom: 8px; }
.adjust { margin-left: 0; gap: 8px; }
#actions { bottom: calc(var(--bar-h, 140px) + 46px); right: 8px; }
#status { bottom: calc(var(--bar-h, 140px) + 8px); font-size: 12px; white-space: normal; text-align: center; width: max-content; max-width: 92vw; }
#fightbar { width: min(480px, 64vw); }
}
#btn-them, #hud-them { display: none; }
.cham .hud-phim { display: none; }
body:not(.v3d) #hud-bottom #btn-watch { display: none; }
#hud-tr > #btn-them.on, #hud-them button:hover { border-color: var(--accent); background: rgba(242,193,78,0.18); }
@media (max-width: 720px), (max-height: 460px) {
#hud-tr { top: 6px; right: 6px; gap: 3px; max-width: calc(100vw - 12px); }
#hud-tr > button {
position: relative; width: 31px; min-width: 31px; height: 32px; padding: 0;
font-size: 16px; line-height: 30px; text-align: center; white-space: nowrap;
}
#hud-tr .hud-chu, #hud-tr .hud-dai, #hud-tr > .it-dung { display: none; }
#hud-tr > #btn-them { display: block; font-size: 18px; font-weight: 800; line-height: 26px; }
#hud-tr .fs-ico { margin-right: 0; vertical-align: -1px; }
#hud-tr .qbadge { position: absolute; top: -5px; right: -5px; margin: 0; min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 15px; }
#hud-them:not(.hidden) {
display: flex; flex-direction: column; gap: 4px; position: absolute; top: calc(100% + 6px); right: 0;
padding: 6px; min-width: 190px; max-height: calc(100vh - 60px); overflow-y: auto;
background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
#hud-them button { text-align: left; font-size: 14px; padding: 9px 12px; white-space: nowrap; background: rgba(255,255,255,0.05); }
#hud-tl.tl-gon { left: 6px; top: 6px; padding: 5px 9px; }
#hud-bottom { left: 6px; right: 6px; bottom: 6px; padding: 3px; gap: 4px; }
#hud-bottom .gear, #hud-bottom .rigread { display: none; }
#hud-bottom .adjust { margin-left: 0; gap: 3px; flex-wrap: nowrap; }
#hud-bottom .adjust .hud-chu, #hud-bottom .adjust .hud-phim { display: none; }
#hud-bottom .adjust button::after { content: attr(data-ngan); }
}
@media (orientation: portrait) and (max-width: 720px) {
#hud-bottom .adjust { flex: 1 1 auto; }
#hud-bottom .adjust button {
flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
padding: 4px 1px 3px; font-size: 17px; line-height: 1.1;
}
#hud-bottom .adjust button::after { font-size: 9.5px; letter-spacing: -0.2px; max-width: 100%; overflow: hidden; white-space: nowrap; color: #d6e2dd; }
#status { font-size: 11px; padding: 4px 10px; }
}
@media (orientation: landscape) and (max-height: 460px) {
#hud-bottom { right: auto; max-width: calc(100vw - 12px); }
#hud-bottom .adjust button { padding: 3px 9px; font-size: 12px; line-height: 16px; white-space: nowrap; min-height: 32px; }
#hud-bottom .adjust button::after { margin-left: 4px; }
#hud-them:not(.hidden) { display: grid; grid-template-columns: 1fr 1fr; min-width: 330px; }
#hud-them button { padding: 7px 10px; font-size: 13px; }
}
@media (max-height: 460px) {
#hud-tl { font-size: 11px; padding: 5px 8px; line-height: 1.35; }
#hud-tl .big { font-size: 15px; }
#status { font-size: 11px; padding: 4px 10px; }
body.fighting #hud-tl { display: none; }
#fightbar { top: 4px; width: min(430px, 56vw); padding: 4px 10px 5px; font-size: 12px; }
.fb-top { font-size: 13px; min-height: 17px; }
.fb-track { height: 14px; margin: 3px 0 3px; }
.fb-row { height: 5px; }
.fb-row .dim, #fb-num { display: none; }
.fb-stam { height: 4px; }
.fb-hint { font-size: 14px; margin-top: 2px; text-shadow: 0 1px 2px #000; }
body.fighting #actions { bottom: 12px; right: 12px; }
body.fighting #toasts { bottom: 10px; }
}
@media (orientation: portrait) and (max-width: 720px) {
body.fighting #hud-tl { display: none; }
#fightbar { width: calc(100vw - 150px); left: 8px; transform: none; }
}
#rotate-hint { display: none; }
@media (orientation: portrait) and (max-width: 720px) {
#rotate-hint {
display: block; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none;
padding: 8px 14px; border-radius: 20px; background: rgba(0,0,0,0.55); font-size: 13px; white-space: nowrap;
animation: rotate-fade 6s ease forwards;
}
}
@keyframes rotate-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.good-txt { color: #7fdc8a; }
.fs-ico {
display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px;
background:
linear-gradient(currentColor, currentColor) 0 0 / 4px 2px, linear-gradient(currentColor, currentColor) 0 0 / 2px 4px,
linear-gradient(currentColor, currentColor) 100% 0 / 4px 2px, linear-gradient(currentColor, currentColor) 100% 0 / 2px 4px,
linear-gradient(currentColor, currentColor) 0 100% / 4px 2px, linear-gradient(currentColor, currentColor) 0 100% / 2px 4px,
linear-gradient(currentColor, currentColor) 100% 100% / 4px 2px, linear-gradient(currentColor, currentColor) 100% 100% / 2px 4px;
background-repeat: no-repeat;
}
#hud-tr button.glow { border-color: var(--accent); animation: fs-glow 1.6s ease-in-out 4; }
#hud-tr [data-panel="quest"] { position: relative; }
.dd-cham { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--panel); }
.dd-the { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 12px; padding: 8px 12px;
border: 1px solid var(--accent); border-radius: 10px; background: rgba(242,193,78,0.12); }
.dd-the.da { border-color: var(--line); background: rgba(255,255,255,0.04); }
.dd-tt { margin: 8px 0; }
.dd-nut { font-size: 16px; padding: 10px 18px; }
.dd-xong { color: #9be3a4; }
.dd-luoi { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.dd-o { border: 1px solid var(--line); border-radius: 8px; padding: 4px 2px; text-align: center; background: rgba(255,255,255,0.04); min-width: 0; }
.dd-o .dd-so { display: block; font-size: 13px; font-weight: 700; }
.dd-o .dd-k { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-o.moc { border-color: rgba(242,193,78,0.6); }
.dd-o.moc .dd-k { color: var(--accent); font-weight: 700; }
.dd-o.xong { background: rgba(110,190,120,0.18); border-color: rgba(110,190,120,0.5); }
.dd-o.xong .dd-k { color: #9be3a4; }
.dd-o.nay { border: 2px solid var(--accent); box-shadow: 0 0 10px rgba(242,193,78,0.35); }
@media (max-width: 720px), (max-height: 460px) {
.dd-luoi { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.dd-o { padding: 3px 1px; }
.dd-o .dd-so { font-size: 12px; }
.dd-o .dd-k { font-size: 9.5px; }
}
.qbadge {
display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px;
background: var(--good); color: #0e1a10; border-radius: 9px; font-size: 12px; font-weight: 700; text-align: center;
}
.qlist { display: flex; flex-direction: column; gap: 6px; }
.qrow {
display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 5px 10px;
padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.qrow.done { opacity: 0.55; }
.qrow .qp { color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qrow .qr { color: var(--accent); white-space: nowrap; }
.qbar { grid-column: 2 / -1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--good); border-radius: 3px; }
.qwork {
display: flex; gap: 10px 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
margin: 10px 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--accent); background: rgba(242,193,78,0.1); line-height: 1.5;
}
.qsum {
margin: 10px 0 12px; padding: 8px 12px; border-radius: 10px; line-height: 1.6;
background: rgba(95,196,106,0.1); border: 1px solid rgba(95,196,106,0.4);
}
.qsum button { margin-left: 6px; padding: 3px 10px; }
@media (max-width: 720px), (max-height: 460px) { .qrow { padding: 6px 8px; font-size: 13px; gap: 4px 8px; } }
.gy-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.gy-kinds button.on { border-color: var(--accent); background: rgba(242,193,78,0.2); }
.gy-stars { display: flex; align-items: center; gap: 2px; margin: 4px 0 8px; flex-wrap: wrap; }
.gy-stars .dim { margin-right: 6px; }
.gy-stars .dim:last-child { margin-left: 8px; }
.gy-stars button { padding: 0 4px; font-size: 26px; line-height: 1.1; background: none; border-color: transparent; color: #56635f; }
.gy-stars button.on { color: var(--accent); }
.gy-stars button:hover { background: none; color: #c9a43f; }
#panel textarea, #panel input[type="text"] {
display: block; width: 100%; margin: 6px 0; padding: 8px 10px; font: inherit; font-size: 16px; color: var(--text);
background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 8px;
-webkit-user-select: text; user-select: text; touch-action: auto;
}
#panel textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
#panel textarea:focus, #panel input[type="text"]:focus { outline: none; border-color: var(--accent); }
.gy-attach { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 10px; font-size: 13px; line-height: 1.45; }
.gy-attach input { margin-top: 3px; flex: none; }
.gy-item { margin: 6px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); }
.gy-meta { font-size: 13px; margin-bottom: 3px; }
.gy-text { white-space: pre-wrap; word-break: break-word; margin-bottom: 4px; }
@keyframes fs-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,193,78,0); } 50% { box-shadow: 0 0 0 4px rgba(242,193,78,0.5); } }
.moi {
margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; line-height: 1.55;
border: 1px solid rgba(110,170,255,0.45); background: rgba(80,140,255,0.08);
}
.moi .btnrow { margin: 8px 0 6px; }
.moi-h { text-transform: none; letter-spacing: 0; font-weight: 400; }
.moi-by { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.moi-link { margin-top: 4px; }
#panel .moi-link input { margin: 4px 0 6px; color: var(--accent); }
.moi-stat { margin-top: 6px; }
.moi-list { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; font-size: 13px; }
.moi-msg { margin-top: 6px; font-size: 13px; }
.moi-note {
margin: 10px 0 12px; padding: 8px 12px; border-radius: 10px; line-height: 1.55;
border: 1px solid rgba(110,170,255,0.5); background: rgba(80,140,255,0.13);
}
#panel .moi-note input { margin: 6px 0 2px; max-width: 380px; }
.qsum.moi-sum { background: rgba(80,140,255,0.08); border-color: rgba(110,170,255,0.4); }
#g-moi {
display: flex; flex-direction: row; align-items: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 26px;
padding: 2px 10px; text-align: left; line-height: 1.25; font-size: 12.5px; white-space: nowrap;
background: rgba(255,255,255,0.05); border-radius: 9px;
}
#g-moi:hover { background: rgba(255,255,255,0.12); }
#g-moi .tm-d1 { display: contents; }
#g-moi .tm-the { order: 0; flex: none; padding: 1px 7px; border-radius: 7px; font-weight: 700; color: #fff; white-space: nowrap; }
#g-moi .tm-d2 { order: 1; flex: 0 1 auto; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#g-moi .tm-luoi { order: 2; flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--dim); font-size: 0.92em; }
#g-moi.tm-cau .tm-the { background: #2e7d57; }
#g-moi.tm-xa .tm-the { background: #b9631f; }
#g-moi.tm-xa { border-color: rgba(224,138,58,0.65); }
#g-moi .tm-ngan { display: none; }
#g-moi .tm-chau b { font-variant-numeric: tabular-nums; }
#g-moi.tm-it .tm-chau { color: var(--accent); font-weight: 700; }
#g-moi.tm-het .tm-chau { color: #ff8a6a; font-weight: 700; }
#g-moi.tm-het { border-color: rgba(239,107,74,0.75); }
#g-moi .tm-khac { color: var(--dim); }
#g-moi .tm-sau { color: var(--accent); }
#g-moi .tm-thanh { position: relative; width: 38px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); overflow: hidden; }
#g-moi .tm-thanh i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--good); border-radius: 3px; }
#g-moi .tm-luoi.vua i { background: var(--accent); }
#g-moi .tm-luoi.het { color: #ff8a6a; font-weight: 700; }
#g-moi .tm-pt { min-width: 2.4em; font-variant-numeric: tabular-nums; }
#btn-xa.on { border-color: #e08a3a; background: rgba(224,138,58,0.26); }
#btn-mix.tm-nhac { border-color: var(--accent); background: rgba(242,193,78,0.2); }
@media (min-width: 1200px) and (min-height: 461px) {
#hud-bottom { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; row-gap: 5px; }
#hud-bottom .gear, #hud-bottom .rigread { grid-row: 1 / span 2; }
#g-moi { grid-column: 3; grid-row: 1; justify-self: end; }
#hud-bottom .adjust { grid-column: 3; grid-row: 2; justify-self: end; justify-content: flex-end; margin-left: 0; }
}
@media (min-width: 721px) and (max-width: 1199px) and (min-height: 461px) {
#g-moi { flex: 0 1 auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; max-width: 240px; padding: 4px 10px; }
#g-moi .tm-d1 { display: flex; align-items: center; gap: 7px; max-width: 100%; }
#g-moi .tm-d2 { max-width: 100%; }
#g-moi .tm-dai { display: none; }
#g-moi .tm-ngan { display: inline; }
}
@media (max-width: 720px), (max-height: 460px) {
#g-moi { order: 2; flex: 0 1 auto; font-size: 10.5px; padding: 2px 7px; gap: 6px; }
#g-moi .tm-dai { display: none; }
#g-moi .tm-ngan { display: inline; }
#g-moi .tm-the { padding: 0 5px; border-radius: 6px; }
#g-moi .tm-thanh { width: 30px; height: 5px; }
}
@media (orientation: landscape) and (max-height: 460px) {
#hud-bottom { flex-wrap: nowrap; }
#g-moi { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; align-self: stretch; max-width: 215px; }
#g-moi .tm-d1 { display: flex; align-items: center; gap: 6px; max-width: 100%; }
#g-moi .tm-d2 { max-width: 100%; }
}
@media (orientation: portrait) and (max-width: 720px) {
#g-moi { order: -1; flex: 1 1 100%; max-width: none; height: 26px; padding: 0 8px; justify-content: center; font-size: 11px; }
}
.tm-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 10px; }
@media (max-width: 560px) { .tm-hai { grid-template-columns: 1fr; gap: 6px; } }
.tm-cthe { padding: 7px 10px 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); line-height: 1.45; font-size: 13.5px; min-width: 0; }
.tm-cthe.dung.tm-ccau { border-color: #3fa274; background: rgba(46,125,87,0.2); }
.tm-cthe.dung.tm-cxa { border-color: #e08a3a; background: rgba(185,99,31,0.2); }
.tm-ct { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 26px; }
.tm-ct button { padding: 3px 9px; font-size: 12.5px; white-space: nowrap; }
.tm-dung { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 8px; color: #fff; white-space: nowrap; }
.tm-ccau .tm-dung { background: #2e7d57; }
.tm-cxa .tm-dung { background: #b9631f; }
.tm-so b { font-size: 16px; font-variant-numeric: tabular-nums; }
.tm-cthe.chua .tm-so { color: var(--dim); }
.tm-cthe.it .tm-so, .tm-cthe.it .tm-so b { color: var(--accent); font-weight: 700; }
.tm-cthe.het .tm-so { color: #ff8a6a; font-weight: 700; }
.tm-cthanh { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; margin: 4px 0 3px; }
.tm-cthanh i { display: block; height: 100%; background: var(--good); border-radius: 3px; }
.tm-cthe.it .tm-cthanh i { background: var(--accent); }
.tm-shop-hang { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 4px; padding: 6px 8px; border-radius: 10px; border: 1px solid transparent; }
.tm-shop-hang .tm-shop { font-weight: 700; white-space: nowrap; border-color: rgba(242,193,78,0.6); }
.tm-shop-hang.thieu { border-color: rgba(242,193,78,0.7); background: rgba(242,193,78,0.1); }
.tm-shop-hang.thieu .tm-shop { background: var(--accent); color: #2a1e00; border-color: transparent; }
.tm-thieu-chu { color: #ffb37a; font-size: 13px; line-height: 1.4; }
.tm-hai + .tm-shop-hang { margin-top: -4px; }
/* css/dao.css */
#btn-dao {
left: 12px; bottom: calc(var(--bar-h, 84px) + 46px);
font-size: 15px; padding: 9px 14px; background: var(--panel); font-weight: 600;
}
#btn-dao.on { border-color: var(--accent); background: rgba(60,48,12,0.88); color: #ffe7a6; }
#btn-dao.glow { border-color: var(--accent); animation: dao-glow 1.6s ease-in-out 4; }
#h-luck { color: #ffd65a; font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes dao-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,193,78,0); } 50% { box-shadow: 0 0 0 4px rgba(242,193,78,0.55); } }
#dao { position: absolute; inset: 0; z-index: 15; background: #3f6a2e; overflow: hidden; touch-action: none; }
#dao-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#dao-top {
position: absolute; top: 8px; left: 8px; padding: 6px 12px; pointer-events: none;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums;
}
#dao-top .money { color: var(--accent); font-weight: 700; }
#dao-luck { color: #ffd65a; font-weight: 700; margin-left: 6px; }
#dao-hint {
position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 330px); pointer-events: none;
padding: 6px 12px; border-radius: 16px; background: rgba(0,0,0,0.55); font-size: 13px; line-height: 1.4;
}
#dao-hint:empty { display: none; }
#dao-btns { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 8px; }
#dao-btns button { font-size: 15px; padding: 9px 14px; min-height: 42px; background: var(--panel); font-weight: 600; }
#dao-btns button.good { background: var(--good); color: #0e1a10; border-color: transparent; }
#dao-btns button.hot { background: var(--accent); color: #2a1e00; border-color: transparent; animation: dao-pulse 0.8s ease-in-out infinite alternate; }
@keyframes dao-pulse { from { transform: scale(1); } to { transform: scale(1.06); } }
body.dao-on #toasts { top: 58px; }
.dao-st {
margin: 4px 0 12px; padding: 8px 12px; border-radius: 10px; line-height: 1.5;
border: 1px solid var(--line); background: rgba(255,255,255,0.04);
}
.dao-st.on { border-color: rgba(242,193,78,0.6); background: rgba(242,193,78,0.1); color: #ffe7a6; }
.card.dao-can { border-color: rgba(242,193,78,0.55); background: rgba(242,193,78,0.07); grid-column: 1 / -1; }
#panel .dao-note { font-size: 13px; margin-top: 10px; }
@media (max-width: 720px) { #btn-dao { left: 8px; } }
@media (max-height: 460px) { #btn-dao { font-size: 13px; padding: 7px 11px; } }
@media (max-height: 460px), (max-width: 720px) {
#dao-top { font-size: 12px; padding: 4px 9px; line-height: 1.4; }
#dao-hint { font-size: 11.5px; padding: 4px 10px; max-width: calc(100% - 268px); }
#dao-btns { gap: 6px; }
#dao-btns button { font-size: 13px; padding: 7px 11px; min-height: 40px; }
body.dao-on #toasts { top: 48px; }
body.dao-on .toast { font-size: 13px; padding: 6px 12px; }
}
@media (orientation: portrait) and (max-width: 720px) {
#dao-hint { max-width: calc(100% - 16px); bottom: 58px; }
}
#btn-ngam {
left: 12px; bottom: calc(var(--bar-h, 84px) + 88px);
font-size: 14px; padding: 7px 12px; background: var(--panel); font-weight: 600;
}
@media (max-height: 460px) { #btn-ngam { font-size: 12px; padding: 5px 9px; bottom: calc(var(--bar-h, 84px) + 82px); } }
@media (max-width: 720px), (max-height: 460px) {
#btn-ngam { display: none; }
#btn-dao { left: 6px; bottom: calc(var(--bar-h, 84px) + 44px); font-size: 12px; padding: 5px 10px; }
}
/* css/xemcau.css */
#xem { position: absolute; inset: 0; z-index: 6; touch-action: none; }
body.xem-on #hud-tl, body.xem-on #hud-tr, body.xem-on #hud-bottom, body.xem-on #actions, body.xem-on #status,
body.xem-on #fightbar, body.xem-on #btn-dao, body.xem-on #rotate-hint { visibility: hidden !important; }
body.xem-on #toasts {
top: auto; bottom: calc(var(--bar-h, 84px) + 8px); left: auto; right: 12px; transform: none; align-items: flex-end; max-width: min(46vw, 480px);
}
body.xem-on .toast { font-size: 13px; padding: 5px 12px; text-align: right; }
body.xem-on #toasts .toast:nth-last-child(n+3) { display: none; }
#xem-head {
position: absolute; top: 12px; left: 12px; right: var(--xr, 140px);
display: flex; gap: 10px; align-items: flex-start; pointer-events: none;
}
#xem-top {
flex: 0 1 auto; max-width: 32%; padding: 8px 12px;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; line-height: 1.45;
}
#xem-top b { font-size: 15px; }
#xem-tier { color: var(--accent); font-weight: 700; white-space: nowrap; }
#xem-clock { font-variant-numeric: tabular-nums; }
#xem-mid { flex: 1 1 auto; min-width: 0; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
#xem-cap {
padding: 7px 12px; background: rgba(10,16,20,0.84); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.38;
}
#xem-c1 { font-size: 15px; font-weight: 700; min-height: 1.38em; }
#xem-c2 { font-size: 13.5px; min-height: 1.38em; margin-top: 2px; color: #dfe8e4; }
.xc-go, .xc-good { color: #9ff0a8; }
.xc-wait { color: #ffe08a; }
.xc-warn { color: #ffcf8a; }
.xc-stop, .xc-bad { color: #ffb4a6; }
.xc-info { color: #e9f1ec; }
#xem-chart { width: 100%; height: 72px; display: block; border-radius: 8px; }
#xem-fb {
padding: 7px 12px 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
font-size: 13px; text-align: center;
}
#xem-fb.holding { border-color: rgba(242,193,78,0.85); box-shadow: 0 0 0 1px rgba(242,193,78,0.35); }
#xfb-warn { color: #ffd65a; white-space: nowrap; }
#xfb-warn.on { color: #1d1500; background: #ffd65a; padding: 0 7px; border-radius: 6px; animation: fb-blink 0.5s steps(2) infinite; }
#xfb-warn.ok { color: #8fe89a; }
#xfb-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--good); }
#xfb-mark { position: absolute; top: 0; bottom: 0; left: 80%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px #000, 0 0 4px #000; }
#xfb-over { display: block; height: 100%; width: 0; background: #ff2a1a; box-shadow: 0 0 6px #ff2a1a; }
#xfb-num { font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#xem-hands { margin-top: 5px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; font-size: 14.5px; font-weight: 700; }
#xem-hands span { padding: 2px 10px; border-radius: 12px; background: rgba(255,255,255,0.1); }
#xh-main.hold { background: rgba(242,193,78,0.25); color: #ffe7a6; }
#xh-main.good { background: rgba(95,196,106,0.28); color: #c9f3cd; }
#xh-main.bad { background: rgba(239,107,74,0.3); color: #ffd2c6; }
#xh-main.warn { background: rgba(242,154,78,0.28); color: #ffe0b8; }
#xh-side.side { background: rgba(140,200,255,0.25); color: #d6ecff; }
#xfb-c2 { margin-top: 3px; font-size: 12.5px; min-height: 1.3em; }
#xem-bar {
position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 12px; align-items: center;
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-size: 13px;
}
#xem-gear { flex: 1 1 auto; min-width: 0; line-height: 1.45; color: #dfe8e4; }
.xem-btns { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.xem-btns button { font-size: 14px; padding: 7px 12px; min-height: 36px; background: rgba(255,255,255,0.08); white-space: nowrap; }
.xem-btns button.good { background: var(--good); color: #0e1a10; }
.xem-btns button.on { border-color: var(--accent); background: rgba(242,193,78,0.22); color: #ffe7a6; }
@media (min-width: 1600px) and (pointer: fine) {
#xem-mid { max-width: 760px; }
#xem-c1 { font-size: 17px; }
#xem-c2 { font-size: 15px; }
#xem-chart { height: 90px; }
}
@media (max-width: 720px) {
#xem-head { left: 8px; gap: 6px; }
#xem-top { font-size: 12px; padding: 6px 9px; }
#xem-bar { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 6px 8px; font-size: 12px; }
}
@media (max-height: 460px) {
#xem-head { top: 6px; left: 6px; gap: 6px; }
#xem-top { font-size: 11px; padding: 5px 8px; line-height: 1.35; max-width: 27%; }
#xem-top b { font-size: 12px; }
#xem-mid { gap: 4px; }
#xem-cap { padding: 4px 9px; line-height: 1.3; }
#xem-c1 { font-size: 12.5px; min-height: 1.3em; }
#xem-c2 { font-size: 11.5px; min-height: 1.3em; margin-top: 1px; }
#xem-chart { height: 54px; }
#xem-fb { padding: 4px 10px 5px; font-size: 12px; }
#xem-hands { font-size: 12.5px; margin-top: 2px; }
#xem-hands span { padding: 1px 8px; }
#xfb-c2 { font-size: 11px; margin-top: 1px; }
#xem-bar { left: 6px; right: 6px; bottom: 6px; gap: 6px; padding: 4px 6px; font-size: 11px; }
#xem-gear { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xem-btns { gap: 5px; }
.xem-btns button { font-size: 12px; padding: 4px 9px; min-height: 30px; }
body.xem-on #toasts { bottom: 46px; right: 8px; max-width: 40vw; }
body.xem-on .toast { font-size: 12px; padding: 4px 10px; }
}
@media (orientation: portrait) and (max-width: 720px) {
#xem-head { flex-direction: column; right: 8px; }
#xem-top { max-width: none; }
#xem-mid { width: calc(100% - 130px); margin: 0; }
#xem-gear { display: none; }
}
#dao-xem {
position: absolute; left: 0; top: 0; z-index: 2; min-width: 168px; max-width: 240px; padding: 8px 10px;
background: rgba(10,16,20,0.9); border: 1px solid rgba(242,193,78,0.65); border-radius: 10px;
font-size: 13px; line-height: 1.4; box-shadow: 0 6px 18px rgba(0,0,0,0.35); will-change: transform;
}
#dao-xem-t { font-weight: 700; color: #eef3ef; }
#dao-xem-d { color: #c9d6d0; white-space: pre-line; }
#dao-xem-d .st { color: var(--accent); }
#dao-xem button { display: block; width: 100%; margin-top: 6px; font-size: 14px; padding: 7px 10px; min-height: 36px; }
@media (max-height: 460px), (max-width: 720px) {
#dao-xem { min-width: 150px; font-size: 11.5px; padding: 6px 8px; }
#dao-xem button { font-size: 12.5px; padding: 5px 8px; min-height: 32px; margin-top: 4px; }
}
/* css/taikhoan.css */
#h-sync.tk-link { cursor: pointer; text-decoration: underline dotted rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
#h-sync.tk-link:hover { color: var(--accent); }
#panel .tk-g { min-height: 44px; margin: 14px 0 6px; display: flex; justify-content: flex-start; }
#panel .tk-note { min-height: 1.2em; margin: 4px 0 8px; }
#panel .tk-note.warn { color: var(--accent); }
#panel .tk-note.bad { color: var(--warn); }
#panel .tk-small { font-size: 13px; }
#panel .tk-ma { letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
#panel button.tk-del { background: none; border: none; padding: 0 0 0 4px; color: var(--warn); text-decoration: underline; font-size: 13px; cursor: pointer; }
#panel .tk-ten { margin: 10px 0 8px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
#panel .tk-ten label { display: block; margin-bottom: 6px; }
#panel .tk-ten-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#panel .tk-ten-row input { flex: 1 1 180px; min-width: 0; max-width: 320px; margin: 0; }
#panel .tk-ten-b { color: var(--accent); font-size: 17px; }
#panel button.tk-doi { margin-left: 8px; padding: 2px 10px; font-size: 13px; }
#panel .tk-ten .tk-note { margin: 6px 0 2px; }
#panel .tk-cach { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin: 10px 0 6px; }
#panel .tk-o { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: rgba(255, 255, 255, 0.04); min-width: 0; }
#panel .tk-o-t { margin-bottom: 6px; line-height: 1.4; }
#panel .tk-o .tk-g { margin: 8px 0 4px; }
#panel .tk-tab { display: flex; gap: 4px; margin: 4px 0 8px; }
#panel .tk-tab button { flex: 1 1 0; padding: 6px 8px; font-size: 13px; opacity: 0.7; }
#panel .tk-tab button.on { opacity: 1; border-color: var(--accent); color: var(--accent); background: rgba(255, 200, 80, 0.08); }
#panel .tk-mk { display: flex; flex-direction: column; gap: 6px; margin: 0; }
#panel .tk-mk label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--dim); }
#panel input[type="password"] {
display: block; padding: 8px 10px; font: inherit; font-size: 16px; color: var(--text);
background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 8px;
-webkit-user-select: text; user-select: text; touch-action: auto;
}
#panel input[type="password"]:focus { outline: none; border-color: var(--accent); }
#panel .tk-mk input[type="text"], #panel .tk-mk input[type="password"] { width: 100%; max-width: 340px; margin: 0; box-sizing: border-box; font-size: 16px; padding: 7px 9px; }
#panel .tk-mk-nut { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
#panel label.tk-hien { flex-direction: row; align-items: center; gap: 5px; cursor: pointer; min-height: 30px; }
#panel label.tk-hien input { width: 18px; height: 18px; margin: 0; }
#panel form.tk-mk.tk-ten { gap: 6px; }
#panel .moi-ten { margin: 8px 0; }
#panel .moi-ten button, #panel .moi-note button { margin-left: 6px; }
@media (max-height: 460px) {
#panel .tk-g { margin: 8px 0 4px; }
#panel .tk-cach { gap: 8px; margin: 6px 0 4px; }
#panel .tk-o { padding: 8px 10px; }
#panel .tk-mk input[type="text"], #panel .tk-mk input[type="password"] { padding: 5px 8px; }
#panel .tk-ten { padding: 8px 10px; }
}
/* css/chao.css */
#panel .chao h2 { margin-right: 36px; }
#panel .chao-moi { font-size: 16px; margin: 4px 0 10px; }
#panel .chao-loi { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 12px; }
#panel .chao-loi li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.4; }
#panel .chao-loi li > span:first-child { font-size: 20px; line-height: 1.1; flex: none; }
#panel .chao-nut { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
#panel .chao-nut button { flex: 1 1 220px; padding: 11px 14px; font-size: 16px; }
#panel .chao-nho { font-size: 13px; margin: 4px 0 8px; }
#panel .chao-app { font-size: 13px; margin: 4px 0 6px; padding: 6px 9px; border-radius: 8px; background: rgba(239, 107, 74, 0.12); border: 1px solid rgba(239, 107, 74, 0.4); line-height: 1.4; }
#panel label.chao-an { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; cursor: pointer; margin: 8px 0 4px; }
#panel label.chao-an input { width: 18px; height: 18px; margin: 0; flex: none; }
#panel select { font: inherit; font-size: 14px; color: var(--text); background: #1b2529; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; }
#panel .chao-duoi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; }
#panel .chao-duoi label.chao-an { flex: 0 1 auto; }
#panel .chao-cai { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(242, 193, 78, 0.45); background: rgba(242, 193, 78, 0.06); }
#panel .chao-cai-ic { font-size: 26px; flex: none; }
#panel .chao-cai-chu { flex: 1 1 auto; line-height: 1.35; font-size: 14px; }
#panel .chao-cai button { flex: none; }
#panel .mhc-ic { width: 1.25em; height: 1.25em; vertical-align: -0.28em; color: #6fb6ff; }
#panel .mhc-may { margin: 8px 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
#panel .mhc-may summary { cursor: pointer; padding: 9px 12px; font-weight: 700; }
#panel .mhc-may[open] summary { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#panel .mhc-buoc { margin: 8px 0 6px; padding: 0 12px 0 34px; counter-reset: b; list-style: none; }
#panel .mhc-buoc li { position: relative; margin: 0 0 8px; line-height: 1.5; counter-increment: b; }
#panel .mhc-buoc li::before { content: counter(b); position: absolute; left: -26px; top: 1px; width: 20px; height: 20px; border-radius: 50%;
background: var(--accent); color: #1d1606; font-weight: 800; font-size: 12px; line-height: 20px; text-align: center; }
#panel .mhc-luu { margin: 0 12px 10px; font-size: 13px; line-height: 1.45; color: var(--accent); }
#panel .mhc-app { padding: 8px 10px; border-radius: 8px; background: rgba(239, 107, 74, 0.12); border: 1px solid rgba(239, 107, 74, 0.4); }
#panel .mhc-mot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 10px; }
#panel .mhc-mot button { padding: 11px 16px; font-size: 16px; }
@media (max-height: 460px) {
#panel .chao h2 { font-size: 19px; }
#panel .chao-moi { margin: 2px 0 6px; font-size: 14px; line-height: 1.4; }
#panel .chao-nho { display: none; }
#panel label.chao-an { margin: 4px 0; font-size: 13px; }
#panel .chao-loi { margin-bottom: 8px; gap: 4px 8px; }
#panel .chao-loi li { padding: 5px 8px; font-size: 12.5px; line-height: 1.3; }
#panel .chao-loi li > span:first-child { font-size: 17px; }
#panel .chao-nut button { padding: 8px 12px; font-size: 15px; }
#panel .chao-cai { margin-top: 2px; padding: 5px 10px; }
#panel .chao-cai-ic { font-size: 22px; }
#panel .chao-cai-chu { font-size: 13px; }
}
/* css/online.css */
#on-hud { left: 12px; bottom: calc(var(--bar-h, 84px) + 92px); display: flex; gap: 6px; align-items: stretch; z-index: 6; }
#on-hud.low { bottom: calc(var(--bar-h, 84px) + 46px); }
#on-hud.dao { z-index: 16; left: 8px; bottom: 50px; }
#on-hud.xem { z-index: 7; left: 12px; bottom: 74px; }
#on-hud.fight { bottom: auto; }
#on-chip {
background: var(--panel); font-size: 13px; padding: 6px 11px; text-align: left; line-height: 1.3;
max-width: min(46vw, 340px); border-color: rgba(78,163,255,0.55); font-variant-numeric: tabular-nums;
}
#on-chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#on-l2 { font-size: 12px; color: #ffe7a6; }
#on-hud.off #on-chip { border-color: var(--line); color: #c9d6d0; }
#on-hud.fight #on-chip { font-size: 12px; padding: 4px 9px; border-color: rgba(242,193,78,0.6); }
#on-chat-b { background: var(--panel); font-size: 17px; padding: 2px 10px; min-width: 42px; border-color: rgba(78,163,255,0.55); }
#on-chat {
z-index: 17; width: min(360px, 92vw); overflow-y: auto; padding: 8px;
background: var(--panel-solid); border: 1px solid rgba(78,163,255,0.55); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.on-emo { display: flex; flex-wrap: wrap; gap: 4px; }
.on-emo button { font-size: 20px; padding: 3px 6px; min-width: 38px; line-height: 1.2; }
.on-cau { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.on-cau button { font-size: 13px; padding: 6px 8px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.on-box { margin: 4px 0 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(78,163,255,0.05); line-height: 1.5; }
.on-box.on { border-color: rgba(78,163,255,0.6); background: rgba(78,163,255,0.09); }
.on-h { margin-bottom: 4px; }
.on-row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 6px 0; }
#panel .on-row input[type="text"] { width: 8.5em; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 8px; }
#panel .on-small { font-size: 12.5px; }
.on-ma { color: #8fd0ff; letter-spacing: 0.06em; }
.on-dua { padding: 9px 12px; border: 1px solid rgba(242,193,78,0.45); background: rgba(242,193,78,0.07); border-radius: 10px; line-height: 1.5; }
.on-bang { width: 100%; margin-top: 6px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.on-bang td { padding: 3px 6px; border-top: 1px solid rgba(255,255,255,0.06); }
.on-bang td:first-child { width: 2.2em; text-align: center; }
.on-bang td.num { text-align: right; white-space: nowrap; }
.on-bang tr.me td { color: var(--accent); font-weight: 700; }
.on-giu { margin-top: 8px; padding: 8px 12px; border: 1px dashed rgba(122,190,255,0.65); background: rgba(78,163,255,0.06); border-radius: 10px; line-height: 1.6; }
.on-giu button { padding: 3px 10px; font-size: 13px; }
.on-ds { display: grid; gap: 6px; }
.on-p { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.025); }
.on-p.me { border-color: rgba(242,193,78,0.5); }
.on-p .o { min-width: 3.4em; color: var(--dim); font-variant-numeric: tabular-nums; }
.on-p .t { flex: 1 1 auto; min-width: 0; line-height: 1.38; }
.on-p .b { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.on-p .b button { padding: 4px 9px; font-size: 13px; }
.on-log { margin-top: 8px; max-height: 150px; overflow: auto; font-size: 13px; line-height: 1.5; padding: 6px 10px; background: rgba(255,255,255,0.03); border-radius: 8px; }
.on-log .chat { color: #d6ecff; }
.on-log .ca { color: #c9f3cd; }
#panel .on-emo, #panel .on-cau { max-width: 560px; }
#panel .on-cau { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.card.on-mapbox { margin-top: 8px; border-color: rgba(78,163,255,0.5); background: rgba(78,163,255,0.06); }
.on-mp { display: inline-flex; align-items: center; gap: 6px; margin: 2px 14px 2px 0; }
.on-mp button { padding: 2px 8px; font-size: 12px; }
@media (max-width: 720px) { #on-hud { left: 8px; } #on-hud.xem { left: 8px; bottom: 58px; } }
@media (max-height: 460px) {
#on-hud { bottom: calc(var(--bar-h, 84px) + 84px); }
#on-hud.low { bottom: calc(var(--bar-h, 84px) + 46px); }
#on-hud.dao { bottom: 42px; }
#on-hud.xem { bottom: 48px; }
#on-chip { font-size: 11.5px; padding: 4px 9px; max-width: 42vw; }
#on-l2 { font-size: 11px; }
#on-chat-b { font-size: 15px; padding: 1px 8px; min-width: 36px; }
#on-chat { width: min(560px, 94vw); padding: 6px; }
#on-chat .on-cau { grid-template-columns: repeat(3, 1fr); }
.on-emo button { font-size: 17px; padding: 2px 5px; min-width: 34px; }
.on-cau button { font-size: 12px; padding: 4px 6px; }
}
.on-the { display: inline-block; font-size: 10.5px; font-weight: 700; line-height: 1.35; padding: 0 4px; margin-right: 4px; border-radius: 4px;
border: 1px solid var(--accent, #6ab8ff); color: var(--accent, #6ab8ff); vertical-align: 1px; letter-spacing: .3px; }
.on-huy { margin-left: 3px; font-size: 12px; cursor: help; }
.on-an { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.on-an input { width: 16px; height: 16px; margin: 0; }
.on-p .b button { margin-left: 4px; }
.on-dv { margin-top: 8px; padding: 8px 12px; border: 1px solid rgba(120,214,160,0.5); background: rgba(120,214,160,0.06); border-radius: 10px; line-height: 1.5; }
.on-dv .on-row { margin: 5px 0 2px; }
.on-dv button { padding: 3px 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.on-dv #onp-dv-tha { margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.on-log .dv { color: #ffe0a8; }
@media (max-height: 460px) { .on-dv { padding: 6px 9px; } .on-dv button { padding: 2px 8px; font-size: 12px; } }
#on-tin { position: absolute; left: 0; bottom: 100%; margin-bottom: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
width: max-content; max-width: var(--goc-w, min(40vw, 420px)); pointer-events: none; }
.on-tin { background: rgba(10, 18, 22, 0.72); border: 1px solid rgba(78, 163, 255, 0.35); border-radius: 8px; padding: 3px 9px;
font-size: 12.5px; line-height: 1.35; color: #e8efe9; text-align: left; overflow-wrap: anywhere; transition: opacity 0.45s; }
.on-tin.good { border-color: rgba(95, 196, 106, 0.55); }
.on-tin.out { opacity: 0; }
#on-hud.fight #on-tin { display: none; }
.on-tinchon { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 12px; }
.on-tinchon .btnrow { margin: 0; }
@media (max-height: 460px) {
#on-tin { max-width: var(--goc-w, min(36vw, 380px)); margin-bottom: 4px; }
.on-tin { font-size: 11.5px; padding: 2px 7px; }
}
@media (max-width: 720px), (max-height: 460px) {
#on-tin .on-tin, #tin-goc .on-tin { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
}
.on-go { display: flex; gap: 6px; align-items: stretch; margin: 6px 0 2px; }
.on-go input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: rgba(0,0,0,0.28);
border: 1px solid rgba(78,163,255,0.45); border-radius: 8px; padding: 6px 10px; }
.on-go input:focus { outline: none; border-color: rgba(78,163,255,0.9); background: rgba(0,0,0,0.4); }
.on-go button { flex: 0 0 auto; padding: 6px 14px; }
.on-go-bao { font-size: 12.5px; color: #ffd2a8; line-height: 1.4; margin: 2px 2px 4px; }
.on-go-bao.hidden { display: none; }
.on-chat-ls { max-height: 96px; overflow-y: auto; font-size: 13px; line-height: 1.4; padding: 2px 4px 4px; }
.on-chat-ls:empty { display: none; }
.on-chat-ls .on-cm { padding: 1px 0; }
#on-chat .on-go { margin-top: 2px; }
.on-chat-nhanh { margin-top: 6px; }
#on-chat.go { z-index: 40; display: flex; flex-direction: column; overflow: hidden; }
#on-chat.go .on-chat-nhanh { display: none; }
#on-chat.go .on-chat-ls { flex: 1 1 auto; max-height: none; min-height: 0; }
.on-kenh { max-height: 230px; overflow-y: auto; font-size: 13.5px; line-height: 1.45; padding: 6px 10px; background: rgba(78,163,255,0.06);
border: 1px solid rgba(78,163,255,0.22); border-radius: 8px; }
.on-cm { overflow-wrap: anywhere; padding: 2px 0; }
.on-cm b { color: #a9d4ff; font-weight: 600; }
.on-cm.me b { color: #c9f3cd; }
.on-cm-g { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.on-cm-n { padding: 0 7px; margin-left: 6px; font-size: 13px; line-height: 1.3; vertical-align: 1px; background: transparent; border-color: rgba(255,255,255,0.12); }
.on-cm-mo { margin: 4px 0 6px 2px; }
.on-cm-mo button { font-size: 12.5px; padding: 3px 9px; }
.on-h-nho { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; font-size: 12.5px; }
.on-nhanh { margin: 6px 0 2px; }
.on-nhanh summary { cursor: pointer; color: var(--dim); font-size: 13px; padding: 3px 0; }
.on-nhanh[open] summary { margin-bottom: 6px; }
.on-tin.bam { pointer-events: auto; cursor: pointer; }
.on-tin.tn { border-color: rgba(242, 193, 78, 0.7); background: rgba(40, 30, 8, 0.82); }
.on-chat-tn { margin-bottom: 6px; }
.on-chat-tn.hidden { display: none; }
.on-chat-tn .on-tin { display: block; width: 100%; color: #fff4d6; font-size: 13px; padding: 5px 9px; }
@media (max-height: 460px) {
.on-chat-ls { max-height: 64px; font-size: 12px; }
.on-kenh { max-height: 150px; font-size: 12.5px; }
.on-go input { padding: 4px 8px; }
.on-go button { padding: 4px 10px; }
}
/* css/khoeca.css */
.nk-vao { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.nk-vao button { border-color: var(--accent); background: rgba(242,193,78,0.14); font-weight: 600; }
.nk-tabs { margin-bottom: 10px; }
.nk-chips { margin-bottom: 10px; gap: 6px; }
.nk-chips button { font-size: 13px; padding: 4px 10px; border-radius: 14px; }
.nk-chips button.on { border-color: var(--accent); background: rgba(242,193,78,0.2); }
.nk-trong { padding: 18px 0; color: var(--dim); }
.nk-nho { font-size: 12.5px; }
.nk-list { display: flex; flex-direction: column; gap: 6px; }
.nk-row {
padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,0.04);
cursor: pointer; -webkit-user-select: none; user-select: none;
}
.nk-row:hover { border-color: rgba(242,193,78,0.6); background: rgba(242,193,78,0.07); }
.nk-r1 { font-size: 15px; display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; }
.nk-r2 { font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.nk-kl { color: var(--accent); font-weight: 700; font-size: 12.5px; margin-left: 4px; white-space: nowrap; }
.nk-cv { width: 100%; max-width: 460px; height: 150px; display: block; margin: 4px auto 8px; }
.nk-ct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 14px; }
.nk-ct > div { border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; background: rgba(255,255,255,0.04); min-width: 0; }
.nk-ct span { display: block; font-size: 12px; color: var(--dim); }
.nk-ct b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.nk-ct .nk-rong { grid-column: 1 / -1; }
.nk-tom { margin-bottom: 4px; }
.nk-bar { display: grid; grid-template-columns: minmax(150px, 34%) 1fr auto; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; }
.nk-bt { height: 12px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.nk-bt i { display: block; height: 100%; border-radius: 6px; background: #5d8fa0; }
.nk-bar.top .nk-bt i { background: var(--accent); }
.nk-bar.top .nk-bl { color: var(--accent); font-weight: 700; }
.nk-bn { font-size: 13px; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nk-bn b { color: var(--text); }
@media (max-width: 720px), (max-height: 460px) {
.nk-ct { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nk-cv { height: 110px; }
.nk-bar { grid-template-columns: minmax(120px, 38%) 1fr auto; gap: 8px; font-size: 13px; }
.nk-row { padding: 6px 9px; }
}
@media (max-height: 460px) { #panel .nk-gt { display: none; } .nk-tabs { margin-top: 6px; } }
@media (max-width: 520px) {
.nk-ct { grid-template-columns: repeat(2, 1fr); }
.nk-bar { grid-template-columns: 1fr auto; }
.nk-bar .nk-bt { grid-column: 1 / -1; grid-row: 2; }
}
.catch .btns { flex-wrap: wrap; }
.catch .btns [data-act="kc-khoe"] { border-color: var(--accent); background: rgba(242,193,78,0.14); }
#kc-xem {
position: absolute; inset: 0; z-index: 26; background: rgba(5,10,13,0.93);
display: flex; align-items: center; justify-content: center; padding: 10px;
}
.kc-hop { display: flex; gap: 16px; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
#kc-anh {
display: block; height: min(92vh, 675px); width: auto; max-width: 62vw; aspect-ratio: 4 / 5; object-fit: contain;
border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,0.6); background: #0d1418;
-webkit-user-select: auto; user-select: auto; -webkit-touch-callout: default;
}
.kc-ben { display: flex; flex-direction: column; gap: 10px; width: min(260px, 34vw); }
.kc-ben .kc-td { font-size: 18px; }
.kc-ben button { padding: 11px 14px; font-size: 15px; }
.kc-meo { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; }
.kc-meo.kc-ok { color: #9be3a4; }
.kc-meo.kc-loi { color: #ffb9a6; }
@media (max-height: 460px) {
#kc-xem { padding: 6px; }
#kc-anh { height: calc(100vh - 12px); }
.kc-ben { gap: 7px; }
.kc-ben button { padding: 8px 12px; font-size: 14px; }
}
@media (orientation: portrait) and (max-width: 720px) {
.kc-hop { flex-direction: column; gap: 10px; }
#kc-anh { height: auto; width: min(92vw, 60vh * 0.8); max-width: 92vw; }
.kc-ben { width: min(92vw, 420px); flex-direction: row; flex-wrap: wrap; justify-content: center; }
.kc-ben .kc-td { display: none; }
.kc-ben button { flex: 1 1 auto; }
.kc-meo { flex-basis: 100%; text-align: center; }
}
/* css/dandat.css */
body.dd-an #hud-tr, body.dd-an #status, body.dd-an #btn-dao, body.dd-an #on-hud, body.dd-an #on-chat { display: none !important; }
body.dd-an #hud-bottom { visibility: hidden; }
#dd-chao {
position: absolute; inset: 0; z-index: 30; padding: 12px;
display: flex; align-items: center; justify-content: center;
background: rgba(6, 12, 16, 0.8);
}
#dd-chao .dd-the {
width: min(500px, 100%); max-height: 100%; overflow: auto; text-align: center;
background: var(--panel-solid); border: 1px solid var(--accent); border-radius: 14px;
padding: 20px 22px 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
#dd-chao h2 { margin: 0 0 8px; font-size: 22px; }
#dd-chao p { margin: 0 0 16px; line-height: 1.55; font-size: 15px; }
#dd-chao p b { color: var(--accent); }
.dd-nut { display: flex; flex-direction: column; align-items: center; gap: 10px; }
#dd-di { font-size: 19px; padding: 13px 30px; min-height: 52px; box-shadow: 0 0 0 3px rgba(95, 196, 106, 0.35); }
#dd-thoi { font-size: 14px; padding: 9px 16px; min-height: 40px; color: var(--dim); background: none; }
#dd-box {
position: absolute; z-index: 8; left: 50%; bottom: 12px; transform: translateX(-50%);
width: max-content; max-width: min(760px, calc(100vw - 24px));
display: flex; align-items: center; gap: 10px;
padding: 9px 12px 9px 10px; border-radius: 12px;
background: rgba(12, 20, 25, 0.92); border: 1px solid var(--accent);
box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
font-size: 16px; line-height: 1.35; pointer-events: none;
}
#dd-buoc {
flex: none; padding: 2px 9px; border-radius: 10px; white-space: nowrap;
background: var(--accent); color: #2a1e00; font-size: 12px; font-weight: 800;
}
#dd-loi { flex: 1 1 auto; min-width: 0; font-weight: 600; }
#dd-loi b { color: var(--accent); font-weight: 800; }
#dd-bo { flex: none; pointer-events: auto; font-size: 12px; padding: 5px 9px; min-height: 30px; color: var(--dim); white-space: nowrap; }
#dd-tiep { flex: none; pointer-events: auto; font-size: 16px; padding: 10px 20px; min-height: 44px; white-space: nowrap; }
#dd-box.gap { border-color: #ff6a4c; background: rgba(78, 18, 10, 0.94); animation: dd-gap 0.5s steps(2) infinite; }
#dd-box.gap #dd-loi { font-size: 1.12em; }
@keyframes dd-gap { 50% { box-shadow: 0 0 0 4px rgba(255, 106, 76, 0.55); } }
body.fighting #dd-box { left: 12px; transform: none; max-width: calc(100vw - 250px); }
body.dd-an.fighting #toasts { bottom: 72px; }
#dd-vong {
position: absolute; z-index: 7; pointer-events: none; border-radius: 14px;
border: 3px solid var(--accent);
box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.22), 0 0 20px rgba(242, 193, 78, 0.65);
animation: dd-tho 0.9s ease-in-out infinite alternate;
}
#dd-vong.gap { border-color: #ff6a4c; box-shadow: 0 0 0 4px rgba(255, 106, 76, 0.3), 0 0 22px rgba(255, 106, 76, 0.8); animation-duration: 0.3s; }
@keyframes dd-tho { from { opacity: 0.45; } to { opacity: 1; } }
#dd-tay {
position: absolute; z-index: 7; left: 50%; top: 54%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.14);
color: #fff; text-shadow: 0 1px 3px #000; pointer-events: none;
animation: dd-an 1.1s ease-in-out infinite;
}
#dd-tay i { font-style: normal; font-size: 26px; line-height: 1; }
#dd-tay b { font-size: 14px; letter-spacing: 0.04em; }
@keyframes dd-an { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.84); } }
.dd-chuc {
margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; line-height: 1.45; font-weight: 600;
background: rgba(95, 196, 106, 0.14); border: 1px solid rgba(95, 196, 106, 0.55);
}
.dd-chuc b { color: var(--accent); }
#dd-chan { position: absolute; inset: 0; z-index: 6; background: rgba(0, 0, 0, 0.38); }
body.dd-meo #dd-box {
left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%);
flex-direction: column; text-align: center; gap: 12px;
width: min(460px, calc(100vw - 32px)); max-width: none; padding: 16px 18px;
}
body.dd-meo #dd-loi { font-weight: 400; line-height: 1.5; }
@media (max-height: 460px) {
#dd-chao .dd-the { padding: 12px 16px; }
#dd-chao h2 { font-size: 18px; margin-bottom: 4px; }
#dd-chao p { font-size: 13.5px; margin-bottom: 10px; line-height: 1.45; }
.dd-nut { flex-direction: row; justify-content: center; flex-wrap: wrap; }
#dd-di { font-size: 17px; padding: 10px 22px; min-height: 46px; }
#dd-box { bottom: 6px; padding: 6px 9px 6px 8px; gap: 8px; font-size: 14px; max-width: calc(100vw - 16px); }
#dd-buoc { font-size: 11px; padding: 2px 7px; }
#dd-bo { font-size: 11px; padding: 4px 7px; }
body.fighting #dd-box { left: 8px; max-width: calc(100vw - 226px); }
body.dd-an.fighting #toasts { bottom: 58px; }
#dd-tay { width: 76px; height: 76px; margin: -38px 0 0 -38px; top: 56%; }
#dd-tay i { font-size: 21px; }
#dd-tay b { font-size: 12px; }
body.dd-meo #dd-box { padding: 10px 14px; gap: 8px; }
.catch.dd-co #catch-cv { height: 92px; margin: 2px auto; }
.catch.dd-co .stats { margin: 4px 0 8px; gap: 18px; }
.catch.dd-co .stats b { font-size: 18px; }
.catch.dd-co .dd-chuc { margin-bottom: 8px; padding: 6px 10px; font-size: 13.5px; }
}
@media (max-width: 520px) {
#dd-box { flex-wrap: wrap; justify-content: center; text-align: center; font-size: 14px; }
body.fighting #dd-box { max-width: calc(100vw - 24px); bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
#dd-vong, #dd-tay, #dd-box.gap { animation: none; }
}
/* css/thanhtich.css */
.tt-dau { margin: 10px 0 8px; }
.tt-deo { color: var(--accent); }
.tt-dh, .tt-loc { margin: 8px 0; }
.tt-dh button.on, .tt-loc button.on, .qt-muc button.on, .qt-cot button.on, .qt-gio button.on { border-color: var(--accent); background: rgba(242,193,78,0.2); }
.tt-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.tt-o { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: rgba(255,255,255,0.03); min-width: 0; }
.tt-o.xong { border-color: rgba(242,193,78,0.55); background: rgba(242,193,78,0.07); }
.tt-o.moi { border-color: var(--good); box-shadow: 0 0 0 1px var(--good) inset; }
.tt-h { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tt-b { font-size: 18px; flex: none; }
.tt-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-new { flex: none; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 6px; background: var(--good); color: #0e1a10; }
.tt-huy { flex: none; white-space: nowrap; font-size: 15px; }
.tt-huy i { font-style: normal; filter: grayscale(1); opacity: 0.28; }
.tt-huy i.co { filter: none; opacity: 1; }
.tt-mt { color: var(--dim); font-size: 12.5px; line-height: 1.4; margin: 3px 0 6px; }
.tt-moc { white-space: nowrap; opacity: 0.85; }
.tt-o .qbar { grid-column: auto; }
.tt-td { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 13px; font-variant-numeric: tabular-nums; }
.tt-tg { color: var(--dim); white-space: nowrap; }
.tt-dhm { margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--dim); }
.tt-nho, .qt-nho { font-size: 12.5px; }
.tt-nho { margin-top: 12px; }
.qt-ma { font-family: ui-monospace, Consolas, monospace; font-size: 0.86em; color: var(--dim); letter-spacing: 0.04em; white-space: nowrap; }
.qt-lys { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.qt-ly { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.04); cursor: pointer; }
.qt-ly input { margin-top: 3px; flex: none; accent-color: var(--accent); }
.qt-ly span { min-width: 0; }
.qt-ly i { display: block; font-style: normal; font-size: 12.5px; color: var(--dim); }
.qt-ly:has(input:checked) { border-color: var(--accent); background: rgba(242,193,78,0.12); }
#panel h3 .qt-nho { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--dim); }
.qt-dem { text-align: right; font-size: 12.5px; margin-top: -2px; }
#panel .qt-loi, #panel span.qt-loi { color: #ffb4a2; }
#panel div.qt-loi { margin: 8px 0; padding: 7px 10px; border: 1px solid var(--warn); border-radius: 8px; background: rgba(239,107,74,0.12); line-height: 1.45; }
.qt-muc { margin: 10px 0 4px; }
.qt-luc { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; font-size: 12.5px; margin: 2px 0 8px; }
.qt-luc button { font-size: 12.5px; padding: 3px 8px; }
.qt-kq { margin: 8px 0; display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; line-height: 1.5; overflow-wrap: anywhere; }
.qt-kq.ok { border-color: var(--good); }
.qt-kq.hong { border-color: var(--warn); }
.qt-kq button { flex: none; padding: 1px 7px; }
.qt-so { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 6px; margin-bottom: 8px; }
.qt-so div { border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: rgba(255,255,255,0.04); min-width: 0; }
.qt-so b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.qt-so span { display: block; font-size: 12px; color: var(--dim); line-height: 1.3; }
.qt-bd { display: flex; align-items: stretch; gap: 2px; height: 132px; margin: 8px 0 4px; padding-top: 2px; border-bottom: 1px solid var(--line); }
.qt-bd .qt-c { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
padding: 0 0 0; margin: 0; background: none; border: 0; border-radius: 0; color: var(--dim); font-size: 11px; cursor: pointer; position: relative; }
.qt-bd .qt-c:hover { background: rgba(255,255,255,0.05); }
.qt-bd .qt-c:active { transform: none; }
.qt-bd .qt-c i { display: block; width: 72%; max-width: 30px; min-height: 2px; flex: none; background: #5aa9d6; border-radius: 4px 4px 0 0; }
.qt-bd .qt-c.on i { background: #a6dbf7; }
.qt-bd .qt-c.on .qt-cn { color: var(--text); font-weight: 700; }
.qt-cv { flex: 1 1 auto; display: flex; align-items: flex-end; padding-bottom: 2px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qt-cn { flex: none; height: 16px; line-height: 16px; margin-bottom: -18px; }
.qt-bdct { margin-top: 22px; font-size: 13.5px; line-height: 1.55; }
.qt-bd .qt-c i { order: 2; } .qt-cv { order: 1; } .qt-cn { order: 3; }
.qt-bd.qt-day { gap: 1px; }
.qt-bd.qt-day .qt-c i { width: 90%; border-radius: 2px 2px 0 0; }
.qt-bd.qt-day .qt-cv, .qt-bd.qt-day .qt-cn { font-size: 9px; white-space: nowrap; }
.qt-dong { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 6px 0; background: rgba(255,255,255,0.03); overflow-wrap: anywhere; }
.qt-dong.nang { border-color: rgba(239,107,74,0.65); }
.qt-dong.gon { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.qt-dong .btnrow { margin-top: 7px; gap: 6px; }
.qt-dong.gon .btnrow { margin-top: 0; }
.qt-dong .btnrow button { font-size: 13px; padding: 5px 9px; }
.qt-ai { line-height: 1.5; }
.qt-ct { font-size: 13.5px; line-height: 1.55; margin-top: 2px; }
.qt-the { display: inline-block; font-size: 11.5px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--warn); color: #ffb4a2; white-space: nowrap; }
.qt-ghi { margin: 5px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.qt-ghi li { margin: 2px 0; }
.qt-nua summary, .qt-giai summary { cursor: pointer; color: var(--accent); font-size: 13px; padding: 4px 0; }
.qt-giai { margin: 4px 0 8px; padding: 4px 10px; border: 1px dashed var(--line); border-radius: 8px; font-size: 13.5px; }
.qt-hang { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
#panel .qt-hang input[type="text"] { width: 150px; flex: 0 1 150px; margin: 0; }
#panel .qt-tuy input[type="text"] { width: 80px; flex-basis: 80px; }
.qt-hang select { font: inherit; font-size: 16px; color: var(--text); background: #1d2c34; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
#qt-ma-in { text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.08em; }
.qt-xn h3:first-child { margin-top: 10px; }
.qt-nhan { margin: 10px 0 4px; font-weight: 600; }
.qt-noi { margin: 10px 0; overflow-wrap: anywhere; }
@media (max-width: 720px), (max-height: 460px) {
.tt-luoi { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.tt-o { padding: 6px 8px; }
.tt-dau { font-size: 12.5px; line-height: 1.5; padding: 6px 9px; margin: 6px 0; }
.tt-dh, .tt-loc { margin: 5px 0; gap: 5px; }
.tt-dh button, .tt-loc button, .qt-muc button, .qt-cot button { font-size: 12.5px; padding: 4px 8px; }
.qt-muc { margin: 6px 0 2px; gap: 5px; }
.qt-bd { height: 104px; }
.qt-so b { font-size: 17px; }
.qt-dong { padding: 7px 8px; }
}
/* css/kyluc.css */
.kl-chon { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 10px 0; }
.kl-chips { gap: 6px; }
.kl-chips button { font-size: 13px; padding: 4px 11px; border-radius: 14px; }
.kl-chips button.on { border-color: var(--accent); background: rgba(242,193,78,0.2); }
.kl-trong { padding: 16px 0; color: var(--dim); }
#panel .kl-nho { font-size: 12.5px; margin-top: 10px; }
#panel .kl-loi { border-color: rgba(239,107,74,0.55); color: #ffd2c6; }
#panel p.kl-loi { font-size: 13px; margin: 0 0 8px; }
.kl-loi button, .kl-moi button { padding: 3px 10px; font-size: 13px; margin-left: 6px; }
#panel .kl-moi { margin: 8px 0; padding: 7px 11px; border: 1px dashed rgba(122,190,255,0.6); border-radius: 9px; background: rgba(78,163,255,0.06); font-size: 13.5px; }
#panel .kl-cam { margin: 8px 0; padding: 7px 11px; border: 1px solid rgba(239,107,74,0.55); border-radius: 9px; background: rgba(239,107,74,0.08); color: #ffd2c6; font-size: 13.5px; }
.kl-tn { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.kl-ten { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kl-the { flex: none; color: #8fd0ff; font-size: 12px; letter-spacing: 0.03em; }
.kl-toi { flex: none; color: var(--accent); font-size: 12px; }
.kl-bang { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.kl-bang td { padding: 3px 6px; border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.kl-bang td.h { width: 2.4em; text-align: center; color: var(--dim); }
.kl-bang td.num { width: 9.6em; text-align: right; white-space: nowrap; }
.kl-bang small, .kl-p small { color: var(--dim); font-size: 12px; }
.kl-bang tr.me td, .kl-p.me, .kl-nhat.me .kl-l1 { color: var(--accent); font-weight: 700; }
.kl-bang tr.me td { background: rgba(242,193,78,0.09); }
.kl-bang tr.bb td, .kl-p.bb, .kl-nhat.bb .kl-l1 { color: #a9d8ff; }
.kl-bang tr.bb td { background: rgba(78,163,255,0.07); }
.kl-bang tr.sep td { text-align: center; color: var(--dim); padding: 0; line-height: 1; }
.kl-2cot { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 10px 18px; align-items: start; margin-top: 10px; }
.kl-cot { min-width: 0; }
.kl-tt { font-weight: 700; margin-bottom: 4px; }
.kl-tt .dim { font-weight: 400; font-size: 12.5px; }
.kl-tuan { line-height: 1.55; }
.kl-toidong { margin-top: 4px; }
#panel .kl-tuan .kl-moi, #panel .kl-tuan .kl-cam { margin: 6px 0 0; }
.kl-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kl-loai { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: rgba(255,255,255,0.03); min-width: 0; }
.kl-dau { display: flex; gap: 10px; align-items: center; min-width: 0; }
.kl-cv { flex: none; width: 104px; height: 54px; display: block; }
.kl-nhat { flex: 1 1 auto; min-width: 0; line-height: 1.4; }
.kl-lt { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.kl-l1 { display: flex; gap: 5px; align-items: baseline; min-width: 0; }
.kl-l1 .kl-tn { flex: 1 1 auto; }
.kl-l2 { font-size: 12px; }
.kl-phu { margin-top: 5px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; font-variant-numeric: tabular-nums; }
.kl-p { display: flex; gap: 6px; align-items: baseline; padding: 1px 0; min-width: 0; }
.kl-p .h { flex: none; width: 1.3em; text-align: center; color: var(--dim); }
.kl-p .kl-tn { flex: 1 1 auto; }
.kl-p .num { flex: none; }
.gg-dang, .gg-truoc { padding: 9px 12px; border-radius: 10px; line-height: 1.5; }
.gg-dang { border: 1px solid rgba(242,193,78,0.5); background: rgba(242,193,78,0.07); }
.gg-truoc { border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.gg-dau { display: flex; gap: 6px 14px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.gg-dh { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gg-dh b { color: var(--accent); font-size: 18px; }
.gg-dang .kl-bang, .gg-truoc .kl-bang { margin-top: 6px; }
.gg-qua { margin: 8px 0; padding: 8px 12px; border: 1px solid rgba(95,196,106,0.6); border-radius: 10px; background: rgba(95,196,106,0.1); line-height: 1.5; }
.gg-qua button { margin-left: 6px; padding: 4px 12px; }
.gg-qua.xong { color: #c9f3cd; }
.gg-lich { display: grid; gap: 4px; }
.gg-l { display: flex; gap: 4px 10px; align-items: baseline; flex-wrap: wrap; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.03); font-size: 14px; }
.gg-gio { color: var(--accent); font-size: 16px; font-variant-numeric: tabular-nums; }
.gg-ngay { min-width: 4.6em; }
.gg-ten { flex: 1 1 14em; min-width: 0; }
.gg-sau { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gg-thuong { line-height: 1.6; }
.gg-phi { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: space-between; margin-top: 5px; padding: 5px 9px;
border: 1px dashed rgba(242,193,78,0.5); border-radius: 8px; background: rgba(242,193,78,0.06); font-size: 13.5px; line-height: 1.45; }
.gg-l .gg-phi, .gg-l .gg-hoi { flex: 1 1 100%; }
.gg-nut { white-space: nowrap; }
.gg-nut button { padding: 4px 11px; font-size: 13px; }
.gg-da { color: #9ff0a8; font-weight: 700; }
.gg-nut .gg-huy, .gg-huy { margin-left: 6px; padding: 2px 9px; font-size: 12px; background: none; border-color: rgba(255,255,255,0.25); color: var(--dim); }
.gg-nut .gg-huy:hover { color: var(--text); }
.gg-cho { color: #ffe7a6; }
.gg-hoi { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; padding: 8px 11px; border: 1px solid rgba(242,193,78,0.7);
border-radius: 9px; background: rgba(242,193,78,0.1); line-height: 1.5; font-size: 13.5px; }
.gg-hoi > span:first-child { flex: 1 1 260px; }
.gg-hoi button { padding: 5px 12px; font-size: 13px; }
#kl-chip {
left: 12px; bottom: calc(var(--bar-h, 84px) + 92px); z-index: 6;
background: var(--panel); border-color: rgba(242,193,78,0.6); color: #ffe7a6;
font-size: 13px; padding: 5px 11px; text-align: left; line-height: 1.3; font-variant-numeric: tabular-nums;
max-width: min(62vw, 440px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.fighting #kl-chip, body.dd-an #kl-chip { display: none !important; }
body.dao-on #kl-chip { z-index: 16; left: 8px; bottom: 50px; }
body.xem-on #kl-chip { z-index: 7; bottom: 74px; }
@media (max-width: 720px) { #kl-chip { left: 8px; } }
@media (max-height: 460px) {
#kl-chip { font-size: 11.5px; padding: 4px 9px; bottom: calc(var(--bar-h, 84px) + 84px); max-width: 232px; white-space: normal; }
body.dao-on #kl-chip { bottom: 42px; }
body.xem-on #kl-chip { bottom: 48px; }
.kl-chon { margin: 6px 0; gap: 4px 12px; }
.kl-cv { width: 84px; height: 44px; }
.kl-bang { font-size: 13px; }
.kl-bang td { padding: 2px 5px; }
.kl-bang td.num { width: 8.8em; }
.gg-phi, .gg-hoi { font-size: 12.5px; padding: 4px 8px; }
.gg-nut button, .gg-hoi button { padding: 4px 9px; font-size: 12.5px; }
}
@media (max-width: 620px) {
.kl-2cot, .kl-luoi { grid-template-columns: minmax(0, 1fr); }
}
/* css/banbe.css */
.bb-the { color: #8fd0ff; font-weight: 700; font-size: 0.92em; letter-spacing: 0.03em; white-space: nowrap; }
.bb-huy { margin-left: 2px; cursor: default; }
#panel button.bb-the-nut { background: none; border: 0; padding: 0 1px; font: inherit; font-weight: 700; font-size: 0.92em; color: #8fd0ff; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
#panel button.bb-the-nut:hover { color: #c4e6ff; }
.hoi-tim { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 10px 0 2px; }
.hoi-tim label { color: var(--dim); }
#panel .hoi-tim input[type="text"] { width: 6.5em; margin: 0; padding: 5px 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.hoi-tim button { padding: 5px 10px; font-size: 13px; }
.bb-ma { font-size: 12px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.bb-ten { overflow-wrap: anywhere; }
.bb-cau { color: #9ff0a8; }
.bb-dem { color: #9ff0a8; text-transform: none; letter-spacing: 0; }
.bb-laban { color: #9ff0a8; font-size: 13px; white-space: nowrap; }
button.bb-laban { background: rgba(127,220,138,0.12); border-color: rgba(127,220,138,0.45); }
#panel .bb-nho { font-size: 12.5px; line-height: 1.45; margin-top: 8px; }
#panel .bb-moi { margin: 0 0 10px; }
#panel .bb-moi button, #panel .bb-tt button, #panel .hoi-tt button { padding: 3px 10px; font-size: 13px; margin-left: 4px; }
.bb-toi { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 8px; line-height: 1.4; }
.bb-toi .dim { font-size: 12.5px; flex: 1 1 220px; }
.bb-mato { color: #8fd0ff; font-size: 18px; letter-spacing: 0.12em; -webkit-user-select: all; user-select: all; }
.bb-toi button { padding: 4px 10px; font-size: 13px; }
.bb-them { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.bb-them label { color: var(--dim); }
#panel .bb-them input[type="text"] { width: 9.5em; margin: 0; padding: 6px 9px; text-transform: uppercase; letter-spacing: 0.1em; }
#panel .bb-tb, #panel .hoi-tb { margin: 8px 0 0; }
#panel .bb-tb .good, #panel .hoi-tb .good { color: #9ff0a8; }
#panel .bb-tb .bad, #panel .hoi-tb .bad, #panel .bb-tt .bad, #panel .hoi-tt .bad, #panel .hoi-loi { color: #ffb4a6; }
.bb-ds { display: grid; gap: 6px; }
.bb-p { display: flex; gap: 8px 10px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.025); }
.bb-p.on { border-color: rgba(127,220,138,0.5); background: rgba(127,220,138,0.06); }
.bb-t { flex: 1 1 auto; min-width: 0; line-height: 1.4; }
.bb-b { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; flex: 0 0 auto; max-width: 62%; }
.bb-b button { padding: 5px 10px; font-size: 13px; white-space: nowrap; }
.bb-b button.bb-x { padding: 5px 9px; color: var(--dim); }
.bb-hoilai { font-size: 13px; color: #ffd2c6; }
#panel .bb-trong { margin: 6px 0 10px; }
.hoi-tieu { font-size: 18px; line-height: 1.35; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.hoi-ten { overflow-wrap: anywhere; }
.hoi-mo { font-size: 12.5px; color: #9ff0a8; white-space: nowrap; }
.hoi-mo.dong { color: #ffe7a6; }
.hoi-so { margin: 8px 0 6px; line-height: 1.6; }
#panel .hoi-gt { color: #d9e6e1; font-style: italic; overflow-wrap: anywhere; margin: 6px 0 2px; }
.hoi-ds { display: grid; gap: 5px; }
.hoi-p { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.025); }
.hoi-p.on { border-color: rgba(127,220,138,0.45); }
.hoi-p.me { border-color: rgba(242,193,78,0.55); background: rgba(242,193,78,0.06); }
.hoi-p.mo { background: rgba(78,163,255,0.07); border-color: rgba(78,163,255,0.5); }
.hoi-p.xin { border-style: dashed; border-color: rgba(122,190,255,0.6); }
.hoi-pd { display: flex; gap: 8px; align-items: center; padding: 6px 10px; }
.hoi-pd.bam { cursor: pointer; }
.hoi-pd.bam:hover { background: rgba(255,255,255,0.04); }
.hoi-v { flex: 0 0 1.5em; text-align: center; color: var(--dim); }
.hoi-t { flex: 1 1 auto; min-width: 0; line-height: 1.4; }
.hoi-vt { font-size: 12px; color: var(--accent); white-space: nowrap; }
.hoi-k { flex: 0 0 auto; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hoi-nut { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 2px 10px 8px 10px; }
.hoi-nut button { padding: 5px 10px; font-size: 13px; }
.hoi-hoilai { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 9px 12px; margin: 8px 0; border: 1px solid rgba(255,140,110,0.6); background: rgba(255,120,90,0.09); border-radius: 10px; line-height: 1.5; }
.hoi-nut .hoi-hoilai { margin: 0; flex: 1 1 100%; }
.hoi-hoilai > span:first-child { flex: 1 1 260px; }
.hoi-hoilai button { padding: 5px 12px; font-size: 13px; }
#panel .hoi-duoi { margin-top: 12px; }
#panel .hoi-moi { margin: 8px 0; }
#panel .hoi-moi button { margin-left: 4px; }
.hoi-cho { margin: 8px 0; }
.hoi-cho .btnrow { display: inline-flex; margin-left: 6px; }
.hoi-cho button { padding: 3px 10px; font-size: 13px; }
.hoi-bang { display: grid; gap: 4px; }
.hoi-r { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.025); cursor: pointer; }
.hoi-r:hover { background: rgba(255,255,255,0.07); }
.hoi-r.me { border-color: rgba(242,193,78,0.55); background: rgba(242,193,78,0.07); }
.hoi-h { flex: 0 0 2em; text-align: center; font-variant-numeric: tabular-nums; }
.hoi-n { flex: 0 0 auto; font-size: 12.5px; white-space: nowrap; }
.hoi-form { max-width: 520px; }
.hoi-form label { display: block; margin-top: 10px; line-height: 1.4; }
.hoi-form label .dim { font-size: 12.5px; }
#panel .hoi-form input[type="text"], #panel .hoi-form textarea { margin: 4px 0 2px; }
#panel .hoi-form #hoi-the { width: 7em; text-transform: uppercase; letter-spacing: 0.1em; }
#panel .hoi-form textarea { min-height: 62px; }
#panel .hoi-loi { font-size: 13px; margin: 2px 0 4px; }
.hoi-chon { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 10px 0; }
.hoi-chon button { padding: 5px 10px; font-size: 13px; }
.hoi-cap { font-size: 12px; padding: 1px 7px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); white-space: nowrap; letter-spacing: 0.02em; }
.hoi-cap.c2 { color: #f0b98a; border-color: rgba(205,127,50,0.7); background: rgba(205,127,50,0.12); }
.hoi-cap.c3 { color: #e4ecf2; border-color: rgba(192,205,215,0.75); background: rgba(192,205,215,0.12); }
.hoi-cap.c4 { color: #ffe08a; border-color: rgba(242,193,78,0.85); background: rgba(242,193,78,0.15); }
.hoi-cap.c5 { color: #9ff5d2; border-color: rgba(64,224,170,0.85); background: rgba(64,224,170,0.14); }
.hoi-quy { margin: 8px 0; padding: 8px 12px; border: 1px solid rgba(242,193,78,0.45); border-radius: 10px; background: rgba(242,193,78,0.05); line-height: 1.55; }
.hoi-quy-dau { font-size: 14.5px; }
.hoi-max { color: #9ff5d2; }
.hoi-thanh { height: 7px; margin: 6px 0 5px; border-radius: 4px; background: rgba(255,255,255,0.09); overflow: hidden; }
.hoi-thanh i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #cd7f32, #f2c14e); }
#panel .hoi-quyen { font-size: 12.5px; }
.hoi-quyen span.on { color: #ffe7a6; }
.hoi-gtop, .hoi-cua { font-size: 13.5px; margin-top: 3px; overflow-wrap: anywhere; }
.hoi-gopnut { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 7px; }
.hoi-gopnut button { padding: 4px 10px; font-size: 13px; }
#panel .hoi-gopnut input[type="text"] { width: 6.2em; margin: 0; padding: 4px 8px; }
.hoi-quy .hoi-hoilai { margin: 7px 0 0; }
.hoi-thg { font-size: 13.5px; margin-top: 7px; padding: 6px 9px; border-radius: 8px; background: rgba(242,193,78,0.08); border: 1px solid rgba(242,193,78,0.3); overflow-wrap: anywhere; line-height: 1.5; }
.hoi-thnut { margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(255,255,255,0.14); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.hoi-thnut .hoi-gopnut { margin-top: 5px; }
#panel .hoi-thnut input[type="text"] { width: 6.2em; margin: 0; padding: 4px 8px; }
@media (max-width: 720px), (max-height: 460px) {
.hoi-quy { padding: 6px 9px; } .hoi-quy-dau { font-size: 13px; } .hoi-gopnut button { padding: 4px 8px; font-size: 12.5px; }
.bb-p, .hoi-pd, .hoi-r { padding: 5px 8px; gap: 6px 8px; font-size: 13.5px; }
.bb-b button, .hoi-nut button { padding: 5px 9px; font-size: 12.5px; }
.bb-mato { font-size: 16px; }
.hoi-tieu { font-size: 16px; }
.hoi-so { font-size: 13px; padding: 7px 10px; }
.hoi-n { font-size: 12px; }
#panel .hoi-form textarea { min-height: 48px; }
}
@media (max-width: 480px) {
.bb-p { flex-wrap: wrap; }
.bb-b { max-width: 100%; margin-left: auto; }
.hoi-n { display: none; }
}
/* css/tinnhan.css */
[data-panel="congdong"] { position: relative; }
.tn-cham { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5483b; color: #fff;
font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px rgba(13,20,24,0.9); pointer-events: none; font-variant-numeric: tabular-nums; }
.tn-tim { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 2px 0 6px; }
.tn-tim label { color: var(--dim); font-size: 13.5px; }
.tn-tim input, .tn-go input { font: inherit; font-size: 16px; color: var(--text); background: rgba(0,0,0,0.28); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.tn-tim input { width: 9.5em; text-transform: uppercase; letter-spacing: 0.06em; }
.tn-tim input:focus, .tn-go input:focus { outline: none; border-color: rgba(242,193,78,0.8); }
.tn-tt { margin: 6px 0; }
.tn-moi-so { color: #ff9b8f; text-transform: none; letter-spacing: 0; }
.tn-trong { margin: 8px 0 4px; }
.tn-nho { font-size: 12.5px; margin-top: 12px !important; }
.tn-cuoc { display: flex; flex-direction: column; gap: 6px; }
.tn-r { position: relative; display: block; width: 100%; text-align: left; padding: 8px 40px 8px 12px; background: rgba(255,255,255,0.04); border-radius: 10px; }
.tn-r.moi { border-color: rgba(242,193,78,0.6); background: rgba(242,193,78,0.07); }
.tn-r.chan { opacity: 0.6; }
.tn-r-t { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tn-r-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-r-luc { margin-left: auto; flex: 0 0 auto; color: var(--dim); font-size: 12px; }
.tn-r-m { display: block; color: #c8d5d0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.tn-r.moi .tn-r-m { color: var(--text); font-weight: 600; }
.tn-r-n { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); min-width: 22px; height: 22px; border-radius: 11px; background: #e5483b; color: #fff;
font-size: 12px; line-height: 22px; text-align: center; padding: 0 6px; }
.tn-chands { margin-top: 14px; }
.tn-chands summary { cursor: pointer; color: var(--dim); font-size: 13.5px; }
.tn-chanr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 2px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.tn-dau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.tn-ve { padding: 4px 10px; }
.tn-ai { min-width: 0; }
.tn-ten { font-size: 16px; }
.tn-mama { font-size: 12px; letter-spacing: 0.05em; }
.tn-ds { max-height: min(46vh, 380px); overflow-y: auto; padding: 8px; background: rgba(0,0,0,0.18); border: 1px solid var(--line); border-radius: 10px;
display: flex; flex-direction: column; gap: 5px; overscroll-behavior: contain; }
.tn-ngay { align-self: center; color: var(--dim); font-size: 11.5px; padding: 2px 8px; }
.tn-b { max-width: 82%; padding: 6px 10px 4px; border-radius: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.tn-b.ho { align-self: flex-start; background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.tn-b.toi { align-self: flex-end; background: rgba(95,196,106,0.2); border: 1px solid rgba(95,196,106,0.35); border-bottom-right-radius: 4px; }
.tn-b.cho { opacity: 0.65; }
.tn-b.loi { border-color: rgba(239,107,74,0.7); background: rgba(239,107,74,0.14); }
.tn-b-m { display: block; white-space: pre-wrap; }
.tn-b-g { display: block; text-align: right; color: var(--dim); font-size: 11px; margin-top: 1px; }
.tn-b-g button { font-size: 11.5px; padding: 1px 7px; margin-left: 4px; }
.tn-go { display: flex; gap: 6px; margin-top: 8px; }
.tn-go input { flex: 1 1 auto; min-width: 0; }
.tn-go button { flex: 0 0 auto; padding: 6px 16px; }
.tn-bao { font-size: 13px; color: #ffd2a8; margin: 5px 2px 0; line-height: 1.4; }
.tn-bao.hidden { display: none; }
.tn-chanbao { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(239,107,74,0.1); border: 1px solid rgba(239,107,74,0.35); }
.tn-hoilai { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(239,107,74,0.1); }
.tn-hoilai .btnrow { margin: 0; }
.tn-nut { margin-top: 10px; }
.tn-nut button { font-size: 13px; padding: 4px 10px; }
.kl-nhan { flex: 0 0 auto; padding: 0 5px; font-size: 12px; line-height: 1.35; background: transparent; border-color: rgba(255,255,255,0.12); margin-left: 2px; }
.qt-tin { margin: 4px 0 2px 8px; padding: 4px 8px; border-left: 2px solid rgba(78,163,255,0.5); font-size: 13px; }
.qt-trich li { font-size: 13px; }
@media (max-height: 460px), (max-width: 720px) {
.tn-ds { max-height: 38vh; }
.tn-r { padding: 6px 36px 6px 10px; }
.tn-cham { top: -5px; right: -5px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; padding: 0 4px; }
}
/* css/skins.css */
.sk-khung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; align-items: start; }
.sk-trai { position: sticky; top: 0; z-index: 1; display: flex; flex-direction: column; gap: 8px; background: var(--panel-solid, #121c22); padding-bottom: 4px; }
.sk-san { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #22403b; }
#sk-san { display: block; width: 100%; height: 250px; }
.sk-dem { position: absolute; right: 8px; top: 8px; padding: 4px 10px; font-size: 12.5px; background: rgba(10,16,20,0.65); }
.sk-thu { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.45; min-width: 0; }
.sk-ten { font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.sk-ten .sk-bo { font-size: 13px; }
.sk-dang span { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid var(--line); }
.sk-dang i { font-style: normal; }
.sk-nut2 { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-hangs { display: flex; flex-wrap: wrap; gap: 4px; }
.sk-ghi { font-size: 12px; }
.sk-hang {
display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 11.5px; font-weight: 700;
color: var(--hm, #aaa); border: 1px solid var(--hm, #aaa); background: rgba(0,0,0,0.25); white-space: nowrap;
}
.sk-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.sk-tabs button { padding: 4px 9px; font-size: 13px; }
.sk-tabs button.on { border-color: var(--accent); background: rgba(242,193,78,0.2); color: #ffe7a6; }
.sk-grid { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.sk-card { position: relative; display: flex; flex-direction: column; gap: 3px; }
.sk-card canvas { height: 78px; border-radius: 7px; }
.sk-card .t { line-height: 1.3; }
.sk-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.sk-meta .price { font-weight: 700; }
.sk-fx { font-size: 12px; color: var(--dim); line-height: 1.4; }
.sk-fx .good { color: var(--good); }
.sk-bo { font-weight: 700; }
.sk-nut { margin-top: auto; padding-top: 4px; flex-wrap: wrap; justify-content: flex-start; }
.sk-nut button { padding: 4px 9px; font-size: 12.5px; }
.sk-nut button.on { border-color: var(--accent); background: rgba(242,193,78,0.18); color: #ffe7a6; }
.sk-khoa { font-size: 12px; }
.sk-dung { color: var(--accent); font-size: 13px; }
.sk-card.h-dep { border-color: rgba(78,163,255,0.45); }
.sk-card.h-quy { border-color: rgba(192,123,255,0.55); background: linear-gradient(160deg, rgba(192,123,255,0.09), rgba(255,255,255,0.02)); }
.sk-card.h-huyen { border-color: rgba(255,176,46,0.7); background: linear-gradient(160deg, rgba(255,176,46,0.14), rgba(255,255,255,0.02)); box-shadow: 0 0 10px rgba(255,176,46,0.18) inset; }
.sk-card.h-linh { border-color: rgba(255,125,92,0.75); background: linear-gradient(160deg, rgba(255,125,92,0.15), rgba(80,220,190,0.05) 60%, rgba(255,255,255,0.02)); box-shadow: 0 0 12px rgba(255,125,92,0.2) inset; }
.sk-card.h-vip { border-color: rgba(111,216,255,0.8); background: linear-gradient(160deg, rgba(111,216,255,0.16), rgba(232,185,35,0.08) 55%, rgba(255,255,255,0.02)); box-shadow: 0 0 12px rgba(111,216,255,0.22) inset; }
.sk-card.equipped { border-color: var(--accent); }
.sk-card.thu { box-shadow: 0 0 0 2px rgba(242,193,78,0.55); }
.sk-bocard { border-color: var(--hm); }
.sk-ngam { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin: 6px 0 10px; }
#sk-ngamcv { display: block; width: 100%; height: min(58vh, 470px); }
#tl-gon { display: none; white-space: nowrap; font-variant-numeric: tabular-nums; cursor: pointer; }
#tl-gon .tg-mo { color: var(--dim); font-size: 0.85em; }
#hud-tl.tl-gon { padding: 3px 9px; min-width: 0; top: 6px; cursor: pointer; }
#hud-tl.tl-gon > .row { display: none; }
#hud-tl.tl-gon > #tl-gon { display: block; }
#hud-tl.tl-gon .money { font-size: inherit; }
#hud-tl.tl-mo { cursor: pointer; }
@media (max-width: 720px), (max-height: 460px) {
.sk-khung { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); gap: 8px; }
#sk-san { height: 165px; }
.sk-thu { font-size: 12px; gap: 4px; }
.sk-ten { font-size: 14px; }
.sk-ghi, .sk-hangs { display: none; }
.sk-tabs button { padding: 3px 7px; font-size: 11.5px; min-height: 30px; }
.sk-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 7px; }
.sk-card { padding: 7px 8px; }
.sk-card canvas { height: 60px; }
.sk-card .t { font-size: 12.5px; }
.sk-nut button { padding: 3px 7px; font-size: 11.5px; min-height: 30px; }
.sk-ngamp h2 { font-size: 17px !important; }
.sk-ngamp .sub { font-size: 12px; margin-bottom: 4px !important; }
.sk-ngamp .sk-ngam { margin: 2px 0 6px; }
#sk-ngamcv { height: max(150px, calc(88vh - 128px)); }
.sk-ngamp .sk-nut2 button { padding: 4px 10px; font-size: 12.5px; }
#hud-tl.tl-gon { font-size: 11.5px; }
}
@media (max-width: 520px) { .sk-khung { grid-template-columns: 1fr; } .sk-trai { position: static; } }
button.sk-gach { border-color: rgba(214,110,70,0.75); background: linear-gradient(180deg, rgba(196,92,58,0.38), rgba(140,56,34,0.38)); color: #ffd9c4; }
button.sk-gach.on { box-shadow: 0 0 0 2px rgba(255,150,110,0.6); }
button.sk-gach:disabled { opacity: 0.55; }
.sub button.sk-gach { padding: 2px 9px; font-size: 12.5px; margin-left: 2px; }
.sk-giagach { color: #ffb48f; font-weight: 700; white-space: nowrap; }
.sk-hoigach { margin-top: 6px; padding: 8px 9px; border-radius: 8px; font-size: 12.5px; line-height: 1.45;
background: rgba(196,92,58,0.16); border: 1px solid rgba(214,110,70,0.6); }
.sk-hoigach .sk-nut { padding-top: 6px; }
.sk-hoigach button { min-height: 32px; }
.sk-bienten { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; line-height: 1.45; background: rgba(255,255,255,0.05); }
.sk-bienten.warn { background: rgba(255,190,60,0.13); border: 1px solid rgba(255,190,60,0.45); }
.sk-bienten button { margin-left: 6px; padding: 3px 10px; }
/* css/dichvu.css */
.dv-box {
margin: 10px 0; padding: 9px 12px; border-radius: 10px; line-height: 1.5; font-size: 13.5px;
border: 1px solid rgba(242,193,78,0.45); background: rgba(242,193,78,0.07);
}
.dv-box .btnrow { margin-top: 7px; align-items: center; }
.dv-dem { border-color: rgba(140,160,255,0.45); background: linear-gradient(135deg, rgba(40,48,110,0.35), rgba(12,18,40,0.25)); }
.dv-dem-den { margin-top: 6px; font-size: 13px; }
.dv-dem-den label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dv-dem-den input { width: 16px; height: 16px; accent-color: var(--accent); }
.dv-dem-b { background: rgba(60,70,150,0.55); border-color: rgba(160,175,255,0.45); }
.dv-dem-b:hover { background: rgba(80,92,180,0.7); }
.dv-grid .btnrow { gap: 6px; }
.dv-grid .btnrow button { padding: 5px 8px; font-size: 13px; }
.dv-tha .d, .dv-moi .d { margin-bottom: 6px; }
#hud-tl .dv-hud { font-size: 12.5px; color: #ffe3a6; white-space: nowrap; }
.tc-box {
margin: 4px auto 12px; max-width: 560px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.5;
border: 1px solid rgba(214,170,90,0.55); background: rgba(120,80,30,0.18);
}
.tc-box .btnrow { justify-content: center; margin-top: 6px; }
.tc-box .btnrow button { padding: 6px 10px; font-size: 13.5px; }
.tc-thay { margin-top: 6px; }
.tc-thay button { font-size: 12px; padding: 4px 8px; }
.tc-thay button.on { border-color: var(--accent); background: rgba(242,193,78,0.22); }
button.tc-k-go { border-color: rgba(176,122,68,0.8); }
button.tc-k-dong { border-color: rgba(216,163,90,0.9); }
button.tc-k-vang { border-color: rgba(255,214,90,0.95); background: rgba(255,214,90,0.12); }
button.tc-vao { border-color: rgba(242,193,78,0.6); }
.tc-tu { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 10px 0; }
.tc-o {
display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 8px;
background: linear-gradient(180deg, rgba(60,40,22,0.55), rgba(30,22,14,0.55)); border: 1px solid rgba(255,255,255,0.08);
}
.tc-khung {
position: relative; overflow: hidden; height: 84px; padding: 5px;
border: 7px solid #7a4a24; border-radius: 3px;
background: radial-gradient(ellipse at 50% 40%, #2c5040, #132a20 80%);
box-shadow: inset 0 0 10px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.5);
}
.tc-khung canvas { width: 100%; height: 100%; display: block; }
.tc-go .tc-khung { border-image: linear-gradient(135deg, #6a3d1c, #b07a44 30%, #6e4120 55%, #a8723e 80%, #5a3418) 1; }
.tc-dong .tc-khung { border-image: linear-gradient(135deg, #6e4a22, #e0b070 30%, #8a5a2a 55%, #d8a35a 80%, #5e3c18) 1;
background: radial-gradient(ellipse at 50% 40%, #3a2e48, #1a1426 80%); }
.tc-vang .tc-khung { border-image: linear-gradient(135deg, #8a6a10, #ffe27a 28%, #b8860b 50%, #fff1a8 72%, #a07808) 1;
background: radial-gradient(ellipse at 50% 40%, #5a1820, #2a0a10 80%); }
.tc-vang .tc-khung::after {
content: ''; position: absolute; inset: -10px; pointer-events: none;
background: linear-gradient(115deg, transparent 42%, rgba(255,250,220,0.28) 50%, transparent 58%);
transform: translateX(-110%); animation: tc-sang 5s ease-in-out infinite;
}
@keyframes tc-sang { 0%, 55% { transform: translateX(-110%); } 85%, 100% { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) { .tc-vang .tc-khung::after { animation: none; display: none; } }
.tc-bien {
display: flex; justify-content: space-between; align-items: baseline; gap: 6px; flex-wrap: wrap;
margin: 2px auto 0; padding: 2px 8px; border-radius: 3px; font-size: 12.5px; width: 100%;
background: linear-gradient(180deg, #c9a467, #9c7a40); color: #2a1a06; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.tc-dong .tc-bien { background: linear-gradient(180deg, #e2b47a, #a8723a); }
.tc-vang .tc-bien { background: linear-gradient(180deg, #ffe58a, #c9a020); }
.tc-bien b { font-size: 12.5px; }
.tc-nho { font-size: 11.5px; color: var(--dim); text-align: center; }
.tc-nut { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.tc-nut button { padding: 3px 8px; font-size: 12px; }
.tc-trong .tc-khung { border: 2px dashed rgba(255,255,255,0.2); border-image: none; background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; box-shadow: none; }
.tc-trong .tc-khung span { color: var(--dim); font-size: 12.5px; }
#panel p.small { font-size: 12px; }
@media (max-width: 720px), (max-height: 460px) {
.dv-box { padding: 7px 9px; font-size: 12.5px; margin: 8px 0; }
.dv-box .btnrow { margin-top: 5px; gap: 6px; }
.dv-box .btnrow button { padding: 5px 8px; font-size: 12.5px; }
.tc-tu { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.tc-khung { height: 64px; border-width: 5px; padding: 3px; }
.tc-o { padding: 6px; }
.tc-box { padding: 7px 9px; font-size: 12.5px; margin: 2px auto 8px; }
.tc-box .btnrow button { padding: 5px 8px; font-size: 12.5px; }
#hud-tl .dv-hud { font-size: 11px; }
}
/* css/cuahang.css */
#panel .ch-an { display: none !important; }
#panel .ch-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
#panel .ch-tab { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; min-height: 36px; font-size: 14px; white-space: nowrap; }
#panel .ch-tab .ch-ico { font-size: 16px; line-height: 1; }
#panel .ch-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; color: #d9e2e6; }
#panel .ch-tab.on { border-color: var(--accent); background: rgba(242,193,78,0.2); color: #ffe7a6; font-weight: 700; }
#panel .ch-ghi { color: var(--dim); font-size: 13px; line-height: 1.5; margin: 4px 0 10px; }
#panel .ch-ghi b { color: var(--text); }
#panel .ch-noi h3:first-child { margin-top: 6px; }
#panel .ch-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 10px; }
#panel .ch-loc-ghi { color: var(--dim); font-size: 12.5px; line-height: 1.4; min-width: 0; flex: 1 1 220px; }
#panel .ch-loc-ghi b { color: var(--text); }
#panel .ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#panel .ch-chip { min-height: 34px; min-width: 50px; padding: 5px 10px; font-size: 13.5px; white-space: nowrap; }
#panel .ch-chip.co { border-color: rgba(95,196,106,0.55); }
#panel .ch-chip.on { border-color: var(--accent); background: rgba(242,193,78,0.22); color: #ffe7a6; font-weight: 700; }
#panel .ch-chip.ngoai:not(.on) { opacity: 0.42; }
#panel .ch-hang { display: flex; align-items: center; gap: 6px 10px; margin: 8px 0; flex-wrap: wrap; }
#panel .ch-nhan { color: var(--dim); font-size: 12.5px; width: 70px; flex: none; }
#panel .ch-dongs { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
#panel .ch-the { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#panel .ch-the[data-act] { cursor: pointer; transition: border-color 0.15s, background 0.15s; }
#panel .ch-the[data-act]:hover { border-color: rgba(242,193,78,0.6); background: rgba(255,255,255,0.05); }
#panel .ch-the.mo { grid-column: 1 / -1; padding: 12px 14px; }
#panel .ch-dau { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
#panel .ch-dau .t { font-size: 16px; }
#panel .ch-gia { color: var(--accent); font-size: 12.5px; font-weight: 600; }
#panel .ch-gon { margin-left: auto; margin-right: 34px; padding: 4px 10px; min-height: 32px; font-size: 12.5px; }
#panel .ch-the .d { margin: 2px 0 4px; }
#panel .ch-chan { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; font-size: 12.5px; }
#panel .ch-co { color: #9fe0a6; font-size: 12.5px; }
#panel .ch-mo-nut { color: var(--accent); font-weight: 700; white-space: nowrap; }
#panel .ch-vipthe { border-color: color-mix(in srgb, var(--vip, #888) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--vip, #888) 16%, transparent), rgba(255,255,255,0.02) 60%); }
#panel .ch-vipthe .ch-dau .t { color: color-mix(in srgb, var(--vip2, #fff) 70%, #fff); }
#panel .ch-vipthe.equipped { border-color: var(--accent); }
#panel .ch-cv { width: 100%; height: 58px; display: block; border-radius: 8px; margin: 2px 0; background: #18292f; }
#panel .ch-cv-to { height: 128px; }
#panel .ch-hinh { height: 46px; background: rgba(0,0,0,0.18); }
#panel .ch-khung { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 6px; }
#panel .ch-khung > .ch-ben:only-child { grid-column: 1 / -1; }
#panel .ch-xem { min-width: 0; }
#panel .ch-tai { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; }
#panel .ch-tai span { white-space: nowrap; min-width: 92px; }
#panel .ch-tai input[type="range"] { flex: 1; min-width: 0; height: 30px; margin: 0; accent-color: var(--accent); touch-action: pan-y; }
#panel .ch-tai-nhanh { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
#panel .ch-tai-nhanh button { padding: 4px 9px; min-height: 32px; min-width: 52px; font-size: 12.5px; }
#panel .ch-cong { font-size: 12.5px; line-height: 1.45; margin-top: 6px; color: var(--dim); }
#panel .ch-cong b { color: var(--text); }
#panel .ch-cong .good { color: #9fe0a6; }
#panel .ch-cong .warn { color: var(--accent); }
#panel .ch-ts { list-style: none; margin: 0; padding: 0; font-size: 13px; }
#panel .ch-ts li { display: grid; grid-template-columns: 22px 82px minmax(0, 1fr); align-items: baseline; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
#panel .ch-ts li:last-child { border-bottom: 0; }
#panel .ch-ts i { font-style: normal; }
#panel .ch-ts span { color: var(--dim); }
#panel .ch-ts b { font-weight: 600; overflow-wrap: anywhere; }
#panel .ch-sao, #panel .ch-ts .ch-sao { color: var(--accent); letter-spacing: 1px; white-space: nowrap; }
#panel .ch-sao span, #panel .ch-ts .ch-sao span { color: rgba(255,255,255,0.2); }
#panel .ch-ts em { font-style: normal; font-weight: 400; color: var(--dim); font-size: 12px; }
#panel .ch-mua { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 10px; margin-top: 10px; }
#panel .ch-mua .ch-ten { margin-right: auto; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
#panel .ch-nut { min-height: 38px; padding: 7px 16px; font-size: 14px; }
#panel .ch-dang { color: var(--accent); white-space: nowrap; }
#panel .ch-thieu { flex-basis: 100%; text-align: right; color: #ffb4a6; font-size: 12px; }
#panel .ch-bo { padding-top: 8px; border-top: 1px dashed rgba(255,255,255,0.12); }
#panel .ch-bo .ch-ten { font-weight: 600; font-size: 13.5px; }
#panel .ch-giam { display: inline-block; padding: 0 6px; border-radius: 8px; background: rgba(95,196,106,0.22); color: #b9f0bf; font-size: 12px; font-weight: 700; }
#panel .ch-gach { color: #9fd9ff; }
#panel .ch-chu { color: var(--accent); font-weight: 600; }
#panel .ch-vi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 9px 12px; margin: 0 0 10px; border: 1px solid rgba(120,190,255,0.35); border-radius: 10px; background: rgba(80,150,230,0.08); font-size: 13.5px; line-height: 1.45; }
#panel .ch-vi-chu { flex: 1 1 260px; min-width: 0; }
#panel .ch-vi .ch-nut { margin-left: auto; }
#panel .ch-hoi { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 10px; background: rgba(242,193,78,0.1); font-size: 13.5px; line-height: 1.5; }
#panel .ch-hoi-nut { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
#panel .ch-hoi-nut button { min-height: 40px; padding: 8px 18px; font-size: 14px; }
#panel .ch-bao { margin-top: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
#panel .ch-bao.good { background: rgba(95,196,106,0.14); color: #c9f3cd; }
#panel .ch-bao.bad { background: rgba(239,107,74,0.14); color: #ffc9bb; }
#panel .ch-luoi { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
#panel .ch-nhom { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#panel .ch-nhom .d { margin: 0; }
#panel .ch-nhom .ch-mua { margin-top: auto; padding-top: 4px; }
#panel .ch-chon { font-size: 13px; }
#panel .ch-chon .d { margin: 2px 0 3px; }
#panel .ch-so { font-size: 12.5px; line-height: 1.5; }
#panel .ch-so .good { color: #9fe0a6; }
#panel .ch-cham { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: 0; }
#panel .tu-dau-bang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 12px; }
#panel .tu-dau-bang .sub { margin: 0; }
#panel .tu-sang { min-height: 40px; padding: 8px 16px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
#panel .tu-bo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 4px; }
#panel .tu-o { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 46px; padding: 5px 8px; text-align: left; border-color: rgba(242,193,78,0.5); background: rgba(242,193,78,0.08); }
#panel .tu-o-ico { flex: none; font-size: 18px; line-height: 1; }
#panel .tu-o-chu { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
#panel .tu-o-chu small { color: var(--dim); font-size: 11px; }
#panel .tu-o-chu b { font-size: 12.5px; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
#panel .tu-muc { margin-top: 14px; }
#panel h3.tu-dau { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 7px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
#panel .tu-dau .ch-svg { color: var(--accent); }
#panel .tu-dem { color: var(--dim); font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; white-space: nowrap; }
#panel .tu-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
#panel .tu-ds + .tu-ds { margin-top: 6px; }
#panel .tu-ds.tu-mot { grid-template-columns: minmax(0, 1fr); }
#panel .tu-mon { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 46px; padding: 5px 8px 5px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,0.03); }
#panel .tu-mon.dang { border-color: var(--accent); background: rgba(242,193,78,0.1); }
#panel .tu-mon.co { border-color: rgba(95,196,106,0.45); }
#panel .tu-mon.gay { border-color: rgba(239,107,74,0.6); }
#panel .tu-mon.trong { opacity: 0.8; }
#panel .tu-mau { flex: none; width: 5px; align-self: stretch; border-radius: 3px; }
#panel .tu-ten { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
#panel .tu-ten b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
#panel .tu-ten small { color: var(--dim); font-size: 12px; overflow-wrap: anywhere; }
#panel .tu-ten small b { font-size: inherit; color: var(--text); }
#panel .tu-nut { flex: none; display: flex; align-items: center; }
#panel .tu-nut .ch-nut { min-height: 36px; padding: 6px 14px; }
#panel .tu-nut .ch-dang { font-size: 13px; }
#panel .tu-vip { color: #9fd9ff; }
#panel .tu-xem { display: block; width: 100%; margin-top: 6px; min-height: 36px; font-size: 13px; }
#panel .tu-trong { color: var(--dim); font-size: 13px; margin: 2px 0; }
#panel .tu-duoi { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 8px; }
#panel .tu-nhan { display: block; color: var(--dim); font-size: 12.5px; margin: 9px 0 5px; }
#panel .tu-nls { display: flex; flex-wrap: wrap; gap: 5px; }
#panel .tu-nl { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; line-height: 1.35; overflow-wrap: anywhere; }
#panel .tu-nl i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
#panel .tu-nl.dang { border-color: var(--accent); background: rgba(242,193,78,0.12); }
#panel .tu-ghi { color: var(--dim); font-size: 12.5px; line-height: 1.5; margin-top: 6px; }
#panel .tu-ghi b:not(.ch-gach) { color: var(--text); }
@media (max-width: 720px), (max-height: 460px) {
#panel .ch-tabs { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
#panel .ch-tab { flex-direction: column; justify-content: center; gap: 1px; padding: 4px 2px; min-height: 42px; font-size: 11.5px; white-space: normal; line-height: 1.15; text-align: center; }
#panel .ch-tab .ch-ico { font-size: 17px; }
#panel .ch-cv-to { height: 104px; }
#panel .ch-ts { font-size: 12.5px; }
#panel .ch-ts li { grid-template-columns: 20px 74px minmax(0, 1fr); padding: 3px 0; }
#panel .tu-ds { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
#panel .tu-mon { min-height: 42px; padding: 4px 6px 4px 9px; }
#panel .tu-o { min-height: 42px; padding: 4px 6px; gap: 5px; }
#panel .tu-o-ico { font-size: 16px; }
#panel .tu-muc { margin-top: 12px; }
}
@media (max-height: 460px) {
#panel .ch-ghi { margin: 2px 0 8px; font-size: 12.5px; }
#panel .tu-dau-bang { margin-bottom: 8px; }
#panel .tu-sang { min-height: 36px; padding: 6px 14px; }
#panel .ch-the.mo { padding: 10px 12px; }
#panel .ch-hang { margin: 6px 0; }
#panel .ch-cv-to { height: 92px; }
}
@media (max-width: 520px) {
#panel .ch-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#panel .ch-tabs[style*="--n:6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#panel .ch-dongs, #panel .ch-luoi { grid-template-columns: 1fr; }
#panel .ch-khung { grid-template-columns: 1fr; }
#panel .ch-nhan { width: auto; flex-basis: 100%; margin-bottom: -2px; }
#panel .ch-mua .ch-ten { flex-basis: 100%; }
#panel .ch-gon { margin-right: 0; }
#panel .tu-bo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#panel .tu-bo .tu-o:last-child { grid-column: 1 / -1; }
#panel .tu-ds { grid-template-columns: 1fr; }
}
/* css/anhca.css */
.card canvas.anhca { height: 86px; }
/* css/trinhduyet.css */
#tt-che { position: fixed; inset: 0; z-index: 200; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #0a1114;
color: var(--text, #e8efe9); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
#tt-che .hidden { display: none !important; }
#tt-che .tt-hop { position: relative; max-width: 470px; margin: 18px auto 8px; }
#tt-che h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: #fff; padding-right: 64px; }
#tt-che p { margin: 0 0 10px; }
#tt-che .tt-vi { color: #c9d6cf; }
#tt-che .tt-dang { font-weight: 700; color: #f2c14e; }
#tt-che .tt-canh { padding: 8px 10px; border-radius: 9px; background: rgba(239, 107, 74, 0.13); border: 1px solid rgba(239, 107, 74, 0.45); font-size: 14px; }
#tt-che .tt-canh button { display: block; margin-top: 7px; }
#tt-che .tt-nho { font-size: 13px; color: #a9b8b0; }
#tt-che button { font: inherit; font-weight: 700; color: #e8efe9; background: #26343a; border: 1px solid #3b4d55; border-radius: 10px; padding: 9px 14px; cursor: pointer; }
#tt-che button.good { background: #5fc46a; border-color: #5fc46a; color: #0e1a10; }
#tt-che .tt-nut { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
#tt-che .tt-nut button { flex: 1 1 170px; padding: 13px 14px; font-size: 17px; }
#tt-che .tt-khac { font-size: 14px; color: #f2c14e; }
#tt-che button.tt-lien { background: none; border: 0; padding: 0; color: #6fb6ff; text-decoration: underline; font-weight: 600; }
#tt-che .tt-link { width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 8px 10px; font: 13px/1.3 ui-monospace, monospace; color: #e8efe9;
background: #111c21; border: 1px solid #3b4d55; border-radius: 8px; }
#tt-che .tt-cach { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.1); }
#tt-che .tt-cach.tt-nhay { animation: tt-nhay 1.1s ease-in-out 3; border-color: #f2c14e; }
@keyframes tt-nhay { 50% { box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.45); } }
#tt-che .tt-hinh { flex: 0 0 46%; max-width: 230px; height: auto; }
#tt-che .tt-cach ol { margin: 0; padding-left: 20px; font-size: 14px; }
#tt-che .tt-cach li { margin: 0 0 6px; }
label.tt-an { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; cursor: pointer; font-size: 14px; color: #c9d6cf; }
label.tt-an input { width: 18px; height: 18px; margin: 0; flex: none; }
label.tt-an select { font: inherit; font-size: 14px; color: #e8efe9; background: #1b2529; border: 1px solid #3b4d55; border-radius: 6px; padding: 3px 6px; }
#tt-che .tt-duoi { margin-top: 14px; }
#tt-che button.tt-o { display: block; margin: 8px auto 0; background: none; border: 1px solid #3b4d55; color: #a9b8b0; font-weight: 600; padding: 9px 22px; }
#tt-che .tt-mui { position: fixed; top: max(4px, env(safe-area-inset-top)); right: 10px; display: flex; align-items: flex-start; gap: 4px;
color: #f2c14e; font-size: 12px; font-weight: 700; pointer-events: none; }
#tt-che .tt-mui span { margin-top: 12px; padding: 2px 7px; border-radius: 6px; background: rgba(242, 193, 78, 0.14); }
#tt-che .tt-mui b { font-size: 22px; line-height: 1; transform: rotate(20deg); animation: tt-mui 1s ease-in-out infinite; }
@keyframes tt-mui { 50% { transform: rotate(20deg) translateY(-5px); } }
body.tt-mo #toasts { display: none; }
@media (max-width: 420px) {
#tt-che .tt-cach { flex-direction: column; align-items: stretch; }
#tt-che .tt-hinh { flex: none; max-width: 260px; margin: 0 auto; width: 100%; }
}
@media (max-height: 460px) {
#tt-che .tt-hop { margin-top: 4px; max-width: 640px; }
#tt-che h2 { font-size: 17px; margin-bottom: 4px; }
#tt-che p { margin-bottom: 6px; font-size: 13.5px; }
#tt-che .tt-nut { margin: 2px 0 6px; }
#tt-che .tt-nut button { padding: 9px 12px; font-size: 15px; }
#tt-che .tt-cach { padding: 6px 10px; }
#tt-che .tt-hinh { max-width: 190px; }
#tt-che .tt-cach ol { font-size: 13px; }
#tt-che .tt-duoi { position: sticky; bottom: 0; margin-top: 8px; padding: 4px 0 2px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px;
background: #0a1114; box-shadow: 0 -6px 14px #0a1114; }
#tt-che button.tt-o { margin: 0; padding: 7px 18px; }
#tt-che label.tt-an { font-size: 13px; }
}
#mhc-the { position: absolute; z-index: 15; left: 50%; top: 64px; transform: translateX(-50%); width: max-content; max-width: min(470px, calc(100vw - 24px));
display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: rgba(13, 20, 24, 0.94);
border: 1px solid rgba(242, 193, 78, 0.55); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45); font-size: 13px; line-height: 1.35; color: var(--text, #e8efe9);
animation: mhc-vao 0.35s ease-out; }
@keyframes mhc-vao { from { opacity: 0; transform: translate(-50%, -8px); } }
#mhc-the .mhc-the-ic { font-size: 24px; flex: none; }
#mhc-the .mhc-the-chu { flex: 1 1 auto; min-width: 0; }
#mhc-the button { flex: none; padding: 8px 11px; font-size: 14px; }
#mhc-the button.mhc-the-sau { background: none; border-color: transparent; color: #a9b8b0; padding: 8px 6px; }
#mhc-the { flex-wrap: wrap; row-gap: 4px; }
#mhc-the label.tt-an { flex: 1 0 100%; justify-content: flex-start; padding-left: 33px; font-size: 12.5px; color: #a9b8b0; gap: 5px; }
#mhc-the label.tt-an input { width: 16px; height: 16px; }
#mhc-the label.tt-an select { font-size: 12.5px; padding: 1px 4px; }
body.fighting #mhc-the { display: none; }
@media (max-height: 460px) {
#mhc-the { top: 48px; padding: 5px 8px; font-size: 12px; gap: 7px; }
#mhc-the .mhc-the-ic { font-size: 20px; }
#mhc-the button { padding: 6px 9px; font-size: 13px; }
}
@media (max-width: 520px) {
#mhc-the { top: auto; bottom: calc(var(--bar-h, 140px) + 52px); }
}
#tt-che .tt-qua { padding: 7px 10px; border-radius: 9px; background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.45); color: #f2d78a; font-size: 14px; }
#panel .mhc-nv .qt { line-height: 1.45; }
#panel .mhc-nv-nut { display: block; margin-top: 6px; }
#panel .mhc-nv-h { text-transform: none; letter-spacing: 0; font-weight: 400; }
#panel .mhc-qua { padding: 7px 10px; border-radius: 9px; background: rgba(242, 193, 78, 0.1); border: 1px dashed rgba(242, 193, 78, 0.5); }
/* css/gocnhin.css */
#panel .gn h2 { margin-right: 36px; }
#panel .gn-sub { color: var(--dim); margin: 2px 0 10px; line-height: 1.45; }
#panel .gn-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#panel .gn-the {
position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0;
padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); cursor: pointer;
}
#panel .gn-the.goi-y { border: 2px solid var(--accent); padding: 7px; background: rgba(242, 193, 78, 0.08); box-shadow: 0 0 18px rgba(242, 193, 78, 0.18); }
#panel .gn-anh { position: relative; display: block; height: 0; padding-top: 56.25%; border-radius: 8px; overflow: hidden; background: #24343b; }
#panel .gn-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
#panel .gn-nhan {
position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 10px;
font-size: 12px; font-weight: 800; background: var(--accent); color: #1d1606; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
#panel .gn-2d .gn-nhan { background: var(--good); color: #0e1a10; }
#panel .gn-ten { font-weight: 800; font-size: 16px; line-height: 1.25; }
#panel p.gn-mo { color: var(--dim); font-size: 13px; line-height: 1.4; margin: 0; }
#panel p.gn-canh {
font-size: 12.5px; line-height: 1.35; margin: 0; padding: 4px 8px; border-radius: 8px;
background: rgba(239, 107, 74, 0.12); border: 1px solid rgba(239, 107, 74, 0.4);
}
#panel .gn-the button { margin-top: auto; padding: 10px 12px; font-size: 16px; min-height: 40px; }
#panel p.gn-nho { font-size: 12.5px; margin: 8px 0 0; }
@media (orientation: portrait) and (max-width: 720px) {
#panel .gn-hai { grid-template-columns: 1fr; gap: 10px; }
#panel .gn-anh { padding-top: 50%; }
}
@media (max-height: 460px) {
#panel:has(.gn) { padding: 10px 14px; }
#panel .gn h2 { font-size: 18px; margin-bottom: 2px; }
#panel p.gn-sub { font-size: 12.5px; margin: 0 0 6px; line-height: 1.35; }
#panel .gn-hai { gap: 8px; }
#panel .gn-the { padding: 6px; gap: 4px; }
#panel .gn-the.goi-y { padding: 5px; }
#panel .gn-anh { padding-top: 0; height: 30vh; }
#panel .gn-ten { font-size: 14px; }
#panel p.gn-mo { font-size: 12px; line-height: 1.3; }
#panel p.gn-canh { font-size: 11.5px; padding: 3px 6px; line-height: 1.3; }
#panel .gn-the button { padding: 6px 10px; font-size: 15px; min-height: 34px; }
#panel p.gn-nho { display: none; }
}
@media (max-height: 380px) {
#panel p.gn-mo { display: none; }
#panel .gn-anh { height: 34vh; }
#panel .gn-2d.goi-y p.gn-mo { display: block; }
}
#gn-tai {
position: absolute; z-index: 27; left: 50%; top: 8px; transform: translateX(-50%);
display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 16px);
padding: 5px 6px 5px 12px; border-radius: 12px; font-size: 13px; white-space: nowrap;
background: rgba(16, 26, 32, 0.95); border: 1px solid rgba(242, 193, 78, 0.6); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
#gn-tai b { display: inline-block; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
#gn-tai .gn-tai-vach { flex: none; width: 80px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
#gn-tai .gn-tai-vach i { display: block; height: 100%; background: var(--good); transform-origin: left center; transform: scaleX(0); transition: transform 0.25s linear; }
#gn-tai button { padding: 4px 10px; font-size: 12.5px; min-height: 30px; }
body.gn-tai-on #toasts { margin-top: 40px; }
@media (max-width: 720px), (max-height: 460px) {
#gn-tai { top: 4px; font-size: 12px; gap: 6px; padding: 3px 4px 3px 9px; }
#gn-tai .gn-tai-vach { width: 56px; }
}
