:root {
  --bg: #0d0d12;
  --card: #16161f;
  --text: #f8f8f8;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7dd3fc;
  --accent-2: #c4b5fd;
  --youtube: #e8b888;
  --apps: #5eead4;
  --font-display: "Noto Serif SC", Georgia, serif;
  --font-body: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
}

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

.site-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.updated-at {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.date-switcher {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-label {
  color: var(--muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

.date-select {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  min-width: 200px;
  cursor: pointer;
  font-family: var(--font-body);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' opacity='0.7' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.date-select:hover,
.date-select:focus {
  border-color: var(--accent);
  outline: none;
}

.source-switcher {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.source-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.source-tab.active[data-tab="youtube"] {
  border-color: var(--youtube);
  color: var(--text);
  background: rgba(232, 184, 136, 0.14);
}

.source-tab.active[data-tab="apps"] {
  border-color: var(--apps);
  color: var(--text);
  background: rgba(94, 234, 212, 0.14);
}

.source-tab.active[data-tab="blog"] {
  border-color: #f0abab;
  color: var(--text);
  background: rgba(240, 171, 171, 0.14);
}

.content {
  margin-top: 20px;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 20px;
  color: var(--muted);
}

.youtube-list,
.apps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 20px;
}

.meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.card .title,
.card h3.title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.summary {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 75ch;
}

.summary p {
  margin: 0 0 1em;
}

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

.summary ul {
  margin: 0.6em 0 0 1.25em;
  padding: 0;
}

.summary li {
  margin-bottom: 0.35em;
}

.category {
  margin-bottom: 24px;
}

.category h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--apps);
}

.category-summary {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 75ch;
}

.transparency-block {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.transparency-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.transparency-line {
  margin: 0.25rem 0;
}

.loading {
  color: var(--muted);
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.section-title {
  margin: 1.25rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.blog-uncertain {
  margin-top: 1.5rem;
}

.card-uncertain .title {
  font-size: 1.0625rem;
}

.uncertain-intro {
  margin: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
