/* Game District: the "Acts" row (hub-acts.js) - plays the held items' prop acts. */
.hub-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.hub-acts-title { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #b9b1d6); }
.hub-acts-list { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.hub-act { display: inline-flex; align-items: center; gap: 6px; max-width: 15em; min-height: 32px; padding: 4px 11px 4px 8px; border: 2px solid var(--line, rgba(255,255,255,.18)); border-radius: 999px;
    background: var(--surface-2, rgba(255,255,255,.06)); color: var(--text, #fff); font: inherit; font-size: .84rem; font-weight: 700; line-height: 1.1; cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background-color .12s ease; }
.hub-act:hover { border-color: var(--teal, #4fd1ff); transform: translateY(-1px); }
.hub-act:active { transform: translateY(1px); }
.hub-act:focus-visible { outline: 3px solid var(--gold, #ffd84a); outline-offset: 2px; }
.hub-act-ico { flex: none; font-size: 1.05rem; line-height: 1; }
.hub-act-lab { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-act.is-combo { border-color: var(--magenta, #ff5d8f); }
.hub-act.is-playing { border-color: var(--gold, #ffd84a); background: color-mix(in srgb, var(--gold, #ffd84a) 22%, transparent); }
.hub-act-more { color: var(--muted, #b9b1d6); padding-left: 11px; }
/* studio: a row under the tools; on desktop the sticky column's stage gives up the row's height (hub-acts.js fitStudio)
 * so the row stays on screen (stage sizes from hub-dressup.css minus --hub-acts-h) */
@media (min-width: 1101px) {
    html:not(.hub-phone) .dz-left.has-acts .dz-stage { width: min(100%, calc((100vh - 270px - var(--hub-acts-h, 0px)) * .8)); }
}
@media (max-height: 760px) and (min-width: 1101px) {
    html:not(.hub-phone) .dz-left.has-acts .dz-stage { width: min(100%, calc((100vh - 250px - var(--hub-acts-h, 0px)) * .8)); }
}
.hub-acts--studio { margin-top: 10px; padding: 8px 10px; border-radius: 14px; background: var(--surface, rgba(0,0,0,.18)); border: 1px solid var(--line, rgba(255,255,255,.12)); }
/* item window: a row of chips along the top of the "On you" scene */
.hub-acts--preview { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; pointer-events: none; }
.hub-acts--preview .hub-acts-title { display: none; }
.hub-acts--preview .hub-act { pointer-events: auto; min-height: 30px; font-size: .8rem; }
/* phones and tablets (stage and tools side by side in a sticky strip): one "Acts" button on the stage's bottom right */
.hub-acts--stage { position: absolute; right: 8px; bottom: 8px; z-index: 4; pointer-events: none; }
.hub-acts-open { pointer-events: auto; position: relative; width: 36px; height: 36px; min-height: 0; padding: 0; justify-content: center; background: color-mix(in srgb, var(--bg, #0c0919) 78%, transparent); }
.hub-acts-open[aria-expanded="true"] { border-color: var(--gold, #ffd84a); }
.hub-acts-n { position: absolute; right: -5px; bottom: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--magenta, #ff5d8f); color: #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; }
/* the sheet: fixed above the bottom bar, so opening it never moves the page */
.hub-acts-sheet-wrap { position: fixed; inset: 0; z-index: 160; }
.hub-acts-backdrop { position: absolute; inset: 0; background: rgba(6, 4, 14, .45); }
.hub-acts-sheet { position: absolute; left: 10px; right: 10px; bottom: calc(10px + var(--bottom-h, 74px) + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; display: grid; gap: 10px; padding: 12px; border-radius: 18px;
    background: var(--surface, #1b1430); border: 2px solid var(--line, rgba(255,255,255,.18)); box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.hub-acts-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub-acts-x { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line, rgba(255,255,255,.18)); background: transparent; color: var(--text, #fff); cursor: pointer; }
.hub-acts-sheet .hub-acts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.hub-acts-sheet .hub-act { max-width: none; min-height: 40px; text-align: left; }
.hub-acts-sheet .hub-act-lab { white-space: normal; overflow: visible; }
html.hub-phone .hub-acts--studio .hub-act, html.hub-phone .hub-acts--preview .hub-act { min-height: 36px; }
@media (prefers-reduced-motion: reduce) { .hub-act { transition: none; } .hub-act:hover { transform: none; } }
