:root {
  --primary: #003399; /* Classic WAP Blue */
  --accent: #ff6600;
  --bg-color: #ffffff;
  --panel-bg: #f9f9f9;
  --text-main: #333333;
  --border-color: #cccccc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Tahoma', 'Verdana', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.4;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

a { text-decoration: none; color: var(--primary); font-weight: bold; }
a:hover { text-decoration: underline; color: var(--accent); }

/* Modernized Legacy Header */
.header {
  background: #003399;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
}

.hero-img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  background: #eeeeee;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-bottom: 1px solid var(--border-color);
  color: #666;
}

/* Modernized Table Rows */
.row {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #eeeeee;
  gap: 10px;
}
.row:nth-child(even) { background: #fafafa; }
.row img { width: 20px; height: 16px; flex-shrink: 0; }
.row-content { flex: 1; font-size: 0.9rem; }
.row-stats { font-size: 0.75rem; color: #999; }

/* FAB & Notifications */
.fab {
    position: fixed;
    bottom: 20px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 3000;
    animation: pulse-blue 2s infinite;
}
@keyframes pulse-blue {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 51, 153, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 51, 153, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 51, 153, 0); }
}

.live-notify {
    position: fixed;
    bottom: 20px;
    left: -300px;
    width: 250px;
    background: #fff;
    border: 2px solid var(--primary);
    padding: 10px;
    font-size: 0.8rem;
    z-index: 2500;
    transition: 0.5s;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}
.live-notify.active { left: 10px; }

.footer {
  padding: 20px;
  text-align: center;
  font-size: 0.7rem;
  background: #f4f4f4;
  border-top: 1px solid var(--border-color);
}
