*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #b7d4ff; /* soft blue, 90s desktop feel */
  --card-bg: #fffbe0; /* pale yellow card */
  --accent: #0046b8; /* strong blue */
  --accent-soft: #ffe45c; /* bright yellow */
  --text: #101010;
  --muted: #444444;
  --border-soft: #ff4b4b; /* red accents */
  --radius-lg: 4px;
  --radius-md: 3px;
  --shadow-soft: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Verdana", "Arial", sans-serif;
  background:
    linear-gradient(135deg, #003c8f 0, #0059c1 40%, #b7d4ff 40%, #b7d4ff 100%);
  color: var(--text);
}

body {
  display: flex;
  flex-direction: column;
}

/* Top bar */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #003c8f;
  border-bottom: 2px solid #ffdd33;
  box-shadow: none;
  color: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  text-shadow: 1px 1px 0 #00000040;
}

.nav-actions {
  margin-left: 8px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 0;
  border: 2px solid #ffdd33;
  background: #ff4b4b;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

/* Layout */

.content {
  flex: 1;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

/* Since this is mobile-in-iframe and single-screen, keep cards compact */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 8px 10px;
  box-shadow: var(--shadow-soft);
  border: 2px solid #0046b8;
}

.card h1 {
  font-size: 19px;
  margin: 0 0 4px;
  color: #0046b8;
}

.card h2 {
  font-size: 15px;
  margin: 0 0 6px;
  color: #c70000;
}

.card h3 {
  font-size: 13px;
  margin: 0 0 4px;
  color: #0046b8;
}

.lead {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-list .label {
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grid > div {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 6px;
  border: 1px solid #ff4b4b;
}

/* Small devices tweaks */
@media (max-width: 360px) {
  .brand-name {
    font-size: 14px;
  }

  .home-link {
    font-size: 12px;
    padding-inline: 8px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}