* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg, #f2f4f8);
  color: #1f2a24;
  font:
    14px/1.5 Arial,
    system-ui,
    sans-serif;
  padding-bottom: 78px;
  --accent: #005cae;
  --radius: 12px;
}
body.minimal {
  --radius: 4px;
  --bg: #fafafa;
}
body.outdoor {
  --radius: 22px;
  --bg: #f5f1ea;
}
body.bright header,
body.bright .status {
  background: #1b1b1b;
  color: white;
}
.status {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 4px;
  height: 39px;
  font-weight: bold;
  font-size: 12px;
}
header {
  height: 57px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 16px;
}
header img {
  width: 180px;
  height: 40px;
  object-fit: contain;
  object-position: left;
}
header strong {
  font-size: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
header > span {
  margin-left: auto;
  font-size: 22px;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
#back {
  font-size: 30px;
  padding: 0 8px 0 0;
}
main {
  padding: 18px 16px 32px;
}
.eyebrow {
  color: var(--readable, var(--accent));
  font-size: 10px;
  letter-spacing: 1.8px;
  margin: 0 0 9px;
}
h1 {
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 15px;
  font-weight: 800;
}
.intro {
  margin: 0 0 16px;
  line-height: 1.5;
}
.site {
  display: inline-block;
  border: 1px solid #647167;
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--readable, var(--accent));
  text-decoration: none;
  margin-bottom: 20px;
  font-size: 13px;
}
.notice {
  background: white;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  margin: 0 0 24px;
  line-height: 1.5;
}
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 20px;
  cursor: pointer;
}
.photo {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  display: block;
}
.copy {
  padding: 18px;
}
.meta {
  font-size: 11px;
  color: #536156;
  margin: 0 0 12px;
}
h2 {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
.copy > p:last-child {
  margin: 0;
}
.summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#screen {
  overflow-wrap: anywhere;
}
.body {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.7;
}
.story-photo {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
  margin: 16px 0;
}
.action {
  display: block;
  background: var(--accent);
  color: var(--onaccent, white);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  margin: 12px 0;
}
.link {
  color: var(--readable, var(--accent));
  overflow-wrap: anywhere;
}
nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: white;
  justify-content: space-around;
  border-top: 1px solid #e5e8e3;
  padding-top: 7px;
}
nav button {
  font-size: 23px;
  min-width: 108px;
  border-radius: 22px;
  height: 34px;
}
nav button span {
  display: block;
  color: #1f2a24;
  font-size: 11px;
  margin-top: 3px;
}
nav .active {
  background: var(--nav, #d5e5f4);
  color: var(--readable, var(--accent));
}
#screen.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}
.empty p {
  text-align: center;
  color: #6a786f;
}
