:root {
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app.dark {
  --bg: #0f1115;
  --surface: #1a1d24;
  --surface-2: #232833;
  --text: #f2f4f8;
  --text-dim: #9aa3b2;
  --border: #2c333f;
  --accent: #5b8cff;
  --accent-soft: rgba(91, 140, 255, 0.14);
  color: var(--text);
  background: var(--bg);
}

.app.light {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --text: #15181f;
  --text-dim: #68707e;
  --border: #e3e8f0;
  --accent: #2f6bff;
  --accent-soft: rgba(47, 107, 255, 0.1);
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}

.brand h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 12px;
  color: var(--text-dim);
}

.icon-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

.icon-btn:hover {
  filter: brightness(1.08);
}

.main {
  flex: 1;
  padding: 24px 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.tagline {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 20px;
}

.apps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.app-card:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.app-emoji {
  font-size: 24px;
  color: var(--accent);
  width: 32px;
  text-align: center;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.app-name {
  font-size: 17px;
  font-weight: 700;
}

.app-tag {
  font-size: 13px;
  color: var(--text-dim);
}

.app-arrow {
  color: var(--text-dim);
  font-size: 18px;
}

.hint {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 24px;
}

.footer {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--text-dim);
}