@font-face {
    font-family: 'apple';
    src: url('https://file.garden/X1htvgJ0DEp_tp-Z/MSPFA%20other/Phone/SF-Pro-Text-Regular.otf');
}

.phone {
  --color1: #dd0000;
  --color2: #E5E5EA;
  --colorbg: white;
  background: var(--colorbg);
  width: 400px;
  padding: 12px;
  box-sizing: border-box;
  font-family: 'apple';
  font-weight: 400;
  margin: auto;
  font-size: 16px;
}

.phone br {
  display: none;
}

.phother p, .phself p {
  box-sizing: border-box;
  padding: 0.4em 0.7em;
  width: max-content;
  max-width: 85%;
  word-wrap: break-word;
  margin-block-start: 0.3em;;
  margin-block-end: 0.3em;
}

.phother p br, .phself p br {
  display: block;
}

.phother, .phself {
  padding: 5px 0;
}

.phother > p {
  background: var(--color2);
  text-align: left;
  color: black;
  margin-right: auto;
  border-radius: 0 1em 1em 0;
}

.phother > p:first-of-type {
  border-radius: 1em 1em 1em 0;
}

.phother > p:last-of-type {
  border-radius: 0 1em 1em 1em;
  position: relative;
}

.phother > p:last-of-type::before {
  content: '';
  background: var(--color2);
  position: absolute;
  bottom: 1px;
  left: -0.5em;
  width: 1em;
  height: 1em;
  border-radius: 0 0 0.5em 0 ;
}

.phother > p:last-of-type::after {
  content: '';
  background: var(--colorbg);
  position: absolute;
  bottom: 0;
  left: -0.5em;
  width: 0.5em;
  height: 1.1em;
  border-radius: 0 0 1em 0;
}

.phother > p:only-of-type {
  border-radius: 1em;
}

.phself > p {
  background: var(--color1);
  text-align: left;
  margin-left: auto;
  color: white;
  border-radius: 1em 0 0 1em;
}

.phself > p:first-of-type {
  border-radius: 1em 1em 0 1em;
}

.phself > p:last-of-type {
  border-radius: 1em 0 1em 1em;
  position: relative;
}

.phself > p:last-of-type::before {
  content: '';
  background: var(--color1);
  position: absolute;
  bottom: 1px;
  right: -0.5em;
  width: 1em;
  height: 1em;
  border-radius: 0 0 0 0.5em;
}

.phself > p:last-of-type::after {
  content: '';
  background: var(--colorbg);
  position: absolute;
  bottom: 0;
  right: -0.5em;
  width: 0.5em;
  height: 1.1em;
  border-radius: 0 0 0 1em;
}

.phself > p:only-of-type {
  border-radius: 1em;
}

.phhead {
  background: var(--color2);
  margin: -12px;
  margin-bottom: 0;
  text-align: center;
  padding: 12px 12px 6px 12px;
  font-size: 14px;
  position: relative;
}

.phhead img {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 5px;
}

.phhead::before {
  content: '<';
  font-family: Courier New;
  position: absolute;
  left: 20px;
  font-size: 32px;
  font-weight: bold;
  opacity: 0.6;
  top: 50%;
  line-height: 0;
}

.nav {
  font-family: helvetica;
}

.nav a {
     color: inherit;
  text-decoration: underline;
}

a {
       color: inherit;
  text-decoration: underline;
}