/* Same paper and ink as Fils (app/src/ui/theme.ts), so the door matches the rooms. */
:root {
  --bg: #F3F0E8;
  --surface: #FFFFFF;
  --border: #E6E1D7;
  --text: #1B1A1F;
  --text-dim: #5C5960;
  --text-faint: #8A8690;
  --primary: #4B4EF5;
  color-scheme: light;
}

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

html, body { margin: 0; background: var(--bg); }

body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Arabic', 'Geeza Pro', sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 40px) calc(env(safe-area-inset-right) + 16px)
    calc(env(safe-area-inset-bottom) + 40px) calc(env(safe-area-inset-left) + 16px);
}

h1 { margin: 0 4px; font-size: 32px; font-weight: 800; }

.sub, .what { display: flex; flex-wrap: wrap; gap: 0 10px; }
.sub { margin: 6px 4px 24px; color: var(--text-dim); font-size: 14px; line-height: 20px; }

.apps { display: grid; gap: 12px; }

.app {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: inherit; text-decoration: none;
}
.app:active { border-color: var(--primary); }
.app img { border-radius: 12px; flex: none; }
.text { flex: 1; min-width: 0; }
.name { display: block; font-size: 18px; font-weight: 700; }
.what { color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.go { color: var(--text-faint); font-size: 28px; line-height: 1; }
