* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fafaf6;
  --green: #5f7e5f;
  --green-dark: #46603f;
  --text: #2a2a2a;
  --muted: #8a8a85;
  --line: #ececea;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.phone {
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  padding-bottom: 90px;
}

/* Header Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 8px;
}
.top-actions { display: flex; gap: 8px; }
.round-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.round-btn:hover {
  transform: scale(1.05);
}
.round-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
}
.round-btn.active {
  background: var(--green);
  border-color: var(--green);
}
.round-btn.active svg {
  stroke: #fff;
  fill: #fff;
}

.content { padding: 4px 22px; }

/* Hero cover image */
.hero-img {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 6px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Article Tag Badge */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef4ee;
  color: var(--green);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.tag-svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

/* Article Typography */
.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text);
}

.lead {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Author block */
.author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ava {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #eef4ee;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.author-name {
  color: var(--text);
  font-weight: 600;
}
.verify { color: var(--green); margin-left: 2px; }
.dot-sep { color: var(--muted); }

/* Audio bar player */
.audio {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}
.audio-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #eef4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.audio-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.audio-body {
  flex: 1;
}
.audio-body h4 { font-size: 13px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.audio-body small { font-size: 11px; color: var(--muted); }
.play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.play-btn:hover {
  background: var(--green-dark);
}
.play-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 6px 0 22px;
}

/* Article Body */
.body h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 12px;
  line-height: 1.4;
  color: var(--text);
}
.body p {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Blockquote quote card */
/* Blockquote and practice card banners */
.quote-banner {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  margin: 24px 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  display: flex;
}
.practice-banner {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  margin-top: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  display: flex;
}
.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.bottom-spacer { height: 20px; }

/* Bottom navigation bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}
.nav-item small { font-size: 10px; }
.nav-item.active { color: var(--green); font-weight: 600; }

.nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}
.nav-item.active .nav-icon path {
  fill: currentColor;
}
