@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap");

:root {
  --paper: #f3ebdc;
  --cream: #fbf6ec;
  --ink: #1c1914;
  --navy: #1b2d5b;
  --navy-deep: #121c3a;
  --crimson: #b22234;
  --muted: #6a6258;
  --rule: #c9bba3;
}

html,
body.waa-app-body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
}

button,
a {
  cursor: pointer;
}

.waa-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  background: var(--paper);
}

@media (min-width: 760px) {
  body.waa-app-body {
    display: flex;
    justify-content: center;
    padding: 24px 0;
  }
  .waa-phone {
    min-height: 780px;
    max-height: 860px;
    border: 1px solid var(--rule);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(18, 28, 58, 0.45);
  }
}

.waa-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 16px;
  background: var(--navy);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.waa-signal {
  width: 16px;
  height: 10px;
  border: 1px solid var(--cream);
  border-radius: 2px;
}

.waa-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 8px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.waa-rose {
  width: 32px;
  height: 32px;
  margin-left: 8px;
  border-radius: 999px;
  object-fit: cover;
}

.waa-icon {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 22px;
}

.waa-bar-text {
  min-width: 0;
}

.waa-bar-text p:first-child {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: 16px;
}

.waa-bar-text p:last-child {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.waa-root {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 84px;
}

.waa-tabs {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  height: 68px;
  background: var(--cream);
  border-top: 1px solid var(--rule);
}

.waa-tabs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waa-tabs a.active {
  color: var(--crimson);
}

.kicker {
  font-family: Fraunces, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}

.waa-hero img,
.waa-card img {
  width: 100%;
  object-fit: cover;
}

.waa-hero img {
  aspect-ratio: 16 / 9;
}

.waa-hero {
  display: block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 20px;
}

.waa-hero h2 {
  margin: 8px 16px 0;
  font-family: Fraunces, serif;
  font-size: 28px;
  line-height: 1.15;
}

.waa-hero .kicker,
.waa-hero p {
  margin-left: 16px;
  margin-right: 16px;
}

.waa-row {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--rule);
}

.waa-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

.waa-row h2 {
  margin: 4px 0 0;
  font-family: Fraunces, serif;
  font-size: 16px;
  line-height: 1.25;
}

.meta {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.waa-empty,
.waa-msg {
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
}

.waa-search {
  padding: 12px;
  border-bottom: 1px solid var(--rule);
}

.waa-search input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--rule);
  background: var(--cream);
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
}

.waa-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  font-family: Fraunces, serif;
  font-size: 18px;
}

.waa-article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.waa-article-body {
  padding: 20px 16px 40px;
}

.waa-article-body h1 {
  margin: 8px 0 0;
  font-family: Fraunces, serif;
  font-size: 26px;
  line-height: 1.15;
}

.waa-actions {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.waa-actions button,
.waa-actions a {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waa-actions button.on {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--cream);
}

.waa-html p {
  margin: 0 0 1em;
  line-height: 1.65;
}

.waa-html img,
.waa-html iframe,
.waa-html video {
  max-width: 100%;
  height: auto;
}
