:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #0ea5e9;
  --accent-deep: #0369a1;
  --green: #10b981;
  --red: #ef4444;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.18);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding-top: 72px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.header-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.header-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.header-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 8px;
}

.intro h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 800;
  color: var(--ink);
}

.intro p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

.badge-data {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #ecfdf5;
  color: #047857;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.badge-data::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tela {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tela-header {
  padding: 22px 22px 8px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tela-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.tela-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.tela-shot {
  padding: 8px 14px 0;
  background: #f8fafc;
}

.tela-shot-inner {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tela-shot img,
.tela-shot svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.tela-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent-deep);
  text-transform: uppercase;
}

.info-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}

.audio-slot {
  margin-top: 4px;
  padding: 14px 16px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-slot-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.audio-slot.ready .audio-slot-icon {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #fff;
}

.audio-slot-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

.audio-slot-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.audio-slot-status {
  font-size: 12px;
  color: var(--muted);
}

.audio-slot audio {
  width: 100%;
  height: 40px;
  display: none;
}

.audio-slot.ready audio {
  display: block;
}

.audio-slot.ready .audio-slot-text {
  display: none;
}

.footer {
  max-width: 720px;
  margin: 12px auto 0;
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer strong {
  color: var(--ink);
  font-weight: 700;
}

.footer .small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}

@media (min-width: 768px) {
  body { padding-top: 80px; }
  .header { height: 72px; }
  .header-title { font-size: 16px; }
  .intro h1 { font-size: 36px; }
  .tela-title { font-size: 22px; }
  .tela-num { width: 48px; height: 48px; font-size: 20px; }
  .info-text { font-size: 16.5px; }
  main { gap: 36px; }
  .tela-shot img,
  .tela-shot svg { max-height: 620px; }
}

@media (min-width: 1024px) {
  main { max-width: 840px; }
  .intro { max-width: 840px; }
  .footer { max-width: 840px; }
  .header-inner { max-width: 840px; }
}
