.chirp-phone {
  --phone-paper: #f7f9fb;
  --phone-ink: #141a21;
  --phone-muted: #546171;
  --phone-graphite: #222a33;
  --phone-border: #dce3e9;
  box-sizing: border-box;
  width: min(100%, 284px);
  margin: 0 auto;
  padding: 6px;
  border: 1px solid #3a4650;
  border-radius: 35px;
  background: var(--phone-graphite);
  box-shadow: 0 24px 44px #10192045, inset 0 0 0 2px #ffffff0d;
  color: var(--phone-ink);
  font: 400 12px/1.35 Arial, sans-serif;
  letter-spacing: normal;
  text-align: left;
}

.chirp-phone *,
.chirp-phone *::before,
.chirp-phone *::after {
  box-sizing: border-box;
}

.chirp-phone__screen {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.chirp-phone__status {
  position: relative;
  display: flex;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 2px 15px 0;
  font-size: 10px;
  font-weight: 700;
}

.chirp-phone__camera {
  position: absolute;
  top: 10px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #151c23;
}

.chirp-phone__system {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.chirp-phone__system i {
  width: 9px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.chirp-phone__system b {
  position: relative;
  width: 11px;
  height: 7px;
  border: 1px solid;
  border-radius: 2px;
  background: linear-gradient(to right, currentColor 70%, transparent 70%) 1px center / 7px 3px no-repeat;
}

.chirp-phone__system b::after {
  position: absolute;
  top: 1px;
  right: -3px;
  width: 1px;
  height: 3px;
  background: currentColor;
  content: "";
}

.chirp-phone__brand {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 3px 13px 8px;
  border-bottom: 1px solid var(--phone-border);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.chirp-phone__brand img {
  display: block;
  flex: 0 0 27px;
}

.chirp-phone__demo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: #f5ecd7;
  color: #74541d;
  font-size: 9px;
  letter-spacing: 0;
}

.chirp-phone__demo::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.chirp-phone__content {
  padding: 12px 13px 0;
}

.chirp-phone__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.chirp-phone__intro strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.chirp-phone__intro span {
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--phone-graphite);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.chirp-phone .chirp-phone__meta {
  margin: 0;
  color: var(--phone-muted);
  font-size: 10px;
  line-height: 1.35;
}

.chirp-phone__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  border-bottom: 1px solid var(--phone-border);
  color: var(--phone-muted);
  font-size: 10px;
  text-align: center;
}

.chirp-phone__tabs span {
  padding: 7px 1px;
}

.chirp-phone__current {
  box-shadow: 0 2px 0 var(--phone-graphite);
  color: var(--phone-ink);
  font-weight: 700;
}

.chirp-phone .chirp-phone__feed-title {
  margin: 11px 0 2px;
  color: var(--phone-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.chirp-phone__post {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 12px 0 8px;
}

.chirp-phone__post img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.chirp-phone__post strong {
  font-size: 12px;
  line-height: 1.2;
}

.chirp-phone .chirp-phone__message {
  margin: 3px 0 0;
  color: var(--phone-ink);
  font-size: 12px;
  line-height: 1.3;
}

.chirp-phone .chirp-phone__reply {
  grid-template-columns: 23px minmax(0, 1fr);
  margin: 0 0 8px 38px;
  padding: 7px 6px;
  border-left: 1px solid #c3d4db;
  border-radius: 0 6px 6px 0;
  background: #f2f5f7;
}

.chirp-phone__reply strong,
.chirp-phone__reply .chirp-phone__message {
  font-size: 11px;
}

.chirp-phone__reply .chirp-phone__message {
  margin-top: 0;
}

.chirp-phone__post--secondary {
  padding-top: 9px;
  padding-bottom: 12px;
  border-top: 1px solid var(--phone-border);
}

.chirp-phone__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 6px 6px 3px;
  border-top: 1px solid var(--phone-border);
  color: var(--phone-muted);
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.chirp-phone__nav > span {
  display: flex;
  min-height: 33px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 3px 0;
}

.chirp-phone__nav-current {
  border-radius: 7px;
  background: #eaeff3;
  color: var(--phone-graphite);
  font-weight: 700;
}

.chirp-phone__nav i {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
}

.chirp-phone__nav .chirp-phone__home {
  height: 8px;
  border: solid currentColor;
  border-width: 0 1px 1px;
  border-radius: 1px;
}

.chirp-phone__home::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 1px 0 0 1px;
  border-radius: 1px;
  content: "";
}

.chirp-phone__people::before,
.chirp-phone__person::before {
  position: absolute;
  top: 0;
  left: 3px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.chirp-phone__people::after,
.chirp-phone__person::after {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 9px;
  height: 5px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

.chirp-phone__people {
  transform: translateX(-2px);
}

.chirp-phone__people::before {
  box-shadow: 4px 0 0 -1px #fff, 5px 0 0 -1px currentColor;
}

.chirp-phone__people::after {
  box-shadow: 3px 0 0 -1px #fff, 4px 0 0 -1px currentColor;
}

.chirp-phone__settings {
  background: repeating-linear-gradient(to bottom, transparent 0 1px, currentColor 1px 2px, transparent 2px 4px);
}

.chirp-phone__settings::after {
  position: absolute;
  top: 0;
  left: 3px;
  width: 1px;
  height: 3px;
  background: currentColor;
  box-shadow: 4px 4px 0 currentColor, 1px 8px 0 currentColor;
  content: "";
}

.chirp-phone__gesture {
  display: block;
  width: 65px;
  height: 3px;
  margin: 5px auto 6px;
  border-radius: 2px;
  background: #657381;
}

