.airmail {
  border: 7px solid transparent;
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    repeating-linear-gradient(135deg, #c8402a 0 14px, #f6efdc 14px 28px, #27418a 28px 42px, #f6efdc 42px 56px)
    border-box;
}
.address-card {
  border-radius: 12px;
  box-shadow: 0 34px 70px rgb(0 0 0 / 0.35);
}
.paper {
  padding: 18px 18px 14px;
  border-radius: 7px;
  color: var(--ink);
}
.mini {
  font:
    500 0.7rem / 1.4 "DM Mono",
    monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(35 32 27 / 0.55);
}
:where(.paper) > .mini {
  margin-bottom: 10px;
}
:where(#address-maker) {
  display: flex;
  gap: 8px;
}
input,
button,
.app-card,
.address-list,
:where(.postcard) > div > p:last-child {
  font-family: var(--app-font);
}
input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid rgb(35 32 27 / 0.18);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 17px;
}
input::placeholder {
  color: rgb(35 32 27 / 0.4);
}
button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 99px;
  background: #a93421;
  color: white;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.08);
}
button:disabled {
  cursor: wait;
}
:where(#address-maker) button {
  height: 46px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 15px;
}
:where(.toy) :focus-visible {
  outline-color: #5e5ce6;
  outline-offset: 2px;
}
.latest {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
}
.postmark {
  width: 66px;
  height: 66px;
  flex: none;
  color: #a93421;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.7;
}
:where(.postmark) use,
:where(.postmark) text {
  fill: currentColor;
  stroke: none;
}
:where(.postmark) text {
  font: 700 4.4px sans-serif;
  letter-spacing: 0.4px;
}
:where(#latest-address) {
  font:
    500 clamp(1rem, 4vw, 1.25rem) / 1.25 "DM Mono",
    monospace;
}
.domain {
  display: inline-block;
}
:where(#latest-address) .domain {
  color: rgb(35 32 27 / 0.45);
}
:where(#latest-site) {
  margin-top: 4px;
  font: 13px / 1.4 var(--app-font);
  color: rgb(35 32 27 / 0.6);
}
.address-list {
  border-top: 1px dashed rgb(35 32 27 / 0.22);
  padding-top: 10px;
  font-size: 13.5px;
  line-height: 1.35;
}
.address-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 4px 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-size: inherit;
  font-weight: 500;
}
:where(.address-row) > span {
  flex: 1;
}
:where(.address-row) .icon {
  width: 20px;
  color: rgb(35 32 27 / 0.5);
}
:where(.address-row.own) .icon {
  color: #27418a;
}
:where(.address-row) small,
:where(.app-card) small {
  display: block;
  font-size: 12px;
  color: rgb(35 32 27 / 0.55);
}
:where(.address-row)[aria-checked="false"] {
  opacity: 0.55;
}
:where(.address-row) .switch {
  flex: none;
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: #27418a;
}
:where(.switch)::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 21px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
}
:where(.address-row)[aria-checked="false"] .switch {
  background: rgb(35 32 27 / 0.2);
}
:where(.address-row)[aria-checked="false"] :where(.switch)::after {
  left: 3px;
}
.app-card {
  padding: 18px;
  background: white;
  color: #1d1d1f;
  border-radius: 22px;
  box-shadow: 0 40px 80px rgb(0 0 0 / 0.35);
  font-size: 14px;
  line-height: 1.5;
}
.mail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
:where(.mail-header) > div:first-of-type {
  flex: 1;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  background: #e8572a;
  border-radius: 10px;
  color: white;
  font-weight: 700;
}
.pixels {
  display: flex;
  gap: 5px;
}
.pixel {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #ff3d8b;
  box-shadow: 0 0 0 3px rgb(255 61 139 / 0.2);
}
:where(.tracker-card) h3 {
  margin: 12px 0 8px;
  font: 700 17px / 1.3 var(--app-font);
}
:where(.tracker-card) > p {
  color: rgb(0 0 0 / 0.75);
}
.promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0;
}
:where(.promo-links) > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
}
.promo-link {
  text-decoration: underline #ff3d8b 2px;
  text-underline-offset: 3px;
  color: #1f5fd1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #d6206b;
}
:where(.badge) .icon {
  width: 13px;
  height: 13px;
}
.mail-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgb(0 0 0 / 0.07);
  font-size: 11.5px;
  color: rgb(0 0 0 / 0.45);
}
:where(.mail-bottom) > span:first-child {
  flex: 1;
}
.tracker-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(255 61 139 / 0.1);
  color: #c21a5d;
}
:where(.tracker-status) .icon {
  width: 18px;
  height: 18px;
}
:where(.tracker-status).clean {
  background: oklch(0.95 0.05 150);
  color: oklch(0.42 0.12 150);
}
:where(.tracker).removed {
  opacity: 0;
  scale: 0.3;
}
:where(.promo-links) > span:has(.removed) .promo-link {
  text-decoration-color: rgb(31 95 209 / 0.35);
}
.accent {
  background: #5e5ce6;
}
.wide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin-top: 12px;
}
:where(.wide) .icon {
  width: 16px;
  height: 16px;
}
.leak-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(169 52 33 / 0.1), rgb(169 52 33 / 0.03));
  box-shadow: inset 0 0 0 1px rgb(169 52 33 / 0.25);
}
.wax {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #cf5a3f, #a93421 55%, #7f2216);
  color: #f3d2c8;
}
:where(.wax) .icon {
  width: 17px;
  height: 17px;
}
.alert-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(0 0 0 / 0.45);
}
:where(.leak-alert) .alert-tag {
  color: #a93421;
}
:where(.leak-alert) strong {
  display: block;
  margin-top: 2px;
  line-height: 1.4;
}
.leak-address {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px rgb(169 52 33 / 0.45);
  line-height: 1.35;
}
:where(.leak-address) .postmark {
  width: 40px;
  height: 40px;
  color: rgb(169 52 33 / 0.8);
}
:where(.leak-card)[data-state="trusted"] .leak-address {
  box-shadow: inset 0 0 0 1.5px oklch(0.75 0.12 150);
}
:where(.leak-card)[data-state="trusted"] .postmark {
  color: oklch(0.5 0.13 150);
}
:where(.leak-card)[data-state="off"] .leak-address {
  box-shadow: inset 0 0 0 1.5px rgb(169 52 33 / 0.55);
}
.return-stamp {
  position: absolute;
  right: -6px;
  top: -18px;
  padding: 5px 10px;
  border: 2.5px solid #a93421;
  border-radius: 6px;
  color: #a93421;
  background: rgb(255 255 255 / 0.85);
  font:
    700 12px / 1.1 "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  rotate: -8deg;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
:where(.actions) button {
  flex: 1 1 140px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.secondary {
  background: rgb(0 0 0 / 0.06);
  color: #1d1d1f;
  font-weight: 500;
}
.result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
:where(.result) > .icon {
  color: oklch(0.6 0.15 150);
  width: 20px;
  height: 20px;
}
.text-button {
  display: inline;
  min-height: 44px;
  padding: 12px 0;
  margin: -12px 0;
  background: none;
  color: #5e5ce6;
  font: 600 1em / 1.45 var(--app-font);
}
.booking-toy,
.postcards {
  display: grid;
  gap: 10px;
}
.postcard {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 16px;
  color: var(--ink);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.25);
  rotate: -0.8deg;
}
:where(.postcard) > div {
  flex: 1;
  padding: 6px 8px;
  border-radius: 9px;
}
:where(.postcard) > .icon {
  margin: 8px 0 0 6px;
  color: #27418a;
}
.postcard:nth-child(2n) {
  rotate: 0.8deg;
}
:where(.postcard:nth-child(2)) > .icon {
  color: #a93421;
}
:where(.postcard:nth-child(3)) > .icon {
  color: oklch(0.55 0.15 150);
}
:where(.postcard:nth-child(4)) > .icon {
  color: #5e5ce6;
}
:where(.postcard) .mini {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
:where(.postcard) h3 {
  margin: 2px 0;
  font: 600 1.02rem / 1.3 var(--serif);
}
:where(.postcard) > div > p:last-child {
  font-size: 13px;
  line-height: 1.45;
  color: rgb(35 32 27 / 0.7);
}
#booking-ask,
:where(#booking-result) {
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.restaurant {
  margin: 4px 0 10px;
  font-style: italic;
  color: rgb(0 0 0 / 0.7);
}
.reply {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgb(94 92 230 / 0.1);
}
:where(.reply) strong {
  display: block;
  margin-bottom: 8px;
}
:where(.reply) button {
  flex-basis: 120px;
}
