/* v3.9.73 — verified UX fixes; intentionally scoped to affected surfaces. */
/* Chat: a visible way to jump back down without hijacking a reader's scroll. */
#ntv-game-root .ntv-chatbox{position:relative}
#ntv-game-root .ntv-chat-jump-new{
  position:absolute;z-index:10;right:10px;bottom:56px;
  border:1px solid #e3bd61;border-radius:999px;padding:7px 12px;
  background:#fff5d4;color:#785015;font-size:12px;font-weight:900;
  box-shadow:0 3px 10px #063e3040;cursor:pointer;touch-action:manipulation
}
#ntv-game-root .ntv-chat-jump-new[hidden]{display:none!important}
#ntv-game-root .ntv-chat-jump-new:focus-visible{outline:3px solid #ffbc38;outline-offset:2px}

/* Dialog: visible focus, scroll stays in dialog instead of the WordPress page. */
body.ntv-game-modal-open{overflow:hidden!important}
#ntv-game-root .ntv-modal [data-click="modal-close"]:focus-visible,
#ntv-game-root .ntv-modal button:focus-visible,
#ntv-game-root .ntv-modal a:focus-visible{outline:3px solid #e7b041;outline-offset:2px}

/* Collector preview: override the obsolete [data-ntv-fit] rules explicitly. */
@media(max-width:670px){
  #ntv-wardrobe-layer[data-ntv-fit="phone"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-stage,
  #ntv-wardrobe-layer[data-ntv-fit="tiny"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-stage{
    height:208px!important;min-height:0!important
  }
  #ntv-wardrobe-layer[data-ntv-fit="phone"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-character-canvas,
  #ntv-wardrobe-layer[data-ntv-fit="tiny"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-character-canvas{
    inset:auto!important;top:34px!important;left:calc(50% - 59px)!important;
    width:118px!important;height:118px!important;aspect-ratio:1
  }
}
@media(max-width:360px){
  #ntv-wardrobe-layer[data-ntv-fit="tiny"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-stage{height:185px!important}
  #ntv-wardrobe-layer[data-ntv-fit="tiny"] .ntv-wardrobe:is([data-ntv-active-tab="frames"],[data-ntv-active-tab="vip-titles"]) .ntv-character-canvas{top:26px!important}
}
#ntv-wardrobe-layer .ntv-collection-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:22px 12px;text-align:center;background:#f1fff6;border:1px dashed #83b7a3;border-radius:12px;color:#245c48;font-size:13px}
#ntv-wardrobe-layer .ntv-collection-empty button{min-height:38px;border:1px solid #0c8874;border-radius:999px;padding:8px 18px;background:#078b75;color:white;font-weight:800;cursor:pointer}
#ntv-wardrobe-layer .ntv-tabs [role="tab"]:focus-visible{outline:3px solid #e5a530;outline-offset:2px}

/* PC quiz: don't discard important rules with 10px ellipsis. */
@media(min-width:1024px){
  #ntv-game-root.ntv-device-pc .ntv-quiz-rule{
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
    font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere
  }
}
/* VIP art stays full-size in wardrobe; chat shows one readable title, not
   microtext within an image and the same text repeated next to it. */
#ntv-game-root .ntv-chat-vip-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:16px;line-height:1.2;width:22px;height:22px}
#ntv-game-root .ntv-chat-vip strong{font-size:11px;line-height:1.25}
@media(max-width:480px){#ntv-game-root .ntv-chat-vip-icon{width:20px;height:20px;font-size:14px}}

/* Prize catalog: invalid manually entered IDs are visible before publishing. */
.ntv-rewards-admin .ntv-reward-frame-status{display:block;grid-column:1/-1;color:#386a51;font-size:12px;margin-top:4px}
.ntv-rewards-admin .ntv-reward-frame-status.ntv-reward-invalid{color:#9d2727;font-weight:700}
