/* v43 — เฟส 3: คู่มืออุปกรณ์ • ตลาด NX • ดันเจี้ยนปาร์ตี้ */
.eg-top { font-size: 12px; opacity: .85; margin-bottom: 8px; line-height: 1.5; }
.eg-list { max-height: 62vh; display: flex; flex-direction: column; gap: 8px; }
.eg-card { display: flex; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--sc) 16%, transparent), rgba(255,255,255,.02)); }
.eg-card.cur { box-shadow: 0 0 0 2px var(--sc), 0 0 16px color-mix(in srgb, var(--sc) 45%, transparent); }
.eg-lv { flex: none; width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #111; background: var(--sc); }
.eg-name { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; } .eg-name b { font-size: 14px; } .eg-name small { opacity: .75; }
.eg-now { font-style: normal; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: var(--sc); color: #111; }
.eg-own { margin-left: auto; font-size: 11px; font-weight: 800; opacity: .8; }
.eg-icons { display: flex; gap: 4px; margin: 6px 0; } .eg-icons img { width: 30px; height: 30px; image-rendering: pixelated; border-radius: 6px; background: rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--sc) 55%, transparent); }
.eg-bonus { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; } .eg-bonus b { color: var(--sc); }
.eg-drop { font-size: 11px; opacity: .75; margin-top: 4px; }

