* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { background-color: #f5f5f5; color: #333; padding: 20px; display: flex; flex-direction: column; align-items: center; min-height: 100vh; }
.page-title { font-size: 2rem; font-weight: bold; color: #333; margin-bottom: 30px; text-align: center; letter-spacing: 2px; }
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; width: 100%; max-width: 800px; margin-bottom: 40px; }
@media (max-width: 600px) { .lines-grid { grid-template-columns: repeat(2, 1fr); } }
.line-item { background: #fff; border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; border: 1px solid #e0e0e0; transition: all 0.2s ease; position: relative; display: flex; justify-content: space-between; align-items: center; user-select: none; text-decoration: none; color: inherit; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.line-item:active { transform: scale(0.98); background-color: #f0f0f0; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.line-name { font-size: 1rem; font-weight: 600; color: #333; }
.ping-value { font-weight: bold; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; color: #555; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-good { color: #28a745; }
.status-good .status-dot { background-color: #28a745; }
.status-medium { color: #ffc107; }
.status-medium .status-dot { background-color: #ffc107; }
.status-bad { color: #dc3545; }
.status-bad .status-dot { background-color: #dc3545; }
.btn-check { background-color: #4CAF50; color: white; border: none; padding: 14px 50px; font-size: 1.2rem; border-radius: 30px; cursor: pointer; box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3); transition: all 0.3s ease; font-weight: bold; }
.btn-check:hover { background-color: #45a049; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4); }
.btn-check:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3); }