/* app.kk7vjm.com — standalone stylesheet, intentionally independent from
   the main site's CSS so the two can evolve separately. */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #222;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

/* Temporary dev-cycle update banner — see update-check.js */
.update-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e6bd6;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.update-banner-download {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  padding: 0;
}

.update-banner-dismiss {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 4px;
}

.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 16px;
}

.app-header--compact {
  padding: 20px 16px 12px;
}

.app-header--compact h1 {
  font-size: 1.3rem;
}

.app-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 20px;
  margin-bottom: 10px;
}

.app-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #333;
  border: 1px solid #444;
  border-radius: 16px;
  padding: 28px 12px;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s ease, transform 0.1s ease;
}

.app-tile:active {
  background: #3a3a3a;
  transform: scale(0.97);
}

.app-tile-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.app-tile-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.app-footer {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  padding: 24px 0;
}

/* Simple placeholder page used by sections not built yet */
.app-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 24px;
}

.app-placeholder h2 {
  margin: 0 0 8px;
}

.app-placeholder p {
  color: #999;
  max-width: 320px;
}

.app-back-link {
  display: inline-block;
  margin-top: 20px;
  color: #4a9eff;
  text-decoration: none;
  font-weight: 600;
}