.nx-open { width: 100%; margin-bottom: 8px; }
.nx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(38,166,154,.15), rgba(255,215,64,.08)); border: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.nx-price small { display: block; font-size: 10px; opacity: .7; } .nx-price b { font-size: 24px; font-weight: 900; } .nx-price span { font-size: 11px; opacity: .7; margin-left: 4px; }
.nx-chg { font-weight: 900; font-size: 15px; } .nx-chg small { display: block; font-size: 10px; font-weight: 400; opacity: .7; }
.up, .nx-chg.up { color: #26a69a; } .dn, .nx-chg.dn { color: #ef5350; }
.nx-kv span { display: block; font-size: 10px; opacity: .65; } .nx-kv b { font-size: 12px; }
.nx-wallet { margin-left: auto; display: flex; flex-direction: column; gap: 2px; font-weight: 800; font-size: 12px; text-align: right; }
.nx-chart { margin-bottom: 8px; } .nx-cv { width: 100%; height: auto; border-radius: 10px; margin-top: 6px; display: block; }
.nx-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; margin: 8px 0; }
.nx-form { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.nx-form label { display: flex; flex-direction: column; font-size: 11px; gap: 3px; } .nx-form input { padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); color: inherit; font: inherit; }
.nx-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; } .nx-sides button { padding: 7px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.nx-sides .on.buy { background: #26a69a; color: #fff; border-color: #26a69a; } .nx-sides .on.sell { background: #ef5350; color: #fff; border-color: #ef5350; }
.nx-quick { display: flex; flex-wrap: wrap; gap: 4px; } .nx-est { font-size: 11px; opacity: .85; line-height: 1.5; } .nx-est b { color: #ffd740; }
.nx-form .wide { width: 100%; } .nx-limit { border-top: 1px dashed rgba(255,255,255,.15); padding-top: 6px; display: flex; flex-direction: column; gap: 5px; }
.nx-book, .nx-tape { padding: 8px; border-radius: 12px; background: rgba(0,0,0,.25); font-size: 11px; }
.nx-bk-h, .nx-bk { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 4px; padding: 2px 4px; } .nx-bk-h { opacity: .6; font-size: 10px; }
.nx-bk span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .75; }
.nx-bk.ask span:first-child { color: #ef5350; } .nx-bk.bid span:first-child { color: #26a69a; }
.nx-bk.ask { background: linear-gradient(90deg, transparent, rgba(239,83,80,.08)); } .nx-bk.bid { background: linear-gradient(90deg, transparent, rgba(38,166,154,.08)); }
.nx-mid { text-align: center; font-weight: 900; font-size: 14px; padding: 4px; } .nx-mid small { font-weight: 400; font-size: 10px; opacity: .65; }
.nx-tp { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 6px; padding: 4px; border-bottom: 1px solid rgba(255,255,255,.05); } .nx-tp small { opacity: .55; grid-column: 2; }
.nx-list { max-height: 34vh; }
@media (max-width: 760px) { .nx-grid { grid-template-columns: 1fr; } .nx-wallet { margin-left: 0; text-align: left; } }

.dg-card { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: radial-gradient(ellipse at 0% 0%, rgba(224,64,251,.18), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(224,64,251,.35); margin-bottom: 8px; }
.dg-art canvas { width: 96px; height: 96px; border-radius: 12px; background: radial-gradient(circle at 50% 60%, rgba(224,64,251,.4), rgba(0,0,0,.4)); image-rendering: pixelated; }
.dg-title { font-size: 17px; color: #ea80fc; display: block; } .dg-steps { margin: 6px 0; padding-left: 18px; font-size: 12px; line-height: 1.6; } .dg-rw { font-size: 12px; opacity: .9; }
.dg-status { padding: 9px 12px; border-radius: 10px; font-size: 12.5px; margin-bottom: 8px; } .dg-status.free { background: rgba(38,166,154,.15); border: 1px solid rgba(38,166,154,.5); }
.dg-status.busy { background: rgba(239,83,80,.12); border: 1px solid rgba(239,83,80,.5); } .dg-status.me { background: rgba(255,215,64,.12); border: 1px solid rgba(255,215,64,.5); }
.dg-req { display: grid; gap: 3px; font-size: 12px; margin-bottom: 10px; } .dg-req .ok { color: #69f0ae; } .dg-req .no { color: #ff8a80; }
.dg-coins { padding: 8px 10px; border-radius: 10px; background: rgba(255,215,64,.1); margin-bottom: 8px; font-size: 12.5px; } .dg-shop { max-height: 52vh; }
.dg-rwbox { display: grid; gap: 6px; margin-bottom: 12px; } .dg-rwrow { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.05); } .dg-rwrow img { width: 26px; height: 26px; image-rendering: pixelated; } .dg-rwrow b { color: #ffd740; }
#dg-hud { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(20,6,30,.82); border: 1px solid rgba(224,64,251,.6); color: #fff; font-size: 12px; font-weight: 700; z-index: 5; pointer-events: none; white-space: nowrap; box-shadow: 0 0 18px rgba(224,64,251,.35); }
#dg-hud b { color: #ea80fc; } #dg-hud .warn { color: #ff5252; animation: dgblink .6s infinite alternate; }
@keyframes dgblink { to { opacity: .4; } }
@media (max-width: 600px) { #dg-hud { font-size: 10px; gap: 6px; padding: 4px 10px; top: 46px; } }

/* v43.4 — Admin window: พอดีจอ ไม่มีเลื่อนแนวนอน ขึ้นบรรทัดใหม่อัตโนมัติ */
.win[data-win="admin"] { width: min(460px, calc(100vw - 16px)) !important; max-width: calc(100vw - 16px); }
.win[data-win="admin"] .win-body { overflow-x: hidden !important; overflow-y: auto; }
.win[data-win="admin"] .win-body * { max-width: 100%; box-sizing: border-box; }
.win[data-win="admin"] .row { flex-wrap: wrap !important; min-width: 0; row-gap: 6px; }
.win[data-win="admin"] .row > * { min-width: 0; }
.win[data-win="admin"] select { flex: 1 1 100%; width: 100%; min-width: 0; text-overflow: ellipsis; }
.win[data-win="admin"] .row > input.num { flex: 1 1 80px; width: auto; }
.win[data-win="admin"] .btn { white-space: normal; }
.win[data-win="admin"] .adm-big { font-size: 14px; }
.win[data-win="admin"] .kv { flex-wrap: wrap; gap: 4px; }

/* v43.5 — GACHAPON: เอฟเฟกต์อยู่ในกรอบของมัน */
#ga-show { display: none !important; }
.ga-res.gx-live { position: relative; overflow: hidden; isolation: isolate; }
.ga-res.gx-live .sub-title { display: flex; align-items: center; }
.gx-skip { margin-left: auto; padding: 4px 14px; border-radius: 999px; border: 1px solid #d9d0ee; background: #f4effd; color: #5b3fa0; font: 800 11px/1.2 inherit; cursor: pointer; }
.gx-cell { perspective: 500px; }
.gx-cell > :not(.gx-back) { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s cubic-bezier(.3,1.7,.5,1); }
.gx-cell.flip > :not(.gx-back) { opacity: 1; transform: none; }
.gx-back { position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; z-index: 3; backface-visibility: hidden;
  background: radial-gradient(circle at 30% 25%, #fff8, transparent 40%), repeating-linear-gradient(45deg, var(--bc) 0 8px, color-mix(in srgb, var(--bc) 75%, #fff) 8px 16px);
  border: 2px solid #fff; box-shadow: 0 3px 10px rgba(80,40,140,.25), inset 0 0 0 3px rgba(255,255,255,.35); transition: transform .35s ease-in, opacity .35s; }
.gx-back b { font-size: 22px; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.3); animation: gxTw 1.2s ease-in-out infinite alternate; }
.gx-back::after { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; animation: gxShine 1.8s linear infinite; }
.gx-cell.flip .gx-back { transform: rotateY(90deg) scale(.9); opacity: 0; pointer-events: none; }
.gx-cell.shake .gx-back { animation: gxShake .1s infinite; }
.gx-cell.charge { z-index: 4; }
.gx-cell.charge .gx-back { animation: gxShake .06s infinite, gxLift .9s ease-out forwards; box-shadow: 0 0 18px #d500f9, 0 0 36px rgba(213,0,249,.6); }
.gx-cell.charge::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, #d500f9aa, transparent 40%); animation: gxSpin .45s linear infinite; z-index: 2; }
.gx-cell.flip.t-rare { box-shadow: 0 0 0 2px #40c4ff, 0 0 16px #40c4ff; border-radius: 12px; }
.gx-cell.flip.t-rare::after { content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(64,196,255,.55) 50%, transparent 70%); background-size: 250% 100%; animation: gxShine .9s ease-out 1 forwards; z-index: 4; }
.gx-cell.flip.t-epic { box-shadow: 0 0 0 2px #d500f9, 0 0 22px #d500f9; border-radius: 12px; animation: gxBounce .6s !important; }
.gx-cell.flip.t-epic::before { content: ''; position: absolute; inset: -30px; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(234,128,252,.5) 0 10deg, transparent 10deg 30deg); border-radius: 50%; animation: gxSpin 5s linear infinite; }
.ga-res.gx-live::before { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: rgba(40,0,70,.0); transition: background .3s; }
.ga-res.gx-live.dim::before { animation: gxDim .9s ease-in forwards; }
.ga-res.gx-live.flash::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: radial-gradient(circle, #fff, rgba(213,0,249,.5)); animation: gxFlash .6s ease-out forwards; }
.ga-res.gx-live.quake { animation: gxQuake .45s; }
.gx-sum { margin-top: 8px; text-align: center; font-size: 12px; color: #5b4f75; } .gx-sum b { color: #ff3d8b; } .gx-sum b.ep { color: #aa00ff; }
.gx-p { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2); border-radius: 50%; background: var(--c); pointer-events: none; z-index: 7; animation: gxP var(--d) ease-out forwards; }
.gx-p.st { border-radius: 1px; transform: rotate(45deg); }
@keyframes gxP { to { transform: translate(var(--dx), var(--dy)) rotate(180deg); opacity: 0; } }
@keyframes gxShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes gxTw { to { transform: scale(1.2) rotate(15deg); } }
@keyframes gxShake { 0%,100% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-2px,1px) rotate(-3deg); } 75% { transform: translate(2px,-1px) rotate(3deg); } }
@keyframes gxLift { to { margin-top: -8px; } }
@keyframes gxSpin { to { transform: rotate(360deg); } }
@keyframes gxBounce { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes gxDim { to { background: rgba(40,0,70,.35); } }
@keyframes gxFlash { from { opacity: .95; } to { opacity: 0; } }
@keyframes gxQuake { 0%,100% { transform: none; } 20% { transform: translate(-4px,2px); } 40% { transform: translate(4px,-2px); } 60% { transform: translate(-3px,-1px); } 80% { transform: translate(2px,2px); } }

/* ผสม: หม้อปรุงในกรอบ */
.ga-mixtop.gx-host { position: relative; overflow: hidden; isolation: isolate; min-height: 330px; }
.gx-mix { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px; color: #fff; border-radius: 12px;
  background: radial-gradient(circle at 50% 60%, #5b2a86, #22103d 70%); opacity: 0; transition: opacity .3s; }
.gx-mix.pet { background: radial-gradient(circle at 50% 60%, #0f6b7a, #06242e 70%); }
.gx-mix.in { opacity: 1; }
.gx-mt { font-weight: 900; font-size: 15px; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255,79,163,.8); }
.gx-items { display: flex; gap: 8px; height: 50px; }
.gx-it { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.45); display: grid; place-items: center; transition: transform .5s cubic-bezier(.5,-0.4,.7,1), opacity .5s; }
.gx-it img { width: 36px; height: 36px; image-rendering: pixelated; }
.gx-it.drop { transform: translate(calc((var(--n) / 2 - var(--i) - .5) * 54px), 118px) scale(.3) rotate(260deg); opacity: 0; }
.gx-pot { position: relative; width: 150px; height: 120px; margin-top: 6px; }
.gx-body { position: absolute; left: 10px; right: 10px; bottom: 0; height: 84px; border-radius: 16px 16px 60px 60px; background: linear-gradient(180deg, #3b3150, #1a1426); border: 3px solid #0d0a14; box-shadow: inset 0 -10px 0 rgba(0,0,0,.3), inset 8px 0 0 rgba(255,255,255,.08); }
.gx-body::before, .gx-body::after { content: ''; position: absolute; top: 14px; width: 16px; height: 22px; border: 4px solid #0d0a14; border-radius: 10px; }
.gx-body::before { left: -18px; } .gx-body::after { right: -18px; }
.gx-liq { position: absolute; left: 14px; right: 14px; top: 30px; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, #ea80fc, #8e24aa); box-shadow: 0 0 18px #ea80fc; z-index: 1; transition: box-shadow .3s; }
.gx-mix.pet .gx-liq { background: radial-gradient(ellipse, #84ffff, #00838f); box-shadow: 0 0 18px #84ffff; }
.gx-lid { position: absolute; left: 4px; right: 4px; top: 22px; height: 12px; border-radius: 10px 10px 4px 4px; background: linear-gradient(#5a4d74, #2b2238); border: 3px solid #0d0a14; z-index: 2; opacity: 0; transition: transform .45s cubic-bezier(.3,1.8,.5,1), opacity .2s; }
.gx-mix.boil .gx-lid { opacity: 1; animation: gxLid .14s infinite alternate; }
.gx-mix.boil .gx-body { animation: gxShake .09s infinite; }
.gx-mix.boil .gx-liq { box-shadow: 0 0 34px #fff, 0 0 60px #ea80fc; }
.gx-mix.pop .gx-lid { animation: none; transform: translate(40px,-70px) rotate(70deg); opacity: 0; transition: transform .5s ease-out, opacity .6s .2s; }
.gx-mix.pop .gx-body { animation: none; }
.gx-bub { position: absolute; left: calc(26px + var(--i) * 18px); top: 30px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.7); opacity: 0; z-index: 3; }
.gx-mix.boil .gx-bub { animation: gxBub .7s ease-out infinite; animation-delay: calc(var(--i) * .11s); }
.gx-rays { position: absolute; left: 50%; top: 20px; width: 420px; height: 420px; margin: -210px; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 0; }
.gx-mix.reveal .gx-rays { opacity: .55; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.35) 0 8deg, transparent 8deg 24deg); animation: gxSpin 10s linear infinite; }
.gx-mix.lim .gx-rays { opacity: 1; background: repeating-conic-gradient(from 0deg, #ff4fa3 0 6deg, #ffd740 6deg 12deg, #7cffb2 12deg 18deg, #4fd8ff 18deg 24deg, #b388ff 24deg 30deg, transparent 30deg 40deg); animation: gxSpin 6s linear infinite; }
.gx-out { position: absolute; left: 0; right: 0; top: 34%; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transform: translateY(60px) scale(.3); transition: transform .6s cubic-bezier(.3,1.6,.5,1), opacity .3s; z-index: 5; pointer-events: none; }
.gx-mix.reveal .gx-out { opacity: 1; transform: none; }
.gx-card { position: relative; width: 96px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,.6); }
.gx-card > i { position: absolute; top: -6px; right: -6px; font: 800 9px/1 system-ui, sans-serif; font-style: normal; padding: 3px 6px; border-radius: 6px; color: #fff; background: #ff3355; } .gx-card > i.dup { background: #8a7fa6; }
.gx-mix.lim .gx-card { box-shadow: 0 0 26px #ffd740, 0 0 50px #ff4fa3; animation: gxBounce .8s; }
.gx-rn { display: flex; flex-direction: column; align-items: center; padding: 6px 14px; border-radius: 12px; background: rgba(10,4,24,.7); text-align: center; }
.gx-rn b { font-size: 15px; } .gx-rn span { font-size: 12px; opacity: .9; }
.gx-rn b.lim { font-size: 22px; font-weight: 900; letter-spacing: 2px; background: linear-gradient(90deg, #ff4fa3, #ffd740, #7cffb2, #4fd8ff, #b388ff, #ff4fa3); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gxShine 2s linear infinite; }
.gx-foot { display: flex; gap: 8px; z-index: 6; }
.gx-foot button { padding: 6px 20px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.gx-mix .gx-skip { margin: 0; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.gx-ok { background: linear-gradient(180deg, #ffe57a, #ffb300); color: #2a1a00; }
.gx-foot .hidden { display: none; }
.gx-mix.flash::after { content: ''; position: absolute; inset: 0; border-radius: 12px; background: #fff; pointer-events: none; animation: gxFlash .7s ease-out forwards; z-index: 8; }
@keyframes gxLid { to { transform: translateY(-4px) rotate(-3deg); } }
@keyframes gxBub { 0% { opacity: .9; transform: translateY(0) scale(.6); } 100% { opacity: 0; transform: translateY(-50px) scale(1.4); } }

/* v43.6 — Skill Book: ACTIVE 3/5 + PASSIVE 3/5 */
.sk43-sp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sk43-sp small { flex: 1 1 200px; opacity: .75; }
.sk43 { max-height: min(62vh, 560px); overflow-y: auto; padding-right: 2px; }
.sk43-h { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 2px 5px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sk43-h b { letter-spacing: 1px; } .sk43-h span { font-size: 11px; opacity: .85; } .sk43-h i { font-style: normal; font-weight: 800; color: #69f0ae; } .sk43-h i.full { color: #ffd740; }
.sk43-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.skc { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 6px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); min-width: 0; }
.skc.picked { border-color: #69f0ae; box-shadow: 0 0 0 1px rgba(105,240,174,.35) inset; }
.skc.maxed { border-color: #ffd740; box-shadow: 0 0 10px rgba(255,215,64,.25); }
.skc.slotlock { opacity: .45; filter: grayscale(.8); }
.skc.lvlock { opacity: .7; }
.skc-top { display: flex; gap: 6px; align-items: center; min-width: 0; }
.skc-top .sk-ic { width: 30px; height: 30px; flex: none; }
.skc-n { min-width: 0; display: flex; flex-direction: column; } .skc-n b { font-size: 11px; line-height: 1.15; } .skc-n small { font-size: 10px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skc-lv { display: flex; justify-content: space-between; align-items: center; font-size: 10px; gap: 4px; }
.skc-lv u { text-decoration: none; font-size: 9px; padding: 1px 5px; border-radius: 6px; background: #37474f; white-space: nowrap; }
.skc-lv u.t0 { background: #2e7d32; } .skc-lv u.t1 { background: #1565c0; } .skc-lv u.t2 { background: #6a1b9a; } .skc-lv u.t3 { background: #b71c1c; }
.skc-d { font-size: 10px; line-height: 1.3; opacity: .85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.skc-b { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.skc-b em { font-style: normal; font-size: 9px; font-weight: 800; } .skc-b em.lk { color: #ff8a80; } .skc-b em.rq { color: #ffcc80; }
.skc-b select { flex: 1; min-width: 0; font-size: 10px; }
.mb.dash43 { font-size: 20px; }
#mobile-ui .mb.dash43 { position: absolute; right: 108px; bottom: 76px; width: 46px; height: 46px; font-size: 20px; border-radius: 50%; pointer-events: auto; }
body.m-mobile #mobile-ui .mb.dash43 { right: calc(160px * var(--mu)); bottom: calc(150px * var(--mu)); width: calc(44px * var(--mu)); height: calc(44px * var(--mu)); font-size: calc(20px * var(--mu)); }
.skc-lv u.tb { background: #00796b; } .sk43-bh b { color: #64ffda; }

/* v43.8 — ปุ่มลัดใหม่: สกิล 6 ช่อง (Q W E A S D) + บัฟ/ยา 8 ช่อง (1–8) */
#hotbar.hb43, #hud.hx #hotbar.hb43 { display: flex !important; flex-direction: column; align-items: center; gap: 5px; grid-template-columns: none; width: auto; margin: 0 auto; }
#hotbar.hb43 .hb-row { display: flex; gap: 5px; justify-content: center; }
#hotbar.hb43 .hk { position: relative; flex: none; aspect-ratio: auto; }
#hotbar.hb43 .hk-sk, #hud.hx #hotbar.hb43 .hk-sk { width: 50px; height: 44px; border-radius: 11px; background: linear-gradient(180deg, #2a2a2e, #0e0e10); border: 1.5px solid rgba(255,215,64,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 8px rgba(255,215,64,.18), 0 2px 6px rgba(0,0,0,.45); }
#hotbar.hb43 .hk-it, #hud.hx #hotbar.hb43 .hk-it { width: 34px; height: 31px; border-radius: 8px; background: linear-gradient(180deg, #232326, #0f0f11); border: 1px solid rgba(255,255,255,.22); }
#hotbar.hb43 .hk img { position: absolute; left: 50%; top: 50%; width: auto; height: 76%; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); image-rendering: pixelated; }
#hotbar.hb43 .hk b { position: absolute; right: 3px; bottom: 1px; font-size: 9px; font-weight: 900; color: #fff; opacity: .8; text-shadow: 0 1px 2px #000; }
#hotbar.hb43 .hk-sk b { font-size: 10px; color: #ffe082; }
#hotbar.hb43 .hk .qty { position: absolute; left: 3px; bottom: 1px; font-size: 9px; color: #fff; text-shadow: 0 1px 2px #000; }
#hotbar.hb43 .hk .cd { position: absolute; inset: 0; border-radius: inherit; display: none; padding-top: 0; place-items: center; font-size: 11px; font-weight: 900; color: #fff; }
#hotbar.hb43 .hk:hover, #hud.hx #hotbar.hb43 .hk:hover { border-color: #ffd740; background: linear-gradient(180deg, #34322a, #121110); box-shadow: 0 0 12px rgba(255,215,64,.45); transform: translateY(-1px); }
#hotbar.hb43 .hk.dim img { opacity: .35; filter: grayscale(1); }
#log .log-line.log-exp { color: #ffd740 !important; }

/* v62 — 🎧 Lake Radio */
#rd-btn { position: absolute; right: 14px; top: 190px; z-index: 30; pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgba(255,215,64,.6); background: linear-gradient(180deg, #26262b, #101012); color: #fff; font: 800 12px/1 inherit; cursor: pointer; box-shadow: 0 0 12px rgba(255,215,64,.25); }
#rd-btn b { font-size: 11px; letter-spacing: .5px; } #rd-btn.hidden { display: none; }
#rd-btn.on { animation: rdPulse 1s ease-in-out infinite alternate; border-color: #69f0ae; }
@keyframes rdPulse { to { box-shadow: 0 0 20px rgba(105,240,174,.55); } }
.rd-now { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #111), #0c0c0e); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.rd-disc { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: repeating-radial-gradient(circle, #1b1b1f 0 3px, #26262b 3px 5px); border: 3px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent); }
.rd-disc.spin { animation: rdSpin 2.4s linear infinite; } @keyframes rdSpin { to { transform: rotate(360deg); } }
.rd-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; } .rd-info small { opacity: .7; font-size: 10px; } .rd-info b { font-size: 15px; } .rd-info span { font-size: 11px; opacity: .8; }
.rd-eq { display: flex; align-items: flex-end; gap: 3px; height: 42px; margin-top: 4px; }
.rd-eq i { width: 8px; height: var(--h); background: repeating-linear-gradient(0deg, var(--c) 0 3px, transparent 3px 5px); transition: height .09s; image-rendering: pixelated; }
.rd-ctl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; } .rd-main { min-width: 90px; }
.rd-vol { display: flex; align-items: center; gap: 4px; flex: 1 1 110px; } .rd-vol input { flex: 1; min-width: 60px; }
.rd-list { max-height: min(46vh, 380px); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.rd-g { display: flex; flex-direction: column; gap: 4px; } .rd-g > b { font-size: 12px; margin: 2px 2px 0; }
.rd-song { display: flex; align-items: center; gap: 8px; text-align: left; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: inherit; font: inherit; cursor: pointer; }
.rd-song:hover { border-color: #ffd740; } .rd-song.on { border-color: #69f0ae; background: rgba(105,240,174,.1); }
.rd-song span { width: 16px; text-align: center; } .rd-song em { font-style: normal; display: flex; flex-direction: column; font-size: 12px; } .rd-song small { font-size: 10px; opacity: .65; }

/* v63 — 🛠 DEV UPDATE */
#du-btn { position: absolute; z-index: 30; pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 64px; height: 44px; border-radius: 10px; border: 1.5px solid rgba(255,215,64,.65); background: linear-gradient(180deg, #26262b, #0e0e10); color: #fff; cursor: pointer; box-shadow: 0 0 10px rgba(255,215,64,.2); font-family: inherit; }
#du-btn b { font-size: 13px; letter-spacing: 1px; color: #ffd740; line-height: 1; } #du-btn span { font-size: 9px; letter-spacing: 1px; opacity: .85; line-height: 1; }
#du-btn:hover { border-color: #fff; box-shadow: 0 0 16px rgba(255,215,64,.5); }
#du-btn.new::after { content: 'NEW'; position: absolute; top: -7px; right: -8px; padding: 1px 5px; border-radius: 6px; background: #ff3355; color: #fff; font: 800 8px/1.4 system-ui, sans-serif; animation: rdPulse 1s infinite alternate; }
.du-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .du-top b { font-size: 15px; } .du-top span { flex: 1; font-size: 11px; opacity: .8; } .du-top em { font-style: normal; color: #ffd740; font-weight: 800; }
.du-list { max-height: min(64vh, 560px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; }
.du-card { border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); overflow: hidden; }
.du-card.on { border-color: rgba(255,215,64,.5); }
.du-h { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.du-h i { font-style: normal; flex: none; min-width: 42px; text-align: center; padding: 2px 6px; border-radius: 6px; background: #ffd740; color: #1a1400; font-weight: 900; font-size: 11px; }
.du-card.early .du-h i { background: #455a64; color: #fff; }
.du-h b { flex: 1; font-size: 13px; } .du-h span { opacity: .6; }
.du-h u { text-decoration: none; padding: 1px 6px; border-radius: 6px; background: #ff3355; color: #fff; font-size: 9px; font-weight: 800; }
.du-b { padding: 0 12px 10px 12px; } .du-b ul { margin: 0 0 6px 16px; padding: 0; } .du-b li { font-size: 12px; line-height: 1.5; opacity: .9; }
.du-b img { display: block; width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); image-rendering: auto; }
.du-card { flex: none; }

/* v65 — Lake Radio ปุ่มใหญ่ NEON */
#rd-btn { top: 170px; right: 16px; flex-direction: column; gap: 6px; width: 132px; height: 118px; padding: 10px; border-radius: 22px; justify-content: center;
  background: radial-gradient(circle at 50% 35%, rgba(0,229,255,.18), rgba(10,6,24,.92) 70%); border: 2.5px solid #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 28px rgba(0,229,255,.55), 0 0 60px rgba(213,0,249,.35), inset 0 0 18px rgba(0,229,255,.35);
  animation: rdNeon 2.4s ease-in-out infinite; font-size: 46px; line-height: 1; }
#rd-btn b { font-size: 15px; letter-spacing: 1.5px; color: #e0fbff; text-shadow: 0 0 6px #00e5ff, 0 0 14px #00e5ff, 0 0 24px #d500f9; }
#rd-btn:hover { transform: scale(1.05); }
#rd-btn.on { animation: rdNeon 1s ease-in-out infinite; border-color: #69f0ae; }
@keyframes rdNeon {
  0%, 100% { border-color: #00e5ff; box-shadow: 0 0 10px #00e5ff, 0 0 28px rgba(0,229,255,.55), 0 0 60px rgba(213,0,249,.35), inset 0 0 18px rgba(0,229,255,.35); filter: drop-shadow(0 0 6px #00e5ff); }
  50% { border-color: #ff4fd8; box-shadow: 0 0 12px #ff4fd8, 0 0 34px rgba(255,79,216,.6), 0 0 70px rgba(0,229,255,.35), inset 0 0 20px rgba(255,79,216,.35); filter: drop-shadow(0 0 8px #ff4fd8); }
}
body.m-mobile #rd-btn { width: 96px; height: 86px; font-size: 32px; border-radius: 18px; } body.m-mobile #rd-btn b { font-size: 11px; }

/* v65 — 💃 ป๊อปอัปท่าเต้น */
#dance-pop { position: fixed; z-index: 60; width: min(380px, 94vw); padding: 8px; border-radius: 14px; background: linear-gradient(180deg, rgba(28,24,40,.97), rgba(12,10,20,.97)); border: 2px solid #ffd740; box-shadow: 0 0 18px rgba(255,215,64,.35), 0 8px 24px rgba(0,0,0,.5); color: #fff; pointer-events: auto; animation: dpIn .18s ease-out; }
@keyframes dpIn { from { opacity: 0; transform: translateY(8px) scale(.95); } }
.dp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .dp-h b { flex: 1; font-size: 13px; color: #ffd740; } .dp-h span { font-size: 10px; opacity: .7; }
.dp-h button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 5px; max-height: 46vh; overflow-y: auto; }
.dp-it { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 3px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; font: inherit; }
.dp-it i { font-style: normal; font-size: 22px; line-height: 1; } .dp-it span { font-size: 10px; line-height: 1.2; text-align: center; }
.dp-it:hover { border-color: #ffd740; background: rgba(255,215,64,.14); transform: translateY(-1px); } .dp-it.on { border-color: #69f0ae; background: rgba(105,240,174,.14); }
.dp-stop { width: 100%; margin-top: 6px; padding: 6px; border-radius: 8px; border: 1px solid #ff8a80; background: rgba(255,82,82,.15); color: #fff; cursor: pointer; font: inherit; font-weight: 800; }
.dp-tail { position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; background: #0e0c16; border-right: 2px solid #ffd740; border-bottom: 2px solid #ffd740; transform: rotate(45deg); }

/* v65 — 🎧 แผง DJ */
#dj-panel { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); z-index: 40; width: min(440px, 94vw); padding: 8px 10px; border-radius: 14px; pointer-events: auto;
  background: linear-gradient(180deg, rgba(14,10,30,.95), rgba(6,4,14,.95)); border: 2px solid #00e5ff; box-shadow: 0 0 14px rgba(0,229,255,.45), 0 0 34px rgba(213,0,249,.25); color: #fff; font-size: 12px; }
.dj-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } .dj-h b { color: #00e5ff; letter-spacing: 1px; text-shadow: 0 0 8px #00e5ff; } .dj-h span { opacity: .85; font-size: 11px; }
.dj-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.dj-row select { flex: 1 1 180px; min-width: 0; padding: 5px; border-radius: 8px; background: #111018; color: #fff; border: 1px solid rgba(0,229,255,.5); font: inherit; }
.dj-b { padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.dj-b.go { background: linear-gradient(180deg, #00e5ff, #0091ea); color: #001018; border: 0; } .dj-b.wide.on { border-color: #ffd740; color: #ffd740; box-shadow: 0 0 10px rgba(255,215,64,.4); }
.dj-sc { flex: 1; font-size: 11px; opacity: .9; } .dj-sc b { color: #ffd740; }
.dj-pad { display: flex; gap: 6px; justify-content: center; } .dj-pad button { width: 46px; height: 40px; border-radius: 10px; border: 1.5px solid #00e5ff; background: rgba(0,229,255,.12); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; }
.dj-pad button.hit { width: 96px; font-size: 13px; letter-spacing: 1px; border-color: #ffd740; background: rgba(255,215,64,.16); }
.dj-pad button:active { transform: scale(.92); } .dj-tip { margin-top: 4px; text-align: center; font-size: 10px; opacity: .75; }

/* v65 — Cash Shop: ห้องลองชุดจัดใหม่ */
.cash-side { display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; }
.cash-side .preview { align-self: center; } .cash-side > .btn:not(.nx-topbig) { align-self: center; }
.cash-side .nx-box { text-align: center; }
.cash-side .hint { order: 5; text-align: center; line-height: 1.5; margin: 0; }
.cash-side .nx-topbig { order: 9; margin-top: auto; width: 100%; padding: 14px 10px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 17px; }
.cash-side .nx-topbig small { font-size: 10px; opacity: .75; font-weight: 600; }
.drag43 .fb-h, .drag43 .dj-h, #rd-btn.drag43, #du-btn.drag43 { cursor: grab; touch-action: none; }
.drag43.dragging { opacity: .9; cursor: grabbing; transition: none !important; }
#fishbot .fb-h::after, #dj-panel .dj-h::after { content: '⠿'; margin-left: 6px; opacity: .45; font-size: 12px; }

/* v66 — ช่องพิมพ์ Pixel Chat ใหญ่ขึ้น */
#pxp .pxp-post { padding: 12px 12px 10px; }
#pxp .pxp-post textarea { min-height: 104px; font-size: 15px; line-height: 1.45; padding: 4px 2px; }

/* v67 — เวลาหมดอายุกาชา: สีรุ้งเรืองแสง */
.ga-cd, .ga-cd.big { padding: 4px 10px; border: 2px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(#160c2c, #160c2c) padding-box, linear-gradient(90deg, #ff1744, #ff9100, #ffea00, #00e676, #00e5ff, #2979ff, #d500f9, #ff1744) border-box;
  background-size: 100% 100%, 300% 100%; animation: gaRbB 3s linear infinite, gaRbG 3s linear infinite; text-shadow: 0 0 6px rgba(255,255,255,.55); }
.ga-cd span, .ga-t .ga-cd span, .ga-head .ga-cd span { font-size: 13px; font-weight: 900; letter-spacing: .5px; color: transparent !important;
  background: linear-gradient(90deg, #ff5252, #ffab40, #ffff00, #69f0ae, #40c4ff, #b388ff, #ff80ab, #ff5252); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; animation: gaRbT 2.4s linear infinite; filter: drop-shadow(0 0 3px rgba(255,255,255,.7)) drop-shadow(0 0 6px rgba(255,64,200,.6)); text-shadow: none; }
@keyframes gaRbB { to { background-position: 0 0, 300% 0; } }
@keyframes gaRbG { 0%, 100% { box-shadow: 0 0 8px #ff1744, 0 0 16px rgba(255,23,68,.5); } 25% { box-shadow: 0 0 8px #ffea00, 0 0 16px rgba(255,234,0,.5); } 50% { box-shadow: 0 0 8px #00e5ff, 0 0 16px rgba(0,229,255,.5); } 75% { box-shadow: 0 0 8px #d500f9, 0 0 16px rgba(213,0,249,.5); } }
@keyframes gaRbT { to { background-position: 300% 0; } }

/* v72 — BOSS SET CRAFT */
.bc-head { padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.2)); border: 2px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); margin-bottom: 8px; }
.bc-head > b { color: var(--c); font-size: 16px; } .bc-head small { display: block; opacity: .8; } .bc-head p { margin: 6px 0; font-size: 12px; }
.bc-bs { display: flex; flex-wrap: wrap; gap: 4px; } .bc-b { font-size: 10.5px; padding: 2px 7px; border-radius: 8px; background: rgba(255,255,255,.07); } .bc-b b { color: var(--c); }
.bc-list { display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto; }
.bc-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.05); }
.bc-row img { width: 32px; height: 32px; image-rendering: pixelated; background: rgba(0,0,0,.35); border-radius: 6px; flex: none; }
.bc-i { flex: 1; min-width: 0; } .bc-i b { display: block; } .bc-i small { opacity: .75; font-size: 10.5px; }
.bc-c { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; gap: 2px; } .bc-c .ok { color: #69f0ae; } .bc-c .no { color: #ff8a80; }
