:root {
  --teal-primary: rgb(50, 159, 171); /* Converted from 0.196, 0.624, 0.671 */
  --teal-dark: rgb(16, 73, 99); /* Converted from 0.063, 0.286, 0.388 */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: #333;
  background-color: #f8f8f8;
}

.container {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 40px;
}

h1 {
  color: var(--teal-primary);
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  background: var(--teal-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 20px 0;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.app-banner {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-banner-text {
  text-align: left;
  padding-right: 10px;
}

.open-app-btn {
  background: var(--teal-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.content-preview {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.content-preview h2 {
  color: var(--teal-primary);
  margin-top: 0;
  margin-bottom: 10px;
}

.content-preview .excerpt {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-preview .meta {
  color: #888;
  font-size: 14px;
}

.loading {
  color: #888;
  font-style: italic;
  margin: 20px 0;
}

.error {
  color: #d32f2f;
  margin: 20px 0;
}

.ios-only {
  display: none;
}

.android-web-only {
  display: none;
}

/* Markdown content styles */
.excerpt p {
  margin: 10px 0;
  line-height: 1.6;
}

.excerpt p:first-child {
  margin-top: 0;
}

.excerpt p:last-child {
  margin-bottom: 0;
}

.excerpt strong,
.excerpt b {
  font-weight: 600;
  color: #333;
}

.excerpt em,
.excerpt i {
  font-style: italic;
}

.excerpt a {
  color: var(--teal-primary);
  text-decoration: none;
}

.excerpt a:hover {
  text-decoration: underline;
}

.excerpt ul,
.excerpt ol {
  margin: 10px 0;
  padding-left: 25px;
}

.excerpt li {
  margin: 5px 0;
}

.excerpt code {
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.excerpt blockquote {
  border-left: 3px solid var(--teal-primary);
  padding-left: 15px;
  margin: 10px 0;
  color: #666;
  font-style: italic;
}