*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #1a1a2e; color: #e0e0e0; min-height: 100vh; display: flex; justify-content: center; align-items: center; } .auth-container { background: #16213e; padding: 2rem 2.5rem; border-radius: 8px; width: 100%; max-width: 360px; } h1 { text-align: center; color: #e94560; margin-bottom: 0.25rem; } h2 { text-align: center; color: #a0a0a0; font-weight: 400; margin-bottom: 1.5rem; } label { display: block; margin-top: 1rem; margin-bottom: 0.25rem; font-size: 0.875rem; color: #a0a0a0; } input[type="text"], input[type="password"] { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #333; border-radius: 4px; background: #0f3460; color: #e0e0e0; font-size: 1rem; } input:focus { outline: none; border-color: #e94560; } button { width: 100%; margin-top: 1.25rem; padding: 0.625rem; background: #e94560; color: #fff; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; } button:hover { background: #c73650; } .error { background: #5c1111; color: #ff8888; padding: 0.5rem 0.75rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.875rem; } .redirect { text-align: center; margin-top: 1rem; font-size: 0.875rem; } .redirect a { color: #e94560; } /* Game dashboard layout */ .game-container { width: 100%; max-width: 800px; margin: 0 auto; padding: 1rem; } .top-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: #16213e; border-radius: 8px; margin-bottom: 1rem; } .logo { color: #e94560; font-size: 1.25rem; font-weight: bold; } .user-info { display: flex; align-items: center; gap: 1rem; } .user-info span { color: #a0a0a0; } .user-info a { color: #e94560; text-decoration: none; } .main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 600px) { .main-content { grid-template-columns: 1fr; } } .panel { background: #16213e; padding: 1.25rem; border-radius: 8px; } .panel h3 { color: #e94560; margin-bottom: 0.75rem; font-size: 1rem; } .stat-row { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px solid #1a1a2e; font-size: 0.875rem; } .stat-row .label { color: #a0a0a0; } .stat-row.derived { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #333; color: #88cc88; } .loading { text-align: center; color: #a0a0a0; padding: 2rem; } .placeholder { color: #666; font-size: 0.875rem; padding: 1rem 0; } /* Energy bar */ .energy-bar-container { width: 100%; height: 12px; background: #0f3460; border-radius: 6px; overflow: hidden; margin-top: 0.25rem; } .energy-bar { height: 100%; background: linear-gradient(90deg, #4a90d9, #67b8f7); border-radius: 6px; transition: width 0.3s ease; } .energy-timer { font-size: 0.75rem; color: #666; margin-top: 0.25rem; text-align: right; } /* ===== Zone cards ===== */ .zone-list { display: flex; flex-direction: column; gap: 0.75rem; } .zone-card { background: #0f3460; border: 1px solid #333; border-radius: 6px; padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; } .zone-card .zone-name { font-weight: bold; color: #e94560; font-size: 0.95rem; } .zone-card .zone-desc { font-size: 0.8rem; color: #a0a0a0; line-height: 1.3; } .zone-card .zone-meta { font-size: 0.75rem; color: #666; } .zone-card .zone-locked-msg { font-size: 0.8rem; color: #666; font-style: italic; } .btn-hunt { margin-top: 0.5rem; background: #e94560; color: #fff; border: none; border-radius: 4px; padding: 0.5rem 1rem; font-size: 0.875rem; cursor: pointer; align-self: flex-start; } .btn-hunt:hover:not(:disabled) { background: #c73650; } .btn-hunt:disabled { background: #444; color: #888; cursor: not-allowed; } /* ===== Combat log ===== */ .combat-log-list { display: flex; flex-direction: column; gap: 0.35rem; max-height: 300px; overflow-y: auto; } .log-entry { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; background: #0f3460; border-radius: 4px; font-size: 0.8rem; } .log-result { font-weight: bold; font-size: 0.9rem; min-width: 1.2em; text-align: center; } .log-result.win { color: #4f9d69; } .log-result.loss { color: #c0392b; } .log-text { color: #eadfce; } /* ===== Result panel ===== */ .result-panel { grid-column: 1 / -1; } .result-panel h3 { margin-bottom: 0.5rem; } .result-panel p { font-size: 0.875rem; padding: 0.2rem 0; color: #eadfce; } /* ===== Toast notifications ===== */ .toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); padding: 0.75rem 1.25rem; border-radius: 6px; font-size: 0.875rem; color: #fff; z-index: 1000; animation: toastIn 0.3s ease; max-width: 90vw; text-align: center; } .toast-error { background: #c0392b; } .toast-info { background: #4a7fb0; } @keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(1rem); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }