/* Nối Từ Việt Online 3.9.57 — robust single-value responsive Cup counter on the home player strip.
   The exact balance remains in HTML and is announced by the button's accessible label. */
#ntv-game-root .ntv-home .ntv-player-strip{min-width:0;max-width:100%;}
#ntv-game-root .ntv-home .ntv-cup-card{
    box-sizing:border-box!important;
    container-type:inline-size;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    isolation:isolate;
}
#ntv-game-root .ntv-home .ntv-cup-card>.ntv-cup-value{
    display:block!important;
    box-sizing:border-box!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 1px!important;
    font-variant-numeric:tabular-nums;
    font-size:clamp(14px,17cqw,22px)!important;
    line-height:1.17!important;
    text-align:center;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
/* Exactly one formatted value is rendered by game.js; no CSS-based switching between
   potentially stale full and compact values. Under 10,000, show the full number. */
#ntv-game-root .ntv-home .ntv-cup-value>.ntv-cup-number{
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden;
    text-overflow:clip;
    white-space:nowrap;
    font-weight:900;
}
/* The mobile home layout always has an 88px counter column. */
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-player-strip{
    grid-template-columns:minmax(0,1fr) minmax(82px,88px)!important;
    min-width:0!important;
}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-cup-card{
    padding:5px 3px!important;
    justify-self:stretch;
}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-cup-value{
    font-size:clamp(14px,17cqw,17px)!important;
    letter-spacing:-.15px!important;
}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-profile-card{
    min-width:0!important;
    overflow:hidden!important;
}
