.btns { flex-wrap:nowrap }
.btns .gol { opacity:.35; pointer-events:none }
.btns .btn { min-width:0 }
.btns .btn[aria-disabled="true"] { cursor:default }
.btns:has(> .pastila) > .btn { flex:0 0 auto; padding-left:16px; padding-right:16px }
.btns .pastila { display:flex; flex:1 1 0; min-width:0; align-items:stretch;
                 border:1px solid var(--rule); border-radius:10px; background:var(--tinta) }
.btns .pastila .btn { flex:0 0 auto; border:0; border-radius:0; background:transparent; text-decoration:none }
.btns .pastila > :first-child { border-radius:9px 0 0 9px }
.btns .pastila > :last-child { border-radius:0 9px 9px 0 }
.btns .pastila .btn + .btn { border-left:1px solid var(--rule) }
.btns .pastila a.btn:hover { color:var(--rosu); background:var(--paper) }
.btns .pastila .btn.activ { color:var(--rosu); font-weight:600;
                 background:color-mix(in srgb, var(--rosu) 11%, transparent) }
.btns .pastila .punct, .btns .pastila .viit {
                 flex:0 0 46px; width:46px; padding-left:0; padding-right:0;
                 display:flex; align-items:center; justify-content:center }
.btns .pastila .viit svg { vertical-align:0 }
.btns .punct::before { content:""; width:9px; height:9px; border-radius:50%; background:currentColor }
.btns .punct:hover { color:var(--rosu) }
.btns .pastila .acum {
                 display:flex; align-items:center; justify-content:center;
                 flex:1 1 auto; min-width:0; padding:11px 13px;
                 white-space:nowrap; overflow:hidden;
                 border-left:1px solid var(--rule); border-right:1px solid var(--rule);
                 background:var(--paper);
                 font:600 14px/1 ui-sans-serif,system-ui; color:var(--rosu) }
.btns .pastila .acum .scurt { display:none }
.btns .pastila .acum b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
@media (max-width:600px) {
  .btns { gap:5px; flex-wrap:wrap }
  .btns .btn { flex:0 0 auto; white-space:nowrap }
  .btns .pastila { flex:1 1 0 }
  .btns:has(> .pastila + .btn) > .pastila { flex:1 1 100% }
  .btns:has(> .pastila + .btn) > .btn { flex:1 1 0 }
  .btns .pastila .punct, .btns .pastila .viit { flex:0 0 42px; width:42px }
  .btns .pastila .acum { padding:11px 10px; font-size:13px }
  .btns .pastila .acum .lung { display:none }
  .btns .pastila .acum .scurt { display:inline }
}
@media (max-width:411px) {
  .btns .pastila .punct, .btns .pastila .viit { flex:0 0 36px; width:36px }
  .btns .pastila .acum { padding:11px 6px }
}
@media (max-width:380px) {
  .btns { gap:4px }
  .btns .pastila .punct, .btns .pastila .viit { flex:0 0 34px; width:34px }
  .btns .pastila .acum { padding:11px 5px; font-size:12.5px }
}