/* v0.42 แลกของ + ตลาดฝากขาย */
.tm {
  position: absolute; left: 50%; top: calc(64px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  width: 560px; max-width: calc(100% - 24px); max-height: calc(100% - 150px); box-sizing: border-box;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; overflow: auto;
  pointer-events: auto; background: rgba(26, 19, 38, 0.95); z-index: 6;
}
.tm[hidden] { display: none; }
.tm-body { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.tm h3 { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--gold); display: flex; gap: 8px; align-items: baseline; }
.tm h3 small { color: var(--muted); font-size: 11px; font-weight: 400; }
.tm-status { margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 214, 140, 0.1); border: 1px solid var(--edge); font-size: 13px; text-align: center; }
.tm-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.tm-side { padding: 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.1); min-width: 0; }
.tm-offer { display: flex; flex-wrap: wrap; gap: 5px; min-height: 44px; align-items: center; }
.tm-offer .slot { width: 42px; height: 42px; }
.tm-empty { color: var(--muted); font-size: 12px; }
.tm-z { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tm-z b { color: #ffe08a; font-weight: 600; }
.tm-draft { display: flex; flex-direction: column; gap: 6px; }
.tm-zin { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.tm input[type="number"], .tm input[type="search"] {
  font: inherit; font-size: 13px; color: var(--text); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px; padding: 5px 8px; min-width: 0; width: 120px; font-variant-numeric: tabular-nums;
}
.tm input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.tm-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.tm button:not(.slot):not(.st-close):not([role="tab"]) {
  font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer; padding: 6px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
}
.tm button:not(.slot):hover:not(:disabled) { border-color: var(--edge-strong); }
.tm button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.tm button:disabled { opacity: 0.4; cursor: default; }
.tm button.primary { color: #2a1d10; font-weight: 600; border-color: rgba(255, 233, 176, 0.8); background: linear-gradient(#ffe9b0, #e0a640); }
.tm button.ghost { color: var(--muted); background: none; }
.tm-msg { margin: 0; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; background: rgba(158, 220, 255, 0.1); border: 1px solid rgba(158, 220, 255, 0.35); color: var(--sys); }
.tm-pane { display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.tm-search { display: flex; gap: 8px; }
.tm-search input { flex: 1; width: auto; }
.tm-list { display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow-y: auto; }
.tm-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.tm-row .slot { width: 40px; height: 40px; cursor: default; }
.tm-info { min-width: 0; display: flex; flex-direction: column; }
.tm-info b { font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-info small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-right { display: flex; gap: 6px; align-items: center; }
.tm-price { font-variant-numeric: tabular-nums; color: #ffe08a; font-weight: 600; font-size: 13px; text-align: right; white-space: nowrap; }
.tm-price small { color: var(--muted); font-weight: 400; font-size: 11px; margin-left: 2px; }
.tm .tm-qty { width: 56px; }
.tm-hint { margin: 0; font-size: 12px; color: var(--muted); }
.tm-sell { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.tm-sell .tm-row { flex: 1 1 100%; }
.tm-sell label { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.tm-sell .tm-hint { flex: 1 1 100%; }
.tm-wallet { text-align: right; }
@media (max-width: 560px) {
  .tm { top: calc(8px + env(safe-area-inset-top, 0px)); max-height: calc(100% - 120px); }
  .tm-sides { grid-template-columns: minmax(0, 1fr); }
  .tm-row { grid-template-columns: 36px minmax(0, 1fr); }
  .tm-right { grid-column: 1 / -1; justify-content: flex-end; }
}
.tm .inv-grid { grid-template-columns: repeat(auto-fill, minmax(44px, 46px)); max-height: 150px; }
.tm .inv-grid .slot { width: 44px; height: 44px; }

/* v0.43 ร้านเพชร */
.cs { width: 680px; }
.cs .st-head { align-items: center; }
.cs-gems { margin-left: auto; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(140, 220, 255, 0.5); background: rgba(90, 180, 255, 0.12); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-gems b { color: #bfeaff; font-weight: 600; }
.cs-tabs { flex-wrap: wrap; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 52vh; overflow-y: auto; padding: 2px; }
.cs-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); min-width: 0; }
.cs-pic { display: grid; place-items: center; height: 86px; border-radius: 8px; background: rgba(0, 0, 0, 0.25); }
.cs-pic img { max-width: 80px; max-height: 80px; image-rendering: auto; }
.cs-name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.cs-desc { font-size: 11px; color: var(--muted); line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-card button { width: 100%; }
.cs-tag { position: absolute; top: 6px; right: 6px; z-index: 1; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; color: #2a1d10; background: linear-gradient(#ffe9b0, #e0a640); font-weight: 600; }
.cs-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.tm .cs-pack { display: flex !important; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px !important; }
.cs-pack b { color: #bfeaff; font-size: 15px; }
.cs-pack span { font-size: 12px; color: var(--muted); }
.cs-pack em { font-style: normal; font-size: 11px; color: #ffe08a; }
.tm .cs-pack.sel { border-color: var(--gold); background: rgba(255, 214, 140, 0.14); }
.cs-pay { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.cs-qr img { width: 180px; max-width: 100%; border-radius: 10px; background: #fff; padding: 6px; }
.cs-form { display: flex; flex-direction: column; gap: 8px; flex: 1 1 220px; min-width: 0; font-size: 12.5px; color: var(--muted); }
.cs-form label { display: flex; flex-direction: column; gap: 4px; }
.cs-form input[type="text"], .cs-adm input[type="text"] { font: inherit; font-size: 13px; color: var(--text); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 7px; padding: 6px 8px; min-width: 0; }
.cs-form input[type="file"] { font-size: 12px; color: var(--text); max-width: 100%; }
.cs-amt { margin: 0; font-size: 14px; color: var(--text); }
.cs-amt b { color: #ffe08a; }
.cs-terms { font-size: 11px; }
.cs-st { font-size: 12px; white-space: nowrap; }
.cs-approved { color: #8fe08a; } .cs-rejected { color: #ff8a8a; } .cs-pending { color: #ffe08a; }
.cs-req { grid-template-columns: auto minmax(0, 1fr) auto; }
.cs-adm { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.cs-slip img { max-width: 100%; max-height: 320px; border-radius: 8px; }
/* v0.44.5 จำนวนของที่จะวาง + คำเตือน */
.tm-dq { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tm .tm-dq input[type="number"] { width: 58px; padding: 3px 4px; font-size: 12px; text-align: center; }
.tm-warn { background: rgba(255, 160, 90, 0.12); border-color: rgba(255, 170, 100, 0.5); color: #ffd0a0; }

/* v0.45 แท็บ VIP ในร้านเพชร */
.vip-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 214, 140, 0.35);
  background: linear-gradient(120deg, rgba(60, 40, 90, 0.6), rgba(20, 24, 50, 0.6)); }
.vip-card.on { border-color: rgba(255, 210, 100, 0.85); background: linear-gradient(120deg, rgba(120, 80, 20, 0.55), rgba(40, 30, 70, 0.6)); box-shadow: 0 0 18px rgba(255, 200, 80, 0.25); }
.vip-crown { font-size: 34px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.vip-card:not(.on) .vip-crown { filter: grayscale(0.8) brightness(0.8); }
.vip-st { display: flex; flex-direction: column; gap: 2px; }
.vip-st b { font-size: 16px; color: #ffe08a; }
.vip-st small { color: var(--muted); font-size: 12px; }
.vip-buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.tm .vip-pass { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 3px; padding: 14px 10px !important;
  border-color: rgba(255, 214, 140, 0.45) !important; background: linear-gradient(rgba(255, 214, 140, 0.12), rgba(255, 214, 140, 0.04)) !important; }
.vip-pass b { font-size: 15px; color: #ffe8a8; }
.vip-pass span { font-size: 12px; color: var(--muted); }
.vip-pass em { font-style: normal; font-size: 15px; font-weight: 600; color: #bfeaff; margin-top: 2px; }
.tm .vip-pass.sel { border-color: var(--gold) !important; box-shadow: 0 0 0 1px var(--gold), 0 0 14px rgba(255, 200, 80, 0.35); }
.vip-acts { display: flex; flex-direction: column; gap: 8px; }
.vip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vip-warps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 30vh; overflow-y: auto; }
.tm .vip-warp { display: flex !important; flex-direction: column; align-items: flex-start; text-align: left; gap: 1px; padding: 7px 10px !important; }
.vip-warp b { font-size: 12.5px; font-weight: 500; }
.vip-warp small { font-size: 11px; color: var(--muted); }
.vip-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px; }
.vip-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.vip-perks i { font-style: normal; font-size: 20px; line-height: 1; }
.vip-perks b { display: block; font-size: 13px; font-weight: 500; color: #ffe8a8; }
.vip-perks small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
/* แชต: ชื่อ VIP */
.vip-tag { display: inline-block; margin-right: 4px; padding: 0 4px; border-radius: 3px; font-size: 10px; font-weight: 700; line-height: 14px; vertical-align: 1px; color: #3a2200; background: linear-gradient(#fff1b0, #f2b63a); }
.vip-name { color: #ffd65a; font-weight: 600; }
/* หน้าต่างออโต้: ซื้อยาอัตโนมัติ */
.aw-vip h3 small { font-size: 11px; font-weight: 400; color: #ffd65a; margin-left: 6px; }
.aw-vip.locked { opacity: 0.55; }
.aw-buy { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.aw-buy label { display: flex; gap: 6px; align-items: center; }
.aw-buy input { width: 64px; font: inherit; font-size: 13px; color: var(--text); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; padding: 3px 6px; }

/* v0.47 หน้าต่างข้อมูลบอส */
.bossw { width: 640px; }
.bw-list { display: flex; flex-direction: column; gap: 8px; max-height: 58vh; overflow-y: auto; padding: 2px; }
.tm .bw-card { display: grid !important; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; padding: 8px 12px 8px 8px !important; }
.bw-pic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; background: radial-gradient(circle at 50% 60%, rgba(255, 214, 140, 0.18), rgba(0, 0, 0, 0.35)); overflow: hidden; }
.bw-pic img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.bw-pic.big { width: 120px; height: 120px; }
.bw-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bw-info b { font-size: 14.5px; color: #ffe8a8; font-weight: 600; }
.bw-info small { font-size: 12px; color: var(--muted); }
.bw-st { font-style: normal; font-size: 12.5px; }
.bw-st.on { color: #ff8a6a; font-weight: 600; } .bw-st.wait { color: #9ad0ff; } .bw-st.done { color: #8fe08a; } .bw-st.far { color: var(--muted); }
.bw-go { font-style: normal; font-size: 22px; color: var(--gold); }
.bw-head { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.bw-hp { height: 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.4); overflow: hidden; margin-top: 4px; width: 100%; max-width: 320px; }
.bw-hp i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff4a5a, #ffb04a); }
.bw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bw-stats span { display: flex; flex-direction: column; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.bw-stats small { font-size: 11px; color: var(--muted); } .bw-stats b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bw-drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; max-height: 34vh; overflow-y: auto; padding: 2px; }
.bw-drop { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 8px 4px 4px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.bw-drop .slot { width: 40px; height: 40px; display: grid; place-items: center; position: relative; }
.bw-drop .slot img { width: 34px; height: 34px; image-rendering: pixelated; }
.bw-dn { display: flex; flex-direction: column; min-width: 0; }
.bw-dn b { font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-dn small { font-size: 11px; color: var(--muted); }
.bw-drop em { font-style: normal; font-size: 12px; color: #ffe08a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bw-z { font-size: 18px; color: #fff; text-shadow: 0 1px 0 #6a4210, 0 0 4px #000; position: relative; z-index: 1; }
.bw-back { align-self: flex-start; }
@media (max-width: 560px) { .bw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm .bw-card { grid-template-columns: 56px minmax(0, 1fr) auto; } .bw-pic { width: 56px; height: 56px; } }
.bw-sub { margin-top: 4px; }

/* v0.49 วิกิในเกม */
.wikiw { width: min(1080px, calc(100vw - 24px)); }
.wk-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.wk-tabs { flex: 1 1 auto; flex-wrap: wrap; }
.wk-q { flex: 0 1 280px; min-width: 180px; padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255, 220, 150, 0.3); background: rgba(0, 0, 0, 0.35); color: #fff; font: inherit; font-size: 13px; }
.wk-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 12px; height: min(68vh, 640px); }
.wk-list { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.wk-fs { display: flex; gap: 6px; }
.wk-f { flex: 1; min-width: 0; padding: 5px 6px; border-radius: 7px; background: rgba(0, 0, 0, 0.4); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); font: inherit; font-size: 12.5px; }
.wk-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding-right: 2px; min-height: 0; }
.tm .wk-it { display: flex !important; align-items: center; gap: 8px; text-align: left; padding: 5px 8px !important; border-radius: 8px; background: rgba(255, 255, 255, 0.035) !important; border: 1px solid transparent; min-height: 40px; flex: none; width: 100%; color: inherit; cursor: pointer; font: inherit; }
.tm .wk-it:hover { background: rgba(255, 255, 255, 0.08) !important; }
.tm .wk-it.sel { border-color: rgba(255, 210, 120, 0.7); background: rgba(255, 200, 100, 0.14) !important; }
.wk-it img { width: 28px; height: 28px; image-rendering: pixelated; flex: none; }
.wk-it span { display: flex; flex-direction: column; min-width: 0; }
.wk-it b { font-size: 13px; font-weight: 500; color: #f4ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-it small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-page { overflow-y: auto; padding: 4px 10px 12px 4px; font-size: 13.5px; line-height: 1.6; color: #efe6d6; min-height: 0; }
.wk-page h4 { margin: 14px 0 6px; font-size: 14px; color: #ffd98a; font-weight: 600; }
.wk-page p { margin: 6px 0; }
.wk-page .wk-gt { margin: 2px 0 8px; font-size: 19px !important; color: #ffe8a8; }
.wk-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.wk-head h3 { margin: 0; font-size: 18px; }
.wk-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.wk-pic { width: 84px; height: 84px; flex: none; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 60%, rgba(255, 214, 140, 0.18), rgba(0, 0, 0, 0.35)); overflow: hidden; }
.wk-pic img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.wk-pic img[src$=".png"]:not([data-mob]), .wk-pic img[src^="data:"] { width: 64px; height: 64px; object-fit: contain; }
.wk-crest { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 26px; font-weight: 700; color: #2a1a10; }
.wk-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 6px 0; }
.wk-stats span { display: flex; flex-direction: column; padding: 6px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.wk-stats small { font-size: 11px; color: var(--muted); } .wk-stats b { font-size: 13px; font-weight: 600; }
.wk-desc { color: #d8cdb8; font-style: italic; }
.wk-muted { color: var(--muted); font-size: 12.5px; }
.wk-bad { color: #ff7a7a; font-weight: 600; } .wk-good { color: #8fe08a; }
.wk-ul { margin: 6px 0; padding-left: 20px; } .wk-ul li { margin: 3px 0; }
.wk-tb { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 12.5px; }
.wk-tb th { text-align: left; padding: 6px 8px; background: rgba(255, 200, 100, 0.12); color: #ffd98a; font-weight: 600; }
.wk-tb td { padding: 5px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; }
.wk-tb tr:nth-child(even) td { background: rgba(255, 255, 255, 0.025); }
.wk-skill td:last-child { color: #d8cdb8; }
.wk-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0; }
.wk-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 4px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); font-size: 12.5px; }
.wk-chip img { width: 22px; height: 22px; image-rendering: pixelated; }
.wk-chip em { font-style: normal; color: #ffe08a; font-variant-numeric: tabular-nums; }
.wk-a { color: #9ad0ff; cursor: pointer; text-decoration: none; }
.wk-a:hover { text-decoration: underline; }
.wk-mini { width: 32px; height: 32px; vertical-align: middle; image-rendering: pixelated; object-fit: contain; }
.wk-mobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.wk-mob { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); cursor: pointer; text-align: center; }
.wk-mob:hover { background: rgba(255, 255, 255, 0.09); }
.wk-mob img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.wk-mob b { font-size: 12.5px; font-weight: 500; color: #f4ead8; } .wk-mob b.mvp { color: #ffb347; }
.wk-mob small { font-size: 11px; color: var(--muted); }
.wk-sw { display: inline-block; width: 40px; height: 12px; border-radius: 3px; }
.wk-page kbd { display: inline-block; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 11.5px; font-family: inherit; }
@media (max-width: 720px) {
  .wk-body { grid-template-columns: 1fr; grid-template-rows: 34% minmax(0, 1fr); height: 74vh; }
  .wk-q { flex: 1 1 100%; }
}

/* v0.50 ตลาดแลกเพชร */
.gxw { width: min(760px, calc(100vw - 24px)); }
.gxw .st-head { align-items: center; }
.gx-bal { margin-left: auto; margin-right: 10px; display: flex; gap: 8px; }
.gx-bal span { padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 220, 150, 0.3); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; }
.gx-bal b { color: #ffe8a8; font-weight: 600; }
.gx-body { display: flex; flex-direction: column; gap: 8px; max-height: 72vh; overflow-y: auto; padding-right: 2px; }
.gx-card { padding: 8px 10px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 220, 150, 0.16); }
.gx-ch { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 220, 150, 0.14); }
.gx-ch b { font-size: 14.5px; color: #ffe8a8; font-weight: 600; }
.gx-ch span { font-size: 12px; color: var(--muted); }
.gx-chart { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; }
.gx-plot { position: relative; height: 160px; border-radius: 8px; background: linear-gradient(180deg, #1c2a52, #142040); border: 1px solid rgba(120, 160, 255, 0.25); overflow: hidden; }
.gx-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gx-plot .tm-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
.gx-ax { stroke: rgba(160, 190, 255, 0.35); stroke-width: 1.5; }
.gx-ln { fill: none; stroke: #e0583a; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.gx-pt { fill: #ffc84a; stroke: #6a3a10; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.gx-hi, .gx-lo { position: absolute; left: 8px; font-style: normal; font-size: 12.5px; color: #c8d6ff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000; }
.gx-hi { top: 4px; } .gx-lo { bottom: 4px; }
.gx-rng { display: flex; flex-direction: column; gap: 6px; }
.gx-rng button { padding: 6px 4px !important; font-size: 12.5px; }
.gx-depth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx-dh { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }
.gx-g { color: #8fe08a; } .gx-r { color: #ff8a7a; }
.gx-dr { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 6px; align-items: center; padding: 3px 8px; margin: 2px 0; border-radius: 6px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; overflow: hidden; font-variant-numeric: tabular-nums; }
.gx-dr::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: var(--w); opacity: 0.22; pointer-events: none; }
.gx-dr.bid::before { background: #6ad86a; } .gx-dr.ask::before { background: #ff6a5a; }
.gx-dr small { color: var(--muted); } .gx-dr b { font-weight: 600; position: relative; }
.gx-dr.bid b { color: #9af09a; } .gx-dr.ask b { color: #ffa090; }
.gx-trade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gx-side { display: flex; flex-direction: column; gap: 7px; }
.gx-best { margin: 0; font-size: 12.5px; color: var(--muted); } .gx-best b { color: #ffe8a8; }
.gx-mode { display: flex; } .gx-mode button { flex: 1; }
.gx-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.gx-in input { width: 55%; padding: 6px 8px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.35); color: #fff; font: inherit; text-align: right; }
.gx-sum { margin: 0; min-height: 18px; font-size: 12px; color: #ffe08a; }
.gx-go { margin-top: auto; padding: 8px !important; }
.gx-mine { display: flex; flex-direction: column; gap: 5px; }
.gx-o { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.gx-o span:nth-child(2) { display: flex; flex-direction: column; } .gx-o b { font-size: 13px; font-weight: 500; } .gx-o small { font-size: 11.5px; color: var(--muted); }
.gx-tag { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.gx-tag.buy { background: rgba(106, 216, 106, 0.2); color: #9af09a; } .gx-tag.sell { background: rgba(255, 106, 90, 0.2); color: #ffa090; }
@media (max-width: 600px) { .gx-trade, .gx-depth { grid-template-columns: 1fr; } .gx-chart { grid-template-columns: 1fr; } .gx-rng { flex-direction: row; } .gx-bal { display: none; } }

/* v0.51 ลองใส่แฟชั่น */
.tm .cs-tryb { padding: 4px 6px !important; font-size: 12px; }
.cs-try { pointer-events: auto; position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 14px !important; width: min(560px, calc(100vw - 24px)); box-sizing: border-box; }
.cs-try-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cs-try-info b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-try-info small { font-size: 11.5px; color: var(--muted); }
.cs-try button { white-space: nowrap; }
@media (max-width: 560px) { .cs-try { flex-wrap: wrap; bottom: 120px; } .cs-try-info { flex: 1 1 100%; } }
.cs-try[hidden] { display: none; }
.rgx { padding: 0 6px; border-radius: 5px; } .rgx.g4 { background: rgba(255, 200, 80, 0.25); color: #ffd86a; } .rgx.g3 { background: rgba(120, 220, 255, 0.2); color: #9adcff; } .rgx.g2 { background: rgba(140, 230, 140, 0.18); color: #a8f0a8; } .rgx.g1 { background: rgba(255, 255, 255, 0.08); color: #ddd; } .rgx.g0 { background: rgba(255, 90, 90, 0.2); color: #ff9a9a; }

/* v0.74 ภารกิจรายวัน */
.dailyw { width: 540px; }
.dq-body { display: flex; flex-direction: column; gap: 8px; }
.dq-hint { margin: 0; font-size: 12px; color: var(--muted, #b3b5bd); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dq-list { display: grid; gap: 6px; }
.dq-row, .dq-bonus { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.dq-row.done { border-color: rgba(255, 214, 120, 0.55); background: rgba(255, 214, 120, 0.08); }
.dq-row.claimed { opacity: 0.6; }
.dq-ic, .dq-chest { font-size: 24px; text-align: center; line-height: 1; }
.dq-main b { font-size: 14px; font-weight: 600; color: var(--gold, #ffd36b); }
.dq-main p { margin: 2px 0 5px; font-size: 12.5px; line-height: 1.45; }
.dq-bar { position: relative; height: 14px; border-radius: 7px; background: rgba(0, 0, 0, 0.45); overflow: hidden; }
.dq-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #5fbf6b, #a8e66f); border-radius: 7px; transition: width 0.3s; }
.dq-bar span { position: relative; display: block; text-align: center; font-size: 10.5px; line-height: 14px; color: #fff; text-shadow: 0 1px 0 #000; font-variant-numeric: tabular-nums; }
.dq-act { display: flex; flex-direction: column; gap: 4px; align-items: stretch; min-width: 84px; }
.dq-btn { font: inherit; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(255, 214, 140, 0.5); color: var(--text, #f1e9d5); background: rgba(255, 255, 255, 0.06); }
.dq-btn.gold { background: linear-gradient(#ffd46b, #e7a534); color: #3a2208; font-weight: 600; border-color: #ffe5a0; }
.dq-btn.ghost { border-color: rgba(255, 255, 255, 0.18); color: var(--muted, #b3b5bd); }
.dq-btn:disabled { opacity: 0.45; cursor: default; filter: grayscale(0.6); }
.dq-ok { font-size: 12px; color: #9ee59a; text-align: center; }
.dq-bonus { border-color: rgba(255, 179, 71, 0.35); background: rgba(255, 179, 71, 0.06); }
.dq-bonus.ready { border-color: #ffb347; box-shadow: 0 0 14px rgba(255, 179, 71, 0.35); }
.dq-bonus.claimed { opacity: 0.65; }
.dq-rws { display: flex; flex-wrap: wrap; gap: 4px; }
.dq-rw { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--text, #f1e9d5); }
.dq-rw img { width: 16px; height: 16px; image-rendering: pixelated; }
.dq-streak { margin: 0; font-size: 12px; color: var(--muted, #b3b5bd); line-height: 1.5; }
.dq-streak b { color: #ffb347; }
@media (max-width: 600px) { .dq-row, .dq-bonus { grid-template-columns: 30px minmax(0, 1fr); } .dq-act { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; } }

/* v0.75 ดันเจี้ยนปาร์ตี้: ตารางดาเมจในแถบสถานะ */
.pd-hud .pd-dmg { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 1px; font-size: 11px; max-height: 96px; overflow: auto; }
.pd-hud .pd-dmg li { display: flex; justify-content: space-between; gap: 10px; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); }
.pd-hud .pd-dmg li:first-child { color: #ffd36b; }
.pd-hud .pd-dmg b { font-variant-numeric: tabular-nums; }
.pd-hud .pd-dmg { grid-column: 1 / -1; }

/* v0.76 อันดับประจำฤดูกาล */
.seasonw { width: 560px; }
.sn-tabs { flex-wrap: wrap; }
.sn-tabs button { flex: 1 1 auto; }
.sn-body { display: flex; flex-direction: column; gap: 6px; }
.sn-desc, .sn-note { margin: 0; font-size: 12px; color: var(--muted, #b3b5bd); }
.sn-me { margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 214, 120, 0.08); border: 1px solid rgba(255, 214, 120, 0.3); font-size: 13px; }
.sn-me b { color: var(--gold, #ffd36b); font-size: 15px; }
.sn-rw { font-size: 12px; }
.sn-rw summary { cursor: pointer; color: var(--gold, #ffd36b); }
.sn-rw p { margin: 4px 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.sn-list { max-height: 46vh; overflow: auto; }
.sn-hall { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.sn-hall h3 { margin: 0 0 4px; font-size: 14px; color: var(--gold, #ffd36b); }
.sn-hall p { margin: 3px 0; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sn-champ { padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.sn-champ.r1 { background: rgba(255, 214, 90, 0.18); color: #ffe08a; }

/* v0.76 ฉายาซ้อน 3 อันในหน้าความสำเร็จ */
.cw-live.cw-stack { flex-direction: column; align-items: center; gap: 22px; padding: 50px 0 30px; }
.cw-tb { display: flex; gap: 4px; margin-top: 4px; }
.cw-tb button, .cw-ach button[disabled] { font-size: 11px; padding: 3px 8px; }
.cw-ach button[disabled] { opacity: 0.45; }
.sn-title { font-weight: 600; }
.sn-title.t-divine { color: #fff2a8; text-shadow: 0 0 6px rgba(255, 230, 140, 0.8); }
.sn-title.t-mythic { color: #ff9ae6; text-shadow: 0 0 5px rgba(255, 150, 230, 0.6); }
.sn-title.t-legend { color: #ffb347; }

/* v0.77 หลอมอุปกรณ์นิรันดร์กาล */
.eternalw { width: 600px; }
.et-lines { flex-wrap: wrap; }
.et-lines button { flex: 1 1 auto; }
.et-body { display: flex; flex-direction: column; gap: 8px; }
.et-slots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.et-slot { position: relative; padding-bottom: 12px; }
.et-slot img { width: 70%; image-rendering: auto; }
.et-slot small { position: absolute; bottom: 1px; left: 0; right: 0; text-align: center; font-size: 9.5px; color: var(--muted, #b3b5bd); }
.et-slot.on { outline: 2px solid #ffd8ff; outline-offset: 1px; }
.et-own { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 11px; color: #9ee59a; }
.et-item { padding: 8px 10px; border-radius: 10px; background: rgba(255, 216, 255, 0.05); border: 1px solid rgba(255, 216, 255, 0.25); }
.et-head { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.et-big { width: 64px; }
.et-big img { width: 80%; }
.et-name { font-size: 16px; display: block; }
.et-head small { display: block; font-size: 11.5px; color: var(--muted, #b3b5bd); }
.et-stats { margin: 4px 0 0; font-size: 12.5px; color: #c8f0c0; line-height: 1.5; }
.et-set { font-size: 12px; margin-top: 6px; }
.et-set summary { cursor: pointer; color: #ffd8ff; }
.et-set p { margin: 3px 0; }
.et-recipe h3 { margin: 0 0 4px; font-size: 13.5px; color: var(--gold, #ffd36b); }
.et-mats { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.et-mats li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); font-size: 12.5px; }
.et-mats li img { width: 22px; height: 22px; }
.et-mats li em { font-style: normal; font-size: 10.5px; color: var(--muted, #b3b5bd); }
.et-mats li.ok b { color: #9ee59a; } .et-mats li.no b { color: #ff8a8a; }
.et-z { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(#ffe9a0, #c98a22); color: #3a2208; font-weight: 700; font-size: 12px; }
.et-luck { margin-top: 6px; font-size: 12.5px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.et-luck button { padding: 2px 10px; font-size: 12px; } .et-luck button.on { border-color: #ffd8ff; color: #ffd8ff; }
.et-go { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }
.et-go b { color: #ffd8ff; font-size: 18px; }
.et-note { margin: 6px 0 0; font-size: 11.5px; color: var(--muted, #b3b5bd); line-height: 1.5; }

/* v0.78 สนามประลอง (อารีน่า PvP) */
.arenaw { width: 600px; }
.ar-tabs { flex-wrap: wrap; }
.ar-tabs button { flex: 1 1 auto; }
.ar-body { display: flex; flex-direction: column; gap: 8px; }
.ar-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ar-mode { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 120, 90, 0.06); border: 1px solid rgba(255, 140, 110, 0.28); }
.ar-mode header { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 14.5px; }
.ar-mode header b { color: var(--gold, #ffd36b); }
.ar-rate { margin: 0; font-size: 12.5px; }
.ar-rate b { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.ar-desc, .ar-why, .ar-q, .ar-day, .ar-pts { margin: 0; font-size: 12px; color: var(--muted, #b3b5bd); line-height: 1.45; }
.ar-why { color: #ff9a8a; }
.ar-q { color: #9ad8ff; animation: buff-blink 1.4s ease-in-out infinite; }
.ar-go { display: flex; justify-content: flex-end; margin-top: auto; }
.ar-day b, .ar-pts b { color: var(--gold, #ffd36b); font-size: 14px; }
.ar-rejoin { margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(255, 90, 90, 0.12); border: 1px solid rgba(255, 110, 110, 0.4); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.ar-tier { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); white-space: nowrap; }
.ar-bm { display: flex; gap: 6px; }
.ar-bm button { flex: 1; } .ar-bm button.on { border-color: var(--gold, #ffd36b); color: var(--gold, #ffd36b); }
.ar-list li { grid-template-columns: 30px 1fr auto auto auto 44px; }
.ar-list li small { color: var(--muted, #b3b5bd); font-size: 11px; text-align: right; }
.ar-shop { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.ar-shop li { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-size: 12.5px; }
.ar-shop li img { width: 28px; height: 28px; }
.ar-shop li small { display: block; font-size: 10.5px; color: var(--muted, #b3b5bd); }
.ar-cost { color: var(--gold, #ffd36b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-shop button { padding: 4px 12px; font-size: 12px; }
.ar-rules p { margin: 3px 0; font-size: 12.5px; line-height: 1.5; }
.ar-rules h3 { margin: 8px 0 2px; font-size: 13.5px; color: var(--gold, #ffd36b); }
.ar-tiers { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.ar-tiers li { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: 12px; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); }
.ar-tiers li small { color: var(--muted, #b3b5bd); min-width: 44px; }
.ar-hud .ar-teams { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; margin-top: 4px; }
.ar-hud .ar-vs { font-size: 11px; color: var(--gold, #ffd36b); }
.ar-hud ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ar-hud li { display: grid; gap: 1px; font-size: 10.5px; }
.ar-hud li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-hud li i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--c) var(--w), rgba(0, 0, 0, 0.45) var(--w)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ar-hud li.me span { color: #fff; font-weight: 600; }
.ar-hud li.dead { opacity: 0.4; text-decoration: line-through; }
.ar-hud .ar-t2 li { text-align: right; }
.ar-hud .dg-x { grid-row: 1 / span 3; }
.ar-chip { position: absolute; top: calc(64px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; font-size: 12.5px; color: #9ad8ff; pointer-events: auto; }
.ar-chip[hidden] { display: none; }
.ar-chip span { cursor: pointer; white-space: nowrap; }
.ar-chip button { padding: 3px 10px; font-size: 11.5px; }
@media (max-width: 640px) { .ar-modes { grid-template-columns: 1fr; } .ar-list li { grid-template-columns: 26px 1fr auto auto 40px; } .ar-list li .jb { display: none; } }
.ar-hud { top: calc(78px + env(safe-area-inset-top, 0px)); min-width: 300px; }
body.touch .ar-hud { top: calc(54px + env(safe-area-inset-top, 0px)); left: 50%; right: auto; transform: translateX(-50%); min-width: 240px; max-width: min(300px, calc(100vw - 300px)); padding: 4px 8px; gap: 0 8px; }
body.touch .ar-hud .dg-t { font-size: 11px; } body.touch .ar-hud .dg-o, body.touch .ar-hud .dg-m { font-size: 10.5px; }
body.touch .ar-hud .dg-x { padding: 3px 7px; font-size: 11px; }
body.touch .ar-hud li { font-size: 9.5px; } body.touch .ar-hud li i { height: 4px; }
@media (max-width: 900px) { .ar-hud { top: calc(54px + env(safe-area-inset-top, 0px)); bottom: auto; } }
.ar-chip { top: calc(78px + env(safe-area-inset-top, 0px)); }
body.touch .ar-chip { top: calc(54px + env(safe-area-inset-top, 0px)); font-size: 11px; }
@media (max-height: 520px) {
  .ar-hud { top: calc(52px + env(safe-area-inset-top, 0px)); left: 50%; right: auto; transform: translateX(-50%); min-width: 230px; max-width: 270px; padding: 3px 8px; gap: 0 6px; }
  .ar-hud .dg-t { font-size: 10.5px; } .ar-hud .dg-o, .ar-hud .dg-m { font-size: 10px; line-height: 1.25; }
  .ar-hud .dg-x { padding: 2px 6px; font-size: 10.5px; }
  .ar-hud .ar-teams { margin-top: 2px; gap: 4px; } .ar-hud li { font-size: 9px; gap: 0; } .ar-hud li i { height: 3px; }
  .ar-chip { top: calc(52px + env(safe-area-inset-top, 0px)); font-size: 11px; padding: 3px 4px 3px 8px; }
}
@media (max-height: 520px) {
  body .dg-hud.ar-hud { left: calc(8px + env(safe-area-inset-left, 0px)); right: auto; top: calc(92px + env(safe-area-inset-top, 0px)); bottom: auto; transform: none; min-width: 0; width: 200px; max-width: 200px; }
}

/* v0.79 อีเวนต์เทศกาล */
.festw { width: 580px; }
.fw-body { display: flex; flex-direction: column; gap: 8px; }
.fw-body h3 { margin: 4px 0 0; font-size: 13.5px; color: var(--gold, #ffd36b); }
.fw-body h3 small { color: var(--muted, #b3b5bd); font-weight: 400; }
.fw-tabs { flex-wrap: wrap; } .fw-tabs button { flex: 1 1 auto; }
.fw-cur { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--fc) 10%, transparent); border: 1px solid color-mix(in srgb, var(--fc) 45%, transparent); display: flex; flex-direction: column; gap: 6px; }
.fw-cur header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.fw-cur header b { font-size: 16px; color: var(--fc); }
.fw-cur header span { font-size: 12px; color: var(--muted, #b3b5bd); }
.fw-desc { margin: 0; font-size: 12.5px; }
.fw-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.fw-mobs p { margin: 2px 0; font-size: 12px; }
.fw-tok { display: grid; justify-items: center; padding: 4px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
.fw-tok img { width: 40px; height: 40px; } .fw-tok b { font-size: 18px; color: #fff; } .fw-tok small { font-size: 10.5px; color: var(--muted, #b3b5bd); }
.fw-aura { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: rgba(255, 179, 71, 0.08); border: 1px solid rgba(255, 179, 71, 0.35); }
.fw-thumb { width: 72px; height: 72px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); object-fit: cover; }
.fw-aura b { display: block; font-size: 14px; } .fw-aura small { display: block; font-size: 11px; color: var(--muted, #b3b5bd); } .fw-aura p { margin: 3px 0 0; font-size: 12px; }
.fw-own { color: #9ee59a; font-weight: 600; white-space: nowrap; }
.fw-shop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.fw-shop li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 6px; align-items: center; padding: 3px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-size: 12px; }
.fw-shop li img { width: 26px; height: 26px; } .fw-shop li b { color: var(--gold, #ffd36b); } .fw-shop button { padding: 3px 10px; font-size: 11.5px; }
.fw-mini { width: 18px; height: 18px; vertical-align: middle; }
.fw-cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.fw-cal li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border-left: 3px solid var(--fc); font-size: 12.5px; }
.fw-cal li small { color: var(--muted, #b3b5bd); }
.ev-fest { display: block; width: 100%; margin: 4px 0 6px; padding: 8px 10px; font-weight: 600; color: #ffd36b; background: linear-gradient(90deg, rgba(255, 138, 26, 0.25), rgba(122, 58, 255, 0.25)); border: 1px solid rgba(255, 180, 90, 0.5); border-radius: 8px; }
@media (max-width: 640px) { .fw-shop { grid-template-columns: 1fr; } .fw-aura { grid-template-columns: 56px 1fr; } .fw-aura .dq-btn, .fw-own { grid-column: 1 / -1; } .fw-thumb { width: 56px; height: 56px; } }
