body {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
  color: #1a1a1a;
  background: #fdfdfb;
}

.masthead {
  text-align: center;
  border-bottom: 4px double #1a1a1a;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.masthead h1 {
  font-size: 2.4em;
  margin: 0;
  letter-spacing: 1px;
}

.masthead .tagline {
  font-style: italic;
  color: #666;
  margin: 4px 0 12px;
}

.masthead nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.masthead nav a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.masthead nav a:hover {
  border-bottom-color: #1a1a1a;
}

.inline-form {
  display: inline;
}

.inline-form button, .masthead nav button {
  background: none;
  border: none;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #1a1a1a;
  padding: 0;
}

.flash {
  background: #fff3cd;
  border: 1px solid #d4a72c;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.9em;
}

.edition-date {
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 6px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story {
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.byline {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 6px;
}

.summary {
  font-size: 1.05em;
  line-height: 1.5;
}

.watch-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85em;
  color: #1a5276;
}

.empty-state {
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

.login-box {
  text-align: center;
  padding-top: 80px;
}

.login-box input {
  font: inherit;
  padding: 10px;
  width: 220px;
  margin-right: 8px;
}

.login-box button {
  font: inherit;
  padding: 10px 16px;
}

.add-channel-form {
  margin-bottom: 20px;
}

.add-channel-form input {
  font: inherit;
  padding: 8px;
  width: 240px;
  margin-right: 8px;
}

.add-channel-form button {
  font: inherit;
  padding: 8px 14px;
}

.channel-list {
  list-style: none;
  padding: 0;
}

.channel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
