.bubble-row{
  display:inline-flex;
  align-items:flex-start;
  gap:6px;
  max-width:100%;
  vertical-align:top;
}
.msg.user .bubble-row,.msg.me .bubble-row{flex-direction:row-reverse}
.msg.camus .bubble-row{max-width:calc(82% + 28px)}
.msg.camus .bubble-row .bubble{max-width:calc(100% - 28px)}
.msg-del{
  flex:none;
  align-self:center;
  width:22px;
  height:22px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--pencil);
  opacity:0;
  pointer-events:none;
  cursor:pointer;
  font-family:var(--song);
  font-size:18px;
  line-height:22px;
  border-radius:2px;
  -webkit-appearance:none;
  appearance:none;
  transition:opacity .15s ease;
  white-space:nowrap;
}
.msg-del:focus{outline:none}
.msg.pending .msg-del,
.msg:not([data-mid]) .msg-del{display:none}
@media (hover:hover) and (pointer:fine){
  .msg[data-mid]:not(.pending):hover .msg-del,
  .msg[data-mid]:not(.pending):focus-within .msg-del,
  .msg-del.is-confirm{
    opacity:.5;
    pointer-events:auto;
  }
  .msg-del:hover,
  .msg-del:focus-visible{opacity:.95;color:var(--ink)}
  .msg-del.is-confirm,
  .msg-del.is-confirm:hover,
  .msg-del.is-confirm:focus-visible{
    opacity:1;
    width:auto;
    min-width:40px;
    padding:0 5px;
    color:#7a3a32;
    font-size:12px;
    letter-spacing:.06em;
    line-height:22px;
  }
}
@media (hover:none), (pointer:coarse){
  .msg-del{display:none !important}
}
.msg.is-hold{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
#msg-del-menu{
  display:none;
  position:fixed;
  z-index:50;
  min-width:108px;
  background:var(--page);
  border:1px solid var(--rule);
  border-radius:2px;
  padding:4px;
  box-shadow:0 2px 10px rgba(46,70,56,.12);
}
#msg-del-menu.on{display:block}
#msg-del-menu button{
  display:block;
  width:100%;
  height:36px;
  padding:0 14px;
  border:0;
  background:transparent;
  color:var(--ink);
  font-family:var(--song);
  font-size:15px;
  letter-spacing:.08em;
  cursor:pointer;
  text-align:center;
  -webkit-appearance:none;
  appearance:none;
}
#msg-del-menu button.danger{color:#7a3a32}
