/* Round 11 (owner feedback 2026-10-15) — bag tabs, the Mount slot and picker, the Mount button, the potion keys lined up
   with the action bar, NPC remarks in chat, the controller's card hints. */

/* ---- #11: bag tabs (Equipment / Items / Other) */
.inv-tabs { display: flex; gap: 4px; margin: 0 0 6px; }
.inv-tabs .chip.tab { font-weight: 700; }
.inv-tabs .chip.tab .n { margin-left: 4px; font-weight: 600; color: var(--ink-dim); font-size: 11px; }
.inv-tabs .chip.tab.on, .inv-tabs .chip.tab[aria-selected="true"] { border-color: var(--gold-hi); color: var(--gold-hi); background: rgba(241, 213, 149, 0.08); }
.inv-filters[hidden], #inv-sort[hidden] { display: none !important; }

/* ---- #44: the Mount slot and its picker */
.doll-bottom .mount-slot { cursor: pointer; }
.mount-slot .mount-ico, .mp-row .mount-ico { display: grid; place-items: center; color: var(--gold-hi); }
.mount-slot .mount-ico svg { width: 30px; height: 30px; }
.mount-slot.empty .mount-ico { opacity: 0.45; }
.mount-slot .slotname { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-doll { position: relative; }
.mount-pick { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 5; background: linear-gradient(#1f1810, #130e09); border: 1px solid var(--gold, #c9a45c); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 4px; max-height: 70%; overflow: auto; }
.mount-pick .mp-head { display: flex; align-items: center; justify-content: space-between; }
.mount-pick .mp-row { display: grid; grid-template-columns: 32px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--edge); background: rgba(0, 0, 0, 0.25); color: var(--ink); min-height: 44px; }
.mount-pick .mp-row .mount-ico { grid-row: 1 / span 2; }
.mount-pick .mp-row .mount-ico svg { width: 28px; height: 28px; }
.mount-pick .mp-row small { grid-column: 2; color: var(--ink-dim); }
.mount-pick .mp-row .mp-on { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-size: 11px; color: var(--gold-hi); }
.mount-pick .mp-row.on { border-color: var(--gold-hi); }
.mount-tip .ic-compare .up { color: var(--good, #7fd38a); } .mount-tip .ic-compare .down { color: var(--bad, #e07a6a); }

/* ---- #29: the Mount button where the fishing button was */
.mount-btn { position: relative; margin-left: 6px; margin-right: 34px; }
.mount-btn .mount-glyph { display: grid; place-items: center; color: var(--gold-hi); filter: drop-shadow(0 1px 1px #000); }
.mount-btn .mount-glyph svg { width: 30px; height: 30px; }
.mount-btn .mount-cap { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; font: 600 10.5px var(--sans); color: var(--ink-dim); text-shadow: 0 1px 2px #000; pointer-events: none; }
.mount-btn.on, .mount-btn.calling { border-color: var(--gold-hi); }
.mount-btn.on .mount-cap, .mount-btn.calling .mount-cap { color: var(--gold-hi); }
.mount-btn.none { opacity: 0.55; }
.mount-btn .mount-prog { position: absolute; inset: 0; pointer-events: none; background: conic-gradient(rgba(241, 213, 149, 0.35) calc(var(--p, 0) * 360deg), transparent 0); opacity: 0; }
.mount-btn.calling .mount-prog { opacity: 1; }
.actionbar { overflow: visible; }
html[data-layout="phone"] .mount-btn { display: none !important; }          /* the phone has its own Mount button (.ph-mount) */

/* ---- #13: the potion keys 7-0 sit level with the action bar. The group spans the bar's own top and bottom edges, and
   each picture is laid over its square (absolute) so an icon can never push its slot's content up or down. */
.hb-group { top: -1px; bottom: -1px; align-items: center; padding: 0 6px; }
.hb-group .hb-slot .hb-face { position: absolute; inset: 0; display: grid; place-items: center; }
.hb-group .hb-slot .hb-face img { width: 78%; height: 78%; max-width: 78%; max-height: 78%; object-fit: contain; }
@media (max-width: 760px) { .hb-group { top: auto; bottom: 100%; padding: 5px; } }

/* ---- #54: an NPC's passing remark is a chat line */
.chat-log .npc-say { color: #e9dcc0; font-style: italic; }

/* ---- #28: the controller's "Y: card / compare" hints show only for a controller */
.ic-padalt, .hint-pad { display: none; }
html[data-input="pad"] .ic-padalt, html[data-input="pad"] .hint-pad { display: inline; }
html[data-input="pad"] .ic-keyalt { display: none; }

/* ---- #42: the shop's Sell tab filters */
.sell-tabs { margin-bottom: 6px; }
