/* Floralia — หินดำ + เพชร (2026-10-17): the HUD money strip, the windows' header chips, the craft cost, and the full-screen
   diamond shop (js/diashop.js, js/wallet.js). Obsidian + gold like the ranking screen; numbers crisp, no glow round text. */

/* ---- the HUD money strip: เพชร (+) · หินดำ · ทอง (js/hudlayout.js) ---- */
#goldchip { gap: calc(2px * var(--u)); padding: calc(3px * var(--u)) calc(12px * var(--u)) calc(3px * var(--u)) calc(8px * var(--u)); cursor: default; }
#goldchip .wc { display: inline-flex; align-items: center; gap: calc(4px * var(--u)); padding: 0 calc(3px * var(--u)); border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
#goldchip .wc + .wc, #goldchip .wc-plus + .wc { margin-left: calc(5px * var(--u)); padding-left: calc(8px * var(--u)); border-left: 1px solid rgba(217, 164, 67, 0.4); border-radius: 0; }
#goldchip .wc-dia { color: #a8ecff; }
#goldchip .wc-bs { color: #ddd2ff; }
#goldchip .wc-gold { color: #ffe08a; }
#goldchip .wc:hover, #goldchip .wc:focus-visible { filter: brightness(1.2); }
#goldchip .wc-plus { flex: none; width: calc(18px * var(--u)); height: calc(18px * var(--u)); margin-left: calc(2px * var(--u)); padding: 0; border-radius: 50%; border: 1px solid #f4cf75;
  background: linear-gradient(#5cc25a, #24742a); color: #fff; font: 800 calc(14px * var(--u))/1 Fredoka, sans-serif; cursor: pointer; display: grid; place-items: center; }
#goldchip .wc-plus:hover, #goldchip .wc-plus:focus-visible { filter: brightness(1.15); transform: scale(1.08); }

/* ---- window headers (bag / shop / craft / forge): the three chips ---- */
.wl-chips { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.wl-chips .wl-chip[data-info] { cursor: pointer; }
.wl-chips .wl-dia { color: #8fe2ff; }
.wl-chips .wl-bs { color: #d9ccff; }
#ui .bookwin .wl-chips .wl-chip { padding: 3px 10px; }
#ui .bookwin .wl-chips .wl-dia { color: #8fe2ff; }
#ui .bookwin .wl-chips .wl-bs { color: #ddd0ff; }
/* (three chips do not fit beside the right page's title and Esc: they sit at the right end of the left page's header) */
#ui .bw-eco .eco-gold:has(.wl-chips), #ui .bw-forge .eco-gold:has(.wl-chips) { left: 744px; right: auto; transform: translateX(-100%); }
/* a long title and big sums: two smaller rows, เพชร + หินดำ over the gold (js/bookui.js fitChips) */
#ui .bookwin .eco-gold.two { top: 139px; }
#ui .bookwin .eco-gold.two .wl-chips { display: grid; grid-template-columns: auto auto; gap: 1px 4px; justify-items: end; }
#ui .bookwin .eco-gold.two .wl-chips .wl-chip { padding: 0 8px; font-size: 12px; line-height: 1.6; }
#ui .bookwin .eco-gold.two .wl-chips .wl-chip img { width: 15px; height: 15px; }
#ui .bookwin .eco-gold.two .wl-chips .wl-gold { grid-column: 1 / -1; }

/* ---- the craft page's cost row: หินดำ beside gold (js/craft.js) ---- */
.m4-cost .m4-bs { cursor: pointer; color: #ddd0ff; }
.m4-cost .m4-bs.short { color: #ff8a7a; }

/* ================= the diamond shop (#diashop, G.overlay 'dia') ================= */
#diashop { position: fixed; inset: 0; z-index: 900; pointer-events: auto; overflow: hidden; user-select: none; font-family: 'Mali', sans-serif; color: #f2ead6;
  background: radial-gradient(ellipse 80% 70% at 55% 45%, #221c2e 0%, #15121b 60%, #0b0a0f 100%); animation: dsIn 0.2s ease-out both; }
@keyframes dsIn { from { opacity: 0; } to { opacity: 1; } }
#diashop[hidden], #diashop [hidden] { display: none !important; }
#diashop button { font-family: 'Mali', sans-serif; color: inherit; }
#diashop .ds-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: flex; flex-direction: column; }

/* top bar: title · tabs · money · exit */
#diashop .ds-top { position: relative; flex: none; height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 14px 0 20px;
  background: linear-gradient(#0b0a0e, #19161f); border-bottom: 1px solid rgba(217, 164, 67, 0.45); }
#diashop .ds-title { display: flex; align-items: center; gap: 8px; flex: none; }
#diashop .ds-title img { width: 38px; height: 38px; object-fit: contain; }
#diashop .ds-title b { font: 800 26px/1 Mali, sans-serif; color: #f4dfa8; letter-spacing: 0.5px; }
#diashop .ds-tabs { display: flex; gap: 4px; height: 100%; align-items: flex-end; }
#diashop .ds-tabs button { position: relative; display: flex; align-items: center; gap: 7px; height: 50px; padding: 0 18px; border: 0; border-radius: 10px 10px 0 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.03); color: #b9ad94; font: 700 17px/1 Mali, sans-serif; box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.18); }
#diashop .ds-tabs button img { width: 28px; height: 28px; object-fit: contain; }
#diashop .ds-tabs button:hover, #diashop .ds-tabs button:focus-visible { color: #f2dfae; background: rgba(217, 164, 67, 0.08); }
#diashop .ds-tabs button.on { color: #ffe9b0; background: linear-gradient(#3a2f1c, #221b12); box-shadow: inset 0 0 0 1px rgba(242, 198, 106, 0.6), inset 0 -3px 0 #f2c66a; }
#diashop .ds-dot { position: absolute; right: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #ff4f4f; box-shadow: 0 0 0 2px #1a1310; }
#diashop .ds-cur { margin-left: auto; display: flex; align-items: center; gap: 8px; }
#diashop .ds-chip { display: flex; align-items: center; gap: 6px; height: 32px; min-width: 104px; padding: 0 12px 0 6px; border-radius: 6px; background: #0a090c; box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.45); }
#diashop .ds-chip[data-info] { cursor: pointer; }
#diashop .ds-chip[data-info]:hover { box-shadow: inset 0 0 0 1px #f2c66a; }
#diashop .ds-chip img { width: 24px; height: 24px; object-fit: contain; }
#diashop .ds-chip em { margin-left: auto; font: 700 16px Fredoka, Mali, sans-serif; font-style: normal; font-variant-numeric: tabular-nums; color: #f6ead0; }
#diashop .ds-chip.ds-dia em { color: #a8ecff; }
#diashop .ds-chip.ds-bs em { color: #ddd2ff; }
#diashop .ds-chip.ds-gold em { color: #ffe08a; }
#diashop .ds-plus { width: 26px; height: 26px; margin-left: -4px; padding: 0; border-radius: 50%; border: 1px solid #f4cf75; background: linear-gradient(#5cc25a, #24742a); color: #fff; font: 800 18px/1 Fredoka, sans-serif; cursor: pointer; }
#diashop .ds-plus:hover, #diashop .ds-plus:focus-visible { filter: brightness(1.15); }
#diashop .ds-exit { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
#diashop .ds-exit i { width: 36px; height: 36px; background: var(--uib-btn_close, url(../assets/ui_book/btn_close.png)) center / contain no-repeat; transition: transform 0.12s, filter 0.12s; }
#diashop .ds-exit:hover i, #diashop .ds-exit:focus-visible i { transform: scale(1.1); filter: brightness(1.2); }

/* body */
#diashop .ds-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 18px 26px 26px; }
#diashop .ds-link { padding: 0 4px; border: 0; background: none; color: #f2c66a; font: 700 14px Mali, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#diashop .ds-link:hover { color: #ffe3a1; }

/* เติมเพชร: banner + packages */
#diashop .ds-banner { position: relative; height: 250px; border-radius: 14px; background: #120f1c center right / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(242, 198, 106, 0.5), 0 10px 30px rgba(0, 0, 0, 0.45); overflow: hidden; }
#diashop .ds-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 8, 26, 0.92) 0%, rgba(12, 8, 26, 0.7) 32%, rgba(12, 8, 26, 0) 58%); }
#diashop .ds-btext { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
#diashop .ds-btext b { font: 800 52px/1.05 Mali, sans-serif; color: #fff1c8; }
#diashop .ds-btext span { font: 700 21px/1.3 Mali, sans-serif; color: #e9defc; }
#diashop .ds-btext span em { font-style: normal; color: #7fe3ff; font-weight: 800; }
#diashop .ds-btext small { font: 500 14.5px/1.5 Mali, sans-serif; color: #c9bfdc; }
#diashop .ds-packs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
#diashop .ds-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 12px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(#2b2238, #1a1523); box-shadow: inset 0 0 0 1px rgba(242, 198, 106, 0.45), 0 6px 18px rgba(0, 0, 0, 0.4); transition: transform 0.12s, box-shadow 0.12s; }
#diashop .ds-pack:hover, #diashop .ds-pack:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 2px #f2c66a, 0 10px 24px rgba(0, 0, 0, 0.5); }
#diashop .ds-part { width: 150px; height: 130px; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, rgba(127, 227, 255, 0.22), rgba(127, 227, 255, 0) 65%); }
#diashop .ds-part img { width: 100%; height: 100%; object-fit: contain; }
#diashop .ds-part.sm { width: 84px; height: 76px; flex: none; }
#diashop .ds-pamt { display: flex; align-items: center; gap: 5px; font: 800 26px/1 Fredoka, Mali, sans-serif; color: #a8ecff; font-variant-numeric: tabular-nums; }
#diashop .ds-pamt img { width: 26px; height: 26px; }
#diashop .ds-pbonus { font: 700 13.5px/1.2 Mali, sans-serif; color: #ffd36a; }
#diashop .ds-pbonus.none { color: #8c8399; font-weight: 500; }
#diashop .ds-price { margin-top: 4px; width: 100%; padding: 8px 0; border-radius: 9px; background: linear-gradient(#f4cf75, #c8902f); color: #2a1a06; font: 800 19px/1 Fredoka, Mali, sans-serif; text-align: center; }
#diashop .ds-ptag { position: absolute; left: -4px; top: 10px; padding: 3px 10px; border-radius: 0 8px 8px 0; background: linear-gradient(#ff6a5a, #c3302a); color: #fff; font: 700 12.5px/1.2 Mali, sans-serif; font-style: normal; }
#diashop .ds-first { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 8px; background: #1d5f8a; box-shadow: inset 0 0 0 1px #7fe3ff; color: #dff7ff; font: 700 12px/1.3 Mali, sans-serif; font-style: normal; }
#diashop .ds-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.3); font: 500 14.5px/1.6 Mali, sans-serif; color: #d6ccb6; }
#diashop .ds-note b { color: #ff9a8a; }
#diashop .ds-note i { font-style: normal; color: #9be37b; }

/* ร้านเพชร / ร้านหินดำ */
#diashop .ds-subs { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
#diashop .ds-subs button { height: 34px; padding: 0 16px; border: 0; border-radius: 17px; cursor: pointer; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.3); color: #c9bda2; font: 700 15px/1 Mali, sans-serif; }
#diashop .ds-subs button.on { background: linear-gradient(#f4cf75, #c8902f); color: #2a1a06; box-shadow: none; }
#diashop .ds-subs button:hover:not(.on) { color: #f2dfae; }
#diashop .ds-subnote { margin-left: auto; font: 500 13.5px Mali, sans-serif; color: #a39a86; }
#diashop .ds-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(120, 100, 190, 0.18), rgba(120, 100, 190, 0)); box-shadow: inset 0 0 0 1px rgba(200, 182, 255, 0.35); }
#diashop .ds-head img { width: 54px; height: 54px; object-fit: contain; }
#diashop .ds-head div { display: flex; flex-direction: column; gap: 3px; }
#diashop .ds-head b { font: 800 22px/1.2 Mali, sans-serif; color: #e7ddff; }
#diashop .ds-head small { font: 500 14px/1.45 Mali, sans-serif; color: #c4bbd6; }
#diashop .ds-head .ds-link { margin-left: auto; flex: none; }
#diashop .ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
#diashop .ds-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 14px 12px; border-radius: 14px; text-align: center;
  background: linear-gradient(#25202c, #18151d); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.35), 0 6px 16px rgba(0, 0, 0, 0.35); }
#diashop .ds-card.off { opacity: 0.86; }
#diashop .ds-card.sold { opacity: 0.55; }
#diashop .ds-ic.tslot { width: 92px; height: 92px; }
#diashop .ds-ic[data-info] { cursor: pointer; }
#diashop .ds-ic[data-info]:hover { filter: brightness(1.12); }
#diashop .ds-nm { font: 800 17px/1.25 Mali, sans-serif; color: #fbeccb; }
#diashop .ds-desc { min-height: 38px; font: 500 12.5px/1.5 Mali, sans-serif; color: #b9af99; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#diashop .ds-lim { font: 600 12.5px/1.3 Mali, sans-serif; color: #9fd7a0; }
#diashop .ds-lim b { color: #ff9a8a; }
#diashop .ds-buy { margin-top: 4px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  font: 800 19px/1 Fredoka, Mali, sans-serif; font-variant-numeric: tabular-nums; }
#diashop .ds-buy img { width: 24px; height: 24px; object-fit: contain; }
#diashop .ds-buy.dia { background: linear-gradient(#2f88c4, #1a5a8c); color: #f0fbff; box-shadow: inset 0 0 0 1px #7fe3ff; }
#diashop .ds-buy.bs { background: linear-gradient(#6a58a8, #43357a); color: #f3eeff; box-shadow: inset 0 0 0 1px #c8b6ff; }
#diashop .ds-buy:hover:not(:disabled), #diashop .ds-buy:focus-visible { filter: brightness(1.15); }
#diashop .ds-buy:disabled { cursor: default; filter: grayscale(0.7); opacity: 0.6; }
#diashop .ds-tag { position: absolute; right: 10px; top: 10px; padding: 2px 9px; border-radius: 9px; background: linear-gradient(#ff6a5a, #c3302a); color: #fff; font: 700 12.5px/1.3 Mali, sans-serif; font-style: normal; }
#diashop .ds-none { grid-column: 1 / -1; color: #a39a86; text-align: center; }

/* บัตรรายเดือน */
#diashop .ds-month { display: flex; gap: 26px; align-items: flex-start; max-width: 1180px; margin: 24px auto 0; }
#diashop .ds-mcard { flex: none; width: 330px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 18px; border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, #4a3a1a 0%, #241c10 60%, #17120b 100%); box-shadow: inset 0 0 0 2px rgba(242, 198, 106, 0.7), 0 12px 30px rgba(0, 0, 0, 0.5); }
#diashop .ds-mart { width: 220px; height: 220px; display: grid; place-items: center; }
#diashop .ds-mart img { width: 100%; height: 100%; object-fit: contain; }
#diashop .ds-mcard b { font: 800 30px/1.1 Mali, sans-serif; color: #ffe9b0; }
#diashop .ds-mcard small { font: 600 16px Mali, sans-serif; color: #e3cf9c; }
#diashop .ds-mcard em { margin-top: 6px; padding: 4px 16px; border-radius: 14px; background: #1f5a2a; box-shadow: inset 0 0 0 1px #9be37b; color: #e6ffd9; font: 800 17px/1.3 Mali, sans-serif; font-style: normal; }
#diashop .ds-mcard em.no { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #cfc6b2; }
#diashop .ds-mbody { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(#211d27, #16131b); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.35); }
#diashop .ds-mbody h3 { margin: 0; font: 800 24px/1.2 Mali, sans-serif; color: #f4dfa8; }
#diashop .ds-mlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#diashop .ds-mlist span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.3); font: 700 18px/1.2 Mali, sans-serif; color: #f6ead0; cursor: pointer; }
#diashop .ds-mlist span:hover { box-shadow: inset 0 0 0 1px #f2c66a; }
#diashop .ds-mlist img { width: 44px; height: 44px; object-fit: contain; }
#diashop .ds-msum { margin: 0; font: 600 15px/1.55 Mali, sans-serif; color: #d9cfb6; }
#diashop .ds-mnote { margin: 0; font: 500 13.5px/1.55 Mali, sans-serif; color: #a39a86; }
#diashop .ds-mbtns { display: flex; gap: 12px; margin-top: 10px; }
#diashop .ds-mbtns button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border: 0; border-radius: 12px; cursor: pointer; font: 800 20px/1 Mali, sans-serif; }
#diashop .ds-mbtns img { width: 28px; height: 28px; }
#diashop .ds-mbuy { background: linear-gradient(#2f88c4, #1a5a8c); color: #f0fbff; box-shadow: inset 0 0 0 1px #7fe3ff; }
#diashop .ds-mclaim { background: linear-gradient(#f4cf75, #c8902f); color: #2a1a06; }
#diashop .ds-mbtns button:hover:not(:disabled), #diashop .ds-mbtns button:focus-visible { filter: brightness(1.12); }
#diashop .ds-mbtns button:disabled { cursor: default; filter: grayscale(0.75); opacity: 0.6; }

/* pop-ups */
#diashop .ds-pop { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(5, 4, 8, 0.6); }
#diashop .ds-pin { position: relative; width: 520px; max-width: calc(100% - 24px); display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(#26212d, #17141c); box-shadow: inset 0 0 0 2px rgba(242, 198, 106, 0.7), 0 18px 46px rgba(0, 0, 0, 0.6); }
#diashop .ds-pin h4 { margin: 0; padding-right: 36px; font: 800 22px/1.25 Mali, sans-serif; color: #ffe9b0; }
#diashop .ds-px { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(217, 164, 67, 0.8); background: #1c160e; color: #ffd98a; font: 700 14px/1 sans-serif; cursor: pointer; }
#diashop .ds-phead { display: flex; align-items: center; gap: 14px; }
#diashop .ds-phead > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#diashop .ds-phead b { font: 800 18px/1.3 Mali, sans-serif; color: #fbeccb; }
#diashop .ds-phead small { font: 500 13.5px/1.5 Mali, sans-serif; color: #b9af99; }
#diashop .ds-phead .ds-ic.tslot { width: 80px; height: 80px; }
#diashop .ds-qty { display: flex; align-items: center; justify-content: center; gap: 8px; }
#diashop .ds-qty button { min-width: 46px; height: 38px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.4); color: #f2dfae; font: 800 17px Fredoka, Mali, sans-serif; cursor: pointer; }
#diashop .ds-qty button:disabled { opacity: 0.4; cursor: default; }
#diashop .ds-qty b { min-width: 60px; text-align: center; font: 800 26px Fredoka, sans-serif; color: #fff; }
#diashop .ds-total { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: #0d0b10; box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.35); }
#diashop .ds-total span { font: 600 15px Mali, sans-serif; color: #cfc6b2; }
#diashop .ds-total b { display: flex; align-items: center; gap: 6px; font: 800 24px Fredoka, Mali, sans-serif; color: #f6ead0; }
#diashop .ds-total b img { width: 26px; height: 26px; }
#diashop .ds-total b.short { color: #ff8a7a; }
#diashop .ds-total small { margin-left: auto; font: 500 13px Mali, sans-serif; color: #a39a86; }
#diashop .ds-why { margin: 0; font: 600 14px/1.5 Mali, sans-serif; color: #ff9a8a; }
#diashop .ds-why.ok { color: #9be37b; }
#diashop .ds-closed { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 90, 80, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.5); }
#diashop .ds-closed b { font: 800 19px Mali, sans-serif; color: #ffb0a4; }
#diashop .ds-closed small { font: 500 14px/1.6 Mali, sans-serif; color: #d6ccb6; }
#diashop .ds-pbtns { display: flex; gap: 10px; justify-content: flex-end; }
#diashop .ds-pbtns button { min-width: 120px; height: 44px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer; font: 800 17px Mali, sans-serif; }
#diashop .ds-cancel { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(217, 164, 67, 0.4); color: #e6dcc4; }
#diashop .ds-ok { background: linear-gradient(#f4cf75, #c8902f); color: #2a1a06; }
#diashop .ds-pbtns button:hover:not(:disabled), #diashop .ds-pbtns button:focus-visible { filter: brightness(1.12); }
#diashop .ds-pbtns button:disabled { opacity: 0.5; cursor: default; }
#diashop .ds-got { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 4px; font: 600 15.5px/1.5 Mali, sans-serif; color: #f2ead6; }
#diashop .ds-prize { display: flex; flex-direction: column; align-items: center; gap: 6px; }
#diashop .ds-prize img { max-width: 220px; max-height: 220px; object-fit: contain; }
#diashop .ds-prize b { font: 800 18px Mali, sans-serif; }
#diashop .ds-say { position: absolute; left: 50%; top: 82px; transform: translateX(-50%); z-index: 6; padding: 10px 22px; border-radius: 10px; background: rgba(10, 9, 12, 0.95); box-shadow: inset 0 0 0 1px #f2c66a;
  font: 700 16px/1.4 Mali, sans-serif; color: #ffe9b0; pointer-events: none; white-space: nowrap; }
#diashop .ds-say.in { animation: dsSay 0.25s ease-out both; }
@keyframes dsSay { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* a phone: the tabs and money wrap, cards in one or two columns */
#diashop.ds-narrow .ds-top { height: auto; flex-wrap: wrap; gap: 8px; padding: 8px 10px; }
#diashop.ds-narrow .ds-title b { font-size: 20px; }
#diashop.ds-narrow .ds-tabs { order: 3; width: 100%; height: auto; overflow-x: auto; }
#diashop.ds-narrow .ds-tabs button { flex: none; height: 40px; padding: 0 10px; font-size: 14px; border-radius: 8px; white-space: nowrap; }
#diashop.ds-narrow .ds-tabs button img { width: 20px; height: 20px; }
#diashop.ds-narrow .ds-tabs { scrollbar-width: none; }
#diashop.ds-narrow .ds-tabs::-webkit-scrollbar { display: none; }
#diashop.ds-narrow .ds-top { position: relative; padding-right: 52px; }
#diashop.ds-narrow .ds-exit { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; }
#diashop.ds-narrow .ds-cur { margin-left: auto; gap: 4px; }
#diashop.ds-narrow .ds-chip { min-width: 0; height: 28px; }
#diashop.ds-narrow .ds-chip.ds-gold { display: none; }
#diashop.ds-narrow .ds-body { padding: 12px; }
#diashop.ds-narrow .ds-banner { height: 170px; }
#diashop.ds-narrow .ds-btext { left: 16px; }
#diashop.ds-narrow .ds-btext b { font-size: 32px; }
#diashop.ds-narrow .ds-btext span { font-size: 15px; }
#diashop.ds-narrow .ds-btext small { display: none; }
#diashop.ds-narrow .ds-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#diashop.ds-narrow .ds-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
#diashop.ds-narrow .ds-subnote { display: none; }
#diashop.ds-narrow .ds-month { flex-direction: column; }
#diashop.ds-narrow .ds-mcard { width: auto; }
#diashop.ds-narrow .ds-mlist { grid-template-columns: 1fr; }
#diashop.ds-narrow .ds-say { white-space: normal; width: 90%; text-align: center; }
