/* ── Custom properties ─────────────────────────────────────────────────────── */ :root { --bg: #0a0a10; --bg-surface: #0f0f1e; --bg-surface2: #141428; --bg-surface3: #191a30; --bg-glass: rgba(15, 15, 30, 0.85); --accent: #ffe710; --accent-dim: rgba(255, 231, 16, 0.12); --accent-glow: rgba(255, 231, 16, 0.4); --brand: #41639c; --brand-dim: rgba(65, 99, 156, 0.12); --brand-light: #5a82c0; --danger: #ff525d; --danger-dim: rgba(255, 82, 93, 0.15); --success: #4dff91; --success-dim: rgba(77, 255, 145, 0.12); --text: #dde0f0; --text-muted: #4a5070; --text-dim: #7a86a8; --border: rgba(65, 99, 156, 0.22); --border-dim: rgba(65, 99, 156, 0.12); --border-accent: rgba(255, 231, 16, 0.28); --gradient-accent: linear-gradient(135deg, #ffe710 0%, #ffb800 100%); --gradient-bg: radial-gradient(circle at top, rgba(255, 231, 16, 0.08), transparent 32%), radial-gradient(circle at 20% 20%, rgba(65, 99, 156, 0.18), transparent 28%), linear-gradient(160deg, #07080d 0%, #0c0c1c 48%, #090c16 100%); --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.55); --shadow-accent: 0 0 20px rgba(255, 231, 16, 0.35); --shadow-glow: 0 0 40px rgba(255, 231, 16, 0.15); --font-heading: 'Rajdhani', 'Exo 2', sans-serif; --font-mono: 'Share Tech Mono', 'Courier New', monospace; --font-body: 'Exo 2', system-ui, sans-serif; --radius: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 18px; --transition: 0.15s ease; --trans-med: 0.25s ease; } /* ── Reset & base ──────────────────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; background: var(--gradient-bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; overflow-x: hidden; } /* ── Military grid overlay ─────────────────────────────────────────────────── */ body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(65, 99, 156, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(65, 99, 156, 0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; z-index: 0; } /* Scanlines */ body::after { content: ''; position: fixed; inset: 0; background: repeating-linear-gradient( 0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.05) 3px, rgba(0, 0, 0, 0.05) 4px ); pointer-events: none; z-index: 0; } body { position: relative; } body > * { position: relative; z-index: 1; } /* ── Layout helpers ────────────────────────────────────────────────────────── */ .hidden { display: none !important; } .muted { color: var(--text-muted); font-size: 0.85rem; } .accent { color: var(--accent); } .view { position: relative; z-index: 1; min-height: calc(100vh - 56px); padding: 34px 24px 72px; max-width: 1200px; margin: 0 auto; } .view-centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; position: relative; z-index: 1; } /* View fade transition */ .view-fade-in { animation: viewFadeIn 0.18s ease forwards; } @keyframes viewFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ── Navigation ────────────────────────────────────────────────────────────── */ #main-nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 16px; padding: 0 20px; height: 56px; background: rgba(7, 8, 13, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .nav-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; white-space: nowrap; text-shadow: 0 0 12px var(--accent-glow); } .nav-logo { font-size: 1.3rem; } .nav-links { display: flex; gap: 2px; flex: 1; justify-content: center; } .nav-btn { background: transparent; border: none; color: var(--text-muted); font-family: var(--font-heading); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; padding: 6px 14px; border-radius: var(--radius); cursor: pointer; transition: color var(--transition), background var(--transition); white-space: nowrap; } .nav-btn:hover { color: var(--text); background: var(--brand-dim); } .nav-btn.active { color: var(--accent); background: var(--accent-dim); } .nav-user { display: flex; align-items: center; gap: 10px; margin-left: auto; white-space: nowrap; } .nav-username { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brand-light); } /* Hamburger (mobile only) */ #nav-hamburger { display: none; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 1.2rem; width: 36px; height: 36px; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); line-height: 1; } #nav-hamburger:hover { background: var(--brand-dim); border-color: var(--brand); } /* Mobile drawer */ #nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 150; backdrop-filter: blur(2px); } #nav-overlay.open { display: block; } #nav-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 260px; background: var(--bg-surface); border-right: 1px solid var(--border); z-index: 160; transform: translateX(-100%); transition: transform 0.25s ease; display: flex; flex-direction: column; padding: 20px 0; } #nav-drawer.open { transform: translateX(0); } .drawer-header { padding: 0 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 8px; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; } .drawer-btn { background: transparent; border: none; color: var(--text-dim); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; padding: 13px 20px; text-align: left; cursor: pointer; transition: all var(--transition); width: 100%; border-left: 3px solid transparent; } .drawer-btn:hover { color: var(--text); background: var(--brand-dim); border-left-color: var(--brand); } .drawer-btn.active { color: var(--accent); background: var(--accent-dim); border-left-color: var(--accent); } .drawer-footer { margin-top: auto; padding: 16px 20px 0; border-top: 1px solid var(--border); } /* ── Cards ─────────────────────────────────────────────────────────────────── */ .card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-card); backdrop-filter: blur(14px); transition: border-color var(--trans-med), box-shadow var(--trans-med), transform var(--trans-med); position: relative; overflow: hidden; } .card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%); pointer-events: none; } .card:hover { border-color: rgba(65, 99, 156, 0.4); transform: translateY(-2px); } .card-accent { border-color: var(--border-accent); box-shadow: var(--shadow-card), 0 0 20px rgba(255, 231, 16, 0.06); } .card-hero { background: linear-gradient(135deg, rgba(65, 99, 156, 0.2) 0%, rgba(20, 26, 45, 0.9) 52%, rgba(255, 231, 16, 0.08) 100%); border-color: rgba(65, 99, 156, 0.35); padding: 30px; } .card-title { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--brand-light); margin-bottom: 18px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; } .card-title::before { content: ''; display: inline-block; width: 3px; height: 12px; background: var(--brand); border-radius: 2px; } /* ── Badges ────────────────────────────────────────────────────────────────── */ .badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 20px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; } .badge-admin { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(255,231,16,0.25); } .badge-user { background: var(--brand-dim); color: var(--brand-light); border: 1px solid rgba(65,99,156,0.3); } .badge-warning { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(255,82,93,0.3); } .badge-success { background: var(--success-dim); color: var(--success); border: 1px solid rgba(77,255,145,0.25); } .badge-rank { background: rgba(255,231,16,0.08); color: var(--accent); border: 1px solid rgba(255,231,16,0.2); font-family: var(--font-heading); } /* ELO rank badges */ .rank-private { --rank-color: #7a86a8; } .rank-sergeant { --rank-color: #5a82c0; } .rank-lieutenant { --rank-color: #4dff91; } .rank-captain { --rank-color: #ffb800; } .rank-general { --rank-color: #ffe710; } .rank-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--rank-color, var(--text-dim)); background: rgba(255,255,255,0.04); border: 1px solid color-mix(in srgb, var(--rank-color, #7a86a8) 30%, transparent); } /* ── Buttons ───────────────────────────────────────────────────────────────── */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border: 1px solid transparent; border-radius: 999px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; transition: all var(--transition); text-transform: uppercase; white-space: nowrap; position: relative; overflow: hidden; } .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .btn-accent { background: var(--gradient-accent); color: #000; border-color: transparent; } .btn-accent:hover { box-shadow: var(--shadow-accent); filter: brightness(1.08); } .btn-muted { background: transparent; color: var(--text-muted); border-color: var(--border); } .btn-muted:hover { color: var(--text); border-color: var(--text-muted); background: rgba(255,255,255,0.03); } .btn-danger { background: var(--danger-dim); color: var(--danger); border-color: rgba(255,82,93,0.35); } .btn-danger:hover { background: rgba(255,82,93,0.22); border-color: var(--danger); } .btn-ghost { background: transparent; color: var(--brand-light); border-color: transparent; } .btn-ghost:hover { background: var(--brand-dim); } .btn-sm { padding: 5px 12px; font-size: 0.78rem; } .btn-lg { padding: 15px 36px; font-size: 1.05rem; } .btn-full { width: 100%; } .btn-icon { padding: 8px; min-width: 36px; } .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-light); } .eyebrow::before { content: ''; width: 30px; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); } /* Loading state */ .btn-loading { pointer-events: none; opacity: 0.7; } .btn-loading::after { content: ''; display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; margin-left: 6px; } @keyframes spin { to { transform: rotate(360deg); } } /* ── Progress bar ──────────────────────────────────────────────────────────── */ .progress-bar { height: 4px; background: var(--bg-surface2); border-radius: 2px; overflow: hidden; } .progress-fill { height: 100%; background: var(--gradient-accent); border-radius: 2px; transition: width 0.3s ease; } .progress-fill-brand { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%); } /* ── Skeleton loader ───────────────────────────────────────────────────────── */ .skeleton { background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-surface2) 50%, var(--bg-surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .skeleton-text { height: 14px; margin-bottom: 8px; } .skeleton-title { height: 24px; width: 60%; margin-bottom: 16px; } .skeleton-card { height: 120px; } /* ── Modal ─────────────────────────────────────────────────────────────────── */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); animation: fadeOverlay 0.15s ease; } @keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } } .modal { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; width: 100%; max-width: 440px; box-shadow: var(--shadow-card); animation: modalSlide 0.18s ease; position: relative; } .modal-wide { max-width: 600px; } @keyframes modalSlide { from { opacity: 0; transform: translateY(-12px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } } .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .modal-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; } .modal-close { background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; padding: 4px; border-radius: var(--radius); transition: color var(--transition); line-height: 1; } .modal-close:hover { color: var(--text); } .modal-actions { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; } /* ── Tooltip ───────────────────────────────────────────────────────────────── */ [data-tooltip] { position: relative; } [data-tooltip]::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--bg-surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 10px; font-size: 0.75rem; white-space: nowrap; color: var(--text); pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 50; } [data-tooltip]:hover::after { opacity: 1; } /* ── Form elements ─────────────────────────────────────────────────────────── */ .field { margin-bottom: 14px; } label { display: block; font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; } input[type="text"], input[type="password"], input[type="number"], select, textarea { width: 100%; background: var(--bg-surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 10px 14px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); } input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); } select option { background: var(--bg-surface2); } .error { color: var(--danger); font-size: 0.85rem; margin-bottom: 10px; } /* ── Login ─────────────────────────────────────────────────────────────────── */ .login-box { width: 100%; max-width: 420px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px 36px; box-shadow: var(--shadow-card); backdrop-filter: blur(16px); } .login-shell { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 420px); gap: 24px; align-items: stretch; } .login-intel { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 36px; background: radial-gradient(circle at top right, rgba(255, 231, 16, 0.1), transparent 26%), linear-gradient(145deg, rgba(15, 19, 33, 0.94), rgba(9, 12, 20, 0.92)); } .login-intel-title { margin-top: 18px; max-width: 10ch; font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 0.92; letter-spacing: 0.04em; text-transform: uppercase; color: #f7f9ff; } .login-intel-copy { max-width: 38rem; margin-top: 18px; color: var(--text-dim); font-size: 1rem; } .login-intel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; } .intel-stat { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; } .intel-stat-value { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: var(--accent); } .intel-stat-label { color: var(--text-muted); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; } .login-header { text-align: center; margin-bottom: 32px; } .login-logo { font-size: 3.2rem; line-height: 1; display: block; margin-bottom: 10px; filter: drop-shadow(0 0 16px var(--accent-glow)); } .login-header h1 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); text-shadow: 0 0 24px rgba(255,231,16,0.25); } .login-sub { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 6px; } /* ── Page headers ──────────────────────────────────────────────────────────── */ .page-header { margin-bottom: 28px; } .page-title { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; text-shadow: 0 0 20px rgba(255,231,16,0.15); } .page-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; } /* ── Dashboard ─────────────────────────────────────────────────────────────── */ .dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .dashboard-briefing { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px; align-items: center; background: radial-gradient(circle at top right, rgba(255, 231, 16, 0.12), transparent 28%), linear-gradient(130deg, rgba(11, 16, 28, 0.9), rgba(18, 22, 38, 0.92)); } .briefing-title { margin-top: 10px; max-width: 20ch; font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 0.98; letter-spacing: 0.04em; text-transform: uppercase; } .briefing-text { margin-top: 12px; max-width: 44rem; color: var(--text-dim); font-size: 0.98rem; } .briefing-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; } .status-pill { display: inline-flex; align-items: center; gap: 12px; min-width: 155px; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 999px; } .status-pill-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.14em; text-transform: uppercase; } .status-pill strong { font-family: var(--font-heading); font-size: 1rem; color: var(--accent); letter-spacing: 0.06em; } .briefing-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; } .dashboard-hero { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; } .hero-identity { display: flex; align-items: center; gap: 16px; } .hero-rank-icon { font-size: 2.8rem; filter: drop-shadow(0 0 10px var(--accent-glow)); line-height: 1; } .hero-name { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; line-height: 1.1; } .hero-rank-name { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; margin-top: 4px; } .hero-elo { font-family: var(--font-mono); font-size: 1rem; color: var(--text-dim); } .hero-elo span { font-size: 1.4rem; color: var(--accent); } .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(92px, 1fr)); gap: 12px; } .hero-stat-item { text-align: center; padding: 14px 12px; border-radius: 14px; background: rgba(5, 9, 18, 0.4); border: 1px solid rgba(255,255,255,0.05); } .hero-stat-val { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--text); } .hero-stat-label { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; } .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .stat-item { text-align: center; padding: 12px 8px; background: var(--bg-surface2); border-radius: var(--radius); border: 1px solid var(--border); } .stat-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--text); } .stat-value.accent { color: var(--accent); } .stat-label { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-top: 3px; } .stat-trend { font-size: 0.72rem; margin-left: 4px; } .stat-trend.up { color: var(--success); } .stat-trend.down { color: var(--danger); } /* Daily challenge */ .daily-stratagem { display: flex; flex-direction: column; gap: 8px; } .daily-icon-wrap { width: 74px; height: 74px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--border); } .daily-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--accent); letter-spacing: 0.03em; } .daily-category { font-size: 0.78rem; color: var(--text-dim); } .daily-best { font-size: 0.82rem; color: var(--text-muted); } .daily-sequence-preview { display: flex; gap: 5px; flex-wrap: wrap; margin: 4px 0; } .daily-arrow { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 4px; font-size: 0.9rem; color: var(--text-dim); background: var(--bg-surface2); } /* Online list */ .online-list { display: flex; flex-direction: column; gap: 8px; } .online-user { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg-surface2); border-radius: 14px; border: 1px solid var(--border); } .online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); flex-shrink: 0; } /* Data table */ .data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; } .table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; position: relative; z-index: 1; } .data-table th { text-align: left; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); padding: 8px 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); text-transform: uppercase; } .data-table td { padding: 12px 10px; border-bottom: 1px solid rgba(65, 99, 156, 0.08); font-family: var(--font-mono); font-size: 0.84rem; } .data-table tbody tr:hover td { background: rgba(65, 99, 156, 0.08); } .data-table tr.row-me td { color: var(--accent); } .data-table .rank { font-size: 0.95rem; color: var(--accent); font-weight: 700; text-align: center; width: 40px; } /* ── Practice mode ─────────────────────────────────────────────────────────── */ .practice-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; } /* Mode selector */ .mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; } .mode-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: 18px; padding: 20px 16px; text-align: center; cursor: pointer; transition: all var(--trans-med); display: flex; flex-direction: column; gap: 8px; } .mode-card:hover { border-color: var(--brand); background: rgba(65, 99, 156, 0.14); transform: translateY(-2px); } .mode-card.active { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 231, 16, 0.12), rgba(255, 231, 16, 0.04)); box-shadow: 0 0 14px rgba(255,231,16,0.1); } .mode-icon { font-size: 1.8rem; line-height: 1; } .mode-name { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text); text-transform: uppercase; } .mode-desc { font-size: 0.73rem; color: var(--text-muted); line-height: 1.4; } /* Category filters */ .category-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; } .cat-btn { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-muted); border-radius: 999px; padding: 5px 14px; font-family: var(--font-body); font-size: 0.78rem; cursor: pointer; transition: all var(--transition); } .cat-btn.active { background: var(--brand-dim); border-color: var(--brand); color: var(--text); } .cat-btn:hover { border-color: var(--text-muted); color: var(--text); } /* Idle / Settings row */ .practice-setup { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px 20px; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 55%); border: 1px dashed var(--border); border-radius: var(--radius-xl); } .practice-start-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; } .idle-hint { color: var(--text-muted); font-size: 0.88rem; } /* Active practice */ .practice-active { display: flex; flex-direction: column; align-items: center; gap: 20px; scroll-margin-top: 88px; } .practice-focus-shell { width: min(960px, 100%); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, rgba(8, 11, 18, 0.86), rgba(14, 17, 29, 0.76)); border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); } body.in-practice-session #view-practice .practice-header, body.in-practice-session #view-practice #practice-mode-grid, body.in-practice-session #view-practice #practice-categories { display: none; } body.in-practice-session #view-practice { padding-top: 18px; } body.in-practice-session #view-practice .practice-active { min-height: calc(100vh - 120px); justify-content: center; } .practice-focus-meta { width: 100%; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .focus-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 231, 16, 0.28); background: rgba(255, 231, 16, 0.1); color: var(--accent); font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; } .focus-chip-muted { border-color: var(--border); background: rgba(255,255,255,0.04); color: var(--text-dim); } .gameplay-feedback { width: 100%; max-width: 620px; padding: 10px 16px; border-radius: 999px; text-align: center; font-family: var(--font-heading); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); background: rgba(255,255,255,0.05); } .gameplay-feedback-info { color: var(--text); border-color: rgba(65, 99, 156, 0.28); background: rgba(65, 99, 156, 0.14); } .gameplay-feedback-success { color: #062013; border-color: rgba(77,255,145,0.35); background: linear-gradient(180deg, #99ffc1, #43d97c); } .gameplay-feedback-danger { color: #2c0509; border-color: rgba(255,82,93,0.35); background: linear-gradient(180deg, #ff9aa1, #ff5c66); } .stratagem-display { width: 100%; max-width: 100%; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); } .stratagem-category { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brand-light); text-transform: uppercase; margin-bottom: 8px; } .stratagem-name { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 20px; text-shadow: 0 0 24px rgba(255,231,16,0.18); min-height: 2.4em; } .practice-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 14px; letter-spacing: 0.08em; } /* ── Arrow key indicators ──────────────────────────────────────────────────── */ .arrow-sequence { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; min-height: 58px; } .arrow-sequence-hero { min-height: 96px; padding: 16px 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(6, 10, 18, 0.92), rgba(15, 20, 33, 0.92)); border: 1px solid rgba(255,255,255,0.07); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 32px rgba(0,0,0,0.28); } .arrow-key { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 2px solid var(--border); border-radius: 16px; font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: #edf2ff; background: linear-gradient(180deg, rgba(31, 39, 61, 0.98), rgba(15, 20, 31, 0.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); transition: all 0.1s ease; user-select: none; } .dir-glyph { display: inline-flex; width: 1.5em; height: 1.5em; align-items: center; justify-content: center; } .dir-glyph svg { width: 100%; height: 100%; overflow: visible; } .dir-glyph .dir-line, .dir-glyph .dir-head { fill: currentColor; stroke: currentColor; stroke-width: 0; } .dir-glyph .dir-line { fill: none; stroke-width: 5; stroke-linecap: square; } .dir-up { transform: rotate(0deg); } .dir-right { transform: rotate(90deg); } .dir-down { transform: rotate(180deg); } .dir-left { transform: rotate(270deg); } .arrow-key.active { border-color: var(--accent); color: #111; background: linear-gradient(180deg, #fff07a, var(--accent)); box-shadow: 0 0 26px rgba(255,231,16,0.35), 0 8px 24px rgba(255, 184, 0, 0.22); transform: translateY(-2px) scale(1.06); animation: pulse-key 0.9s ease infinite; } @keyframes pulse-key { 0%, 100% { box-shadow: 0 0 20px rgba(255,231,16,0.35), 0 8px 24px rgba(255, 184, 0, 0.18); } 50% { box-shadow: 0 0 32px rgba(255,231,16,0.55), 0 12px 28px rgba(255, 184, 0, 0.28); } } .arrow-key.completed { border-color: var(--success); color: #04180d; background: linear-gradient(180deg, #87ffb3, #2ed06e); box-shadow: 0 8px 22px rgba(77,255,145,0.2); } .arrow-key.flash-correct { border-color: var(--success); background: linear-gradient(180deg, #87ffb3, #2ed06e); color: #04180d; animation: pop 0.22s ease; } .arrow-key.flash-wrong { border-color: var(--danger); background: linear-gradient(180deg, #ff8d95, #ff525d); color: #230207; animation: shake 0.35s ease; } @keyframes pop { 0% { transform: scale(1.3); } 100% { transform: scale(1); } } @keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } } /* ── Practice HUD ──────────────────────────────────────────────────────────── */ .practice-hud { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); } .hud-item { text-align: center; min-width: 72px; } .hud-label { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; } .hud-value { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--text); } .hud-value.accent { color: var(--accent); } /* SVG Timer ring */ .timer-ring-wrap { position: relative; width: 80px; height: 80px; flex-shrink: 0; } .timer-ring-svg { transform: rotate(-90deg); width: 80px; height: 80px; } .timer-ring-bg { fill: none; stroke: var(--bg-surface2); stroke-width: 5; } .timer-ring-fill { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke 0.3s ease; } .timer-ring-fill.danger { stroke: var(--danger); } .timer-ring-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--text); transition: color var(--transition); } .timer-ring-val.danger { color: var(--danger); animation: pulse 0.8s infinite; } /* Classic timer fallback */ .timer { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; color: var(--text); transition: color var(--transition); min-width: 60px; text-align: center; } .timer.timer-danger { color: var(--danger); animation: pulse 0.8s infinite; } .timer.flash-wrong { animation: shake 0.4s ease; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .flash-wrong-seq { animation: shake 0.35s ease; } /* Lives (Endless mode) */ .lives-display { display: flex; gap: 6px; align-items: center; font-size: 1.4rem; } .life-icon.lost { opacity: 0.2; filter: grayscale(1); } /* Streak fire effect */ .streak-fire .hud-value { color: var(--accent); text-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(255,150,0,0.4); animation: fireGlow 1s ease infinite alternate; } @keyframes fireGlow { from { text-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(255,150,0,0.3); } to { text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(255,150,0,0.5); } } /* Multiplier badge */ .combo-badge { display: inline-flex; align-items: center; background: var(--accent-dim); border: 1px solid var(--border-accent); color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; } /* Practice mode-specific HUD additions */ .drill-progress { width: 100%; max-width: 500px; } .drill-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 6px; text-transform: uppercase; display: flex; justify-content: space-between; } /* Vignette danger (≤5s) */ .danger-vignette { position: fixed; inset: 0; pointer-events: none; z-index: 5; box-shadow: inset 0 0 80px rgba(255, 82, 93, 0.25); animation: vignetteFlash 0.8s ease infinite; } @keyframes vignetteFlash { 0%, 100% { opacity: 0.8; } 50% { opacity: 0.3; } } /* ── D-Pad ─────────────────────────────────────────────────────────────────── */ .dpad { display: flex; flex-direction: column; align-items: center; gap: 3px; } .dpad-row { display: flex; gap: 3px; align-items: center; } .dpad-btn { width: 72px; height: 72px; background: linear-gradient(180deg, rgba(33, 41, 61, 0.98), rgba(15, 20, 31, 0.98)); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; color: var(--text); font-size: 1.65rem; cursor: pointer; transition: all var(--transition); font-family: var(--font-mono); display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; } .dpad-btn .dir-glyph { width: 1.35em; height: 1.35em; } .dpad-btn:hover { background: rgba(65, 99, 156, 0.24); border-color: var(--brand); } .dpad-btn:active { background: rgba(255, 231, 16, 0.18); border-color: var(--accent); color: var(--accent); transform: scale(0.94); } .dpad-center { width: 72px; height: 72px; background: var(--bg-surface2); border-radius: 18px; } /* ── Lobby ─────────────────────────────────────────────────────────────────── */ .lobby-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; } .player-list { display: flex; flex-direction: column; gap: 10px; } .lobby-player { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-surface2); border-radius: 14px; border: 1px solid var(--border); transition: border-color var(--transition); } .lobby-player:hover { border-color: rgba(65, 99, 156, 0.5); } .player-name { flex: 1; font-family: var(--font-mono); font-size: 0.9rem; } .player-elo { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); } .challenge-list { display: flex; flex-direction: column; gap: 10px; } .challenge-item { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--accent-dim); border: 1px solid var(--border-accent); border-radius: var(--radius-lg); flex-wrap: wrap; animation: challengePulse 2s ease infinite; } @keyframes challengePulse { 0%, 100% { border-color: var(--border-accent); } 50% { border-color: var(--accent); box-shadow: 0 0 12px rgba(255,231,16,0.15); } } .challenge-badge { position: fixed; top: 64px; right: 16px; background: var(--gradient-accent); color: #000; font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; cursor: pointer; z-index: 200; box-shadow: var(--shadow-accent); animation: pulse 1.5s infinite; } /* Lobby empty state */ .lobby-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 20px; text-align: center; color: var(--text-muted); } .lobby-empty-icon { font-size: 2.5rem; opacity: 0.4; } /* ── Match ─────────────────────────────────────────────────────────────────── */ .match-header { position: relative; z-index: 1; text-align: center; padding: 24px 20px 12px; } .match-status-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; } .match-category { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 4px; } .match-scoreboard { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 32px; padding: 16px; max-width: 520px; margin: 0 auto 20px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-lg); backdrop-filter: blur(8px); } .match-player { text-align: center; } .match-player-name { font-family: var(--font-mono); font-size: 0.88rem; color: var(--text-muted); } .match-wins { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--text); line-height: 1.1; } .match-player.me .match-wins { color: var(--accent); } .match-vs { font-family: var(--font-heading); font-size: 1rem; color: var(--text-muted); padding: 0 8px; } .match-round-area { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 720px; margin: 0 auto; padding: 0 20px; scroll-margin-top: 88px; } .match-focus-shell { width: min(980px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, rgba(8, 11, 18, 0.84), rgba(15, 20, 31, 0.78)); border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); } body.in-match-round #view-match .match-header, body.in-match-round #view-match .match-actions { opacity: 0.72; } .match-sequences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; } .match-seq-col { display: flex; flex-direction: column; align-items: center; gap: 10px; } .match-seq-label { font-size: 0.68rem; letter-spacing: 0.15em; font-weight: 700; color: var(--text-muted); text-transform: uppercase; } .duel-progress { width: min(320px, 100%); display: flex; align-items: center; gap: 10px; } .duel-progress-bar { flex: 1; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); } .duel-progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #fff07a, var(--accent)); transition: width 0.14s ease; } .duel-progress-fill-opp { background: linear-gradient(90deg, var(--brand-light), #8db5ff); } .duel-progress-text { min-width: 54px; text-align: right; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); } .arrow-sequence-duel .arrow-key { width: 58px; height: 58px; font-size: 1.6rem; } .match-actions { position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 16px; } .summary-insights { display: flex; flex-direction: column; gap: 8px; } .summary-insight { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); color: var(--text-dim); font-size: 0.9rem; } .gameplay-countdown { position: fixed; inset: 0; z-index: 950; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle, rgba(8, 10, 18, 0.28), rgba(8, 10, 18, 0.82)); backdrop-filter: blur(8px); pointer-events: none; } .gameplay-countdown strong { font-family: var(--font-heading); font-size: clamp(4rem, 18vw, 9rem); line-height: 0.9; color: var(--accent); text-shadow: 0 0 32px rgba(255,231,16,0.35); } .countdown-label { font-size: 0.9rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-dim); } .countdown-pop strong { animation: countdownPop 0.42s ease; } @keyframes countdownPop { 0% { transform: scale(0.75); opacity: 0.35; } 100% { transform: scale(1); opacity: 1; } } /* ── Post-match result ─────────────────────────────────────────────────────── */ .result-winner { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; } .result-winner.win { color: var(--accent); text-shadow: var(--shadow-accent); } .result-winner.loss { color: var(--text-muted); } .elo-delta-row { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-mono); padding: 12px; background: var(--bg-surface2); border-radius: var(--radius); margin: 8px 0; } .elo-delta-old { color: var(--text-muted); } .elo-delta-arrow { color: var(--text-dim); } .elo-delta-new { color: var(--accent); font-size: 1.1rem; font-weight: 700; } .elo-delta-val.positive { color: var(--success); } .elo-delta-val.negative { color: var(--danger); } .round-history { display: flex; flex-direction: column; gap: 5px; max-height: 180px; overflow-y: auto; margin: 8px 0; } .round-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; background: var(--bg-surface2); border-radius: var(--radius); font-size: 0.82rem; font-family: var(--font-mono); } .round-row.won { border-left: 3px solid var(--success); } .round-row.lost { border-left: 3px solid var(--danger); } /* ── Leaderboard ───────────────────────────────────────────────────────────── */ .leaderboard-tabs { display: flex; gap: 4px; margin-bottom: 20px; } .tab-btn { background: transparent; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; padding: 6px 16px; cursor: pointer; transition: all var(--transition); text-transform: uppercase; } .tab-btn:hover { color: var(--text); border-color: var(--brand); } .tab-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); } /* ── History view ──────────────────────────────────────────────────────────── */ .history-chart { width: 100%; height: 160px; background: var(--bg-surface2); border-radius: 16px; border: 1px solid var(--border); padding: 12px; overflow: hidden; } .history-chart svg { width: 100%; height: 100%; } .history-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; } .history-filters select { width: auto; min-width: 120px; } .pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 16px; flex-wrap: wrap; } .page-btn { background: transparent; border: 1px solid var(--border); color: var(--text-muted); border-radius: 999px; padding: 4px 12px; font-family: var(--font-mono); font-size: 0.82rem; cursor: pointer; transition: all var(--transition); } .page-btn:hover { border-color: var(--brand); color: var(--text); } .page-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); } .page-info { color: var(--text-muted); font-size: 0.82rem; } /* ── Admin ─────────────────────────────────────────────────────────────────── */ .admin-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; } .admin-stat-card { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(31, 38, 59, 0.92), rgba(16, 20, 33, 0.96)), radial-gradient(circle at top right, rgba(255, 214, 0, 0.12), transparent 55%); } .admin-stat-value { margin-top: 14px; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: 0.05em; color: var(--accent); } .admin-stat-meta { margin-top: 6px; color: var(--text-muted); font-size: 0.9rem; } .admin-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 18px; } .admin-spotlight { padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 214, 0, 0.12), rgba(84, 118, 184, 0.08)); border: 1px solid rgba(255, 214, 0, 0.16); } .admin-spotlight-label, .admin-user-meta, .admin-activity-meta { color: var(--text-muted); font-size: 0.84rem; } .admin-spotlight-label { text-transform: uppercase; letter-spacing: 0.12em; } .admin-spotlight-value { margin-top: 8px; font-family: var(--font-heading); font-size: 1.7rem; color: var(--accent); } .admin-spotlight-meta { margin-top: 6px; color: var(--text-dim); line-height: 1.5; } .admin-users-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .admin-search { width: min(260px, 100%); border-radius: 999px; border: 1px solid var(--border); background: rgba(11, 16, 28, 0.84); color: var(--text); padding: 11px 14px; font-family: var(--font-mono); } .admin-search:focus { outline: none; border-color: rgba(255, 214, 0, 0.48); box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.12); } .admin-user-list { display: flex; flex-direction: column; gap: 10px; } .admin-user-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px; background: linear-gradient(180deg, rgba(19, 24, 39, 0.92), rgba(14, 18, 29, 0.98)); border-radius: var(--radius); border: 1px solid var(--border); transition: transform var(--transition), border-color var(--transition), background var(--transition); } .admin-user-row:hover { border-color: rgba(255, 214, 0, 0.22); transform: translateY(-1px); } .admin-user-main { min-width: 0; flex: 1; } .admin-user-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; } .user-name { flex: 1; font-family: var(--font-mono); font-size: 0.88rem; } .admin-user-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; line-height: 1.45; } .admin-user-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; } .admin-activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .admin-activity-list { display: flex; flex-direction: column; gap: 10px; } .admin-activity-item, .admin-empty { border-radius: var(--radius); border: 1px solid var(--border); background: rgba(13, 18, 31, 0.78); padding: 14px 16px; } .admin-activity-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; } .admin-activity-head strong { color: var(--text); font-family: var(--font-heading); letter-spacing: 0.04em; } .admin-activity-head span, .admin-activity-body { color: var(--text-dim); } .admin-activity-body { margin-bottom: 8px; } .admin-activity-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; } .admin-empty { color: var(--text-muted); text-align: center; } .pw-display { margin-top: 12px; padding: 10px 14px; background: var(--bg-surface2); border: 1px solid var(--accent); border-radius: var(--radius); font-family: var(--font-mono); color: var(--accent); font-size: 0.88rem; word-break: break-all; } /* ── Settings modal content ────────────────────────────────────────────────── */ .settings-section { margin-bottom: 22px; } .settings-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; display: block; } .settings-options { display: flex; gap: 8px; flex-wrap: wrap; } .settings-option { flex: 1; min-width: 70px; background: var(--bg-surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; padding: 8px 12px; text-align: center; cursor: pointer; transition: all var(--transition); text-transform: uppercase; } .settings-option:hover { border-color: var(--brand); color: var(--text); } .settings-option.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); } /* ── Toast notifications ───────────────────────────────────────────────────── */ #toast-container { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 500; pointer-events: none; } .toast { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px 16px; font-size: 0.88rem; opacity: 0; transform: translateX(20px); transition: all 0.22s ease; max-width: 300px; pointer-events: auto; box-shadow: var(--shadow-card); } .toast.show { opacity: 1; transform: translateX(0); } .toast.toast-success { border-color: rgba(77,255,145,0.3); } .toast.toast-danger { border-color: rgba(255,82,93,0.3); } /* ── Divider ───────────────────────────────────────────────────────────────── */ .divider { height: 1px; background: var(--border); margin: 16px 0; } /* ── Responsive ────────────────────────────────────────────────────────────── */ @media (max-width: 1024px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } .mode-grid { grid-template-columns: repeat(2, 1fr); } .login-shell { grid-template-columns: 1fr; } .dashboard-briefing { grid-template-columns: 1fr; } .briefing-actions { flex-direction: row; flex-wrap: wrap; } } @media (max-width: 768px) { .nav-links { display: none; } #nav-hamburger { display: flex; } .view { padding: 20px 14px 48px; } .dashboard-grid { grid-template-columns: 1fr; } .dashboard-hero { flex-direction: column; gap: 16px; } .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } .lobby-layout { grid-template-columns: 1fr; } .admin-layout { grid-template-columns: 1fr; } .match-sequences { grid-template-columns: 1fr; gap: 12px; } .mode-grid { grid-template-columns: repeat(2, 1fr); } .login-intel { padding: 28px 24px; } .login-intel-title { max-width: none; font-size: clamp(2rem, 9vw, 3.2rem); } .login-intel-grid { grid-template-columns: 1fr; } .stratagem-name { font-size: 1.5rem; } .arrow-key { width: 54px; height: 54px; font-size: 1.55rem; } .match-scoreboard { gap: 16px; padding: 12px; } .match-wins { font-size: 2.2rem; } .match-status-text { font-size: 1.4rem; } .practice-hud { gap: 16px; } .timer { font-size: 2rem; } .leaderboard-tabs { flex-wrap: wrap; } .briefing-actions { flex-direction: column; } .dpad-btn, .dpad-center { width: 64px; height: 64px; } .arrow-sequence-duel .arrow-key { width: 50px; height: 50px; font-size: 1.35rem; } .duel-progress { width: 100%; } .practice-focus-shell, .match-focus-shell { padding-bottom: 96px; } #practice-dpad, #match-dpad { position: sticky; bottom: 12px; padding: 10px; border-radius: 20px; background: rgba(8, 11, 18, 0.92); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 18px 30px rgba(0,0,0,0.34); } } @media (max-width: 480px) { .mode-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .mode-card { padding: 14px 10px; } .mode-icon { font-size: 1.4rem; } .hero-stats { gap: 10px; } .practice-hud { gap: 10px; } .arrow-key { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 14px; } .dpad-btn { width: 56px; height: 56px; } .dpad-center { width: 56px; height: 56px; } .page-title { font-size: 1.3rem; } .match-wins { font-size: 1.8rem; } .match-status-text { font-size: 1.2rem; } .stratagem-icon-lg { width: 88px; height: 88px; } .status-pill { width: 100%; justify-content: space-between; } .login-box { padding: 32px 24px; } .arrow-sequence-hero { padding: 12px; min-height: 78px; } .arrow-sequence-duel .arrow-key { width: 44px; height: 44px; font-size: 1.1rem; } } /* ── Stratagem icons ─────────────────────────────────────────────────────── */ .stratagem-icon-wrap { display: flex; justify-content: center; align-items: center; margin-bottom: 14px; height: 130px; } .stratagem-icon-lg { width: 110px; height: 110px; object-fit: contain; opacity: 1; transition: transform 0.25s ease, opacity 0.2s ease; position: relative; } .stratagem-icon-lg.icon-complete { transform: scale(1.14); opacity: 1; } .stratagem-icon-lg.icon-wrong { animation: iconShake 0.35s ease; } .stratagem-icon-fallback { font-size: 3.5rem; opacity: 0.3; } .stratagem-icon-md { width: 52px; height: 52px; object-fit: contain; opacity: 1; } .stratagem-icon-sm { width: 22px; height: 22px; object-fit: contain; opacity: 0.9; vertical-align: middle; margin-right: 5px; } /* Icon shake animation */ @keyframes iconShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px) rotate(-3deg); } 40% { transform: translateX(5px) rotate(3deg); } 60% { transform: translateX(-4px) rotate(-2deg); } 80% { transform: translateX(4px) rotate(2deg); } } /* ── Stratagem queue (upcoming stratagems) ───────────────────────────────── */ .stratagem-queue { display: flex; align-items: flex-start; justify-content: center; gap: 16px; margin: 4px 0 12px; min-height: 72px; } .queue-item { display: flex; flex-direction: column; align-items: center; gap: 5px; opacity: 0.40; transition: opacity 0.2s; width: 72px; } .queue-item:first-child { opacity: 0.75; } .queue-item:nth-child(2) { opacity: 0.55; } .queue-icon { width: 44px; height: 44px; object-fit: contain; } .queue-icon-fallback { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--bg-surface2); border-radius: 8px; } .queue-label { font-size: 0.62rem; color: var(--text-muted); max-width: 72px; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; word-break: break-word; } /* ── Score popup ─────────────────────────────────────────────────────────── */ .score-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--accent); text-shadow: 0 0 20px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.8); pointer-events: none; z-index: 900; opacity: 0; letter-spacing: 0.05em; } .score-popup.show { animation: scoreFloat 0.9s ease-out forwards; } @keyframes scoreFloat { 0% { opacity: 1; transform: translate(-50%, -50%) scale(0.8); } 30% { opacity: 1; transform: translate(-50%, -70%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -120%) scale(0.9); } } /* ── Session summary modal ───────────────────────────────────────────────── */ .summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; } .summary-stat { background: var(--bg-surface2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 8px; text-align: center; } .summary-stat-val { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--accent); } .summary-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; } .summary-top-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border-dim); } .summary-top-item:last-child { border-bottom: none; } .summary-top-rank { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); width: 20px; flex-shrink: 0; } .summary-top-name { flex: 1; font-size: 0.9rem; } .summary-top-time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); } /* ── Arrow transition polish ─────────────────────────────────────────────── */ .arrow-key { transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease; } .arrow-key.active { transform: scale(1.12); } /* ── pw-display ──────────────────────────────────────────────────────────── */ .pw-display { margin-top: 10px; padding: 10px 12px; background: var(--bg-surface2); border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); word-break: break-all; } @media (max-width: 768px) { .summary-grid { grid-template-columns: repeat(2, 1fr); } .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-layout { grid-template-columns: 1fr; } .admin-activity-grid { grid-template-columns: 1fr; } .admin-users-header { align-items: stretch; flex-direction: column; } .admin-search { width: 100%; } .admin-user-row { flex-direction: column; align-items: stretch; } .admin-user-actions { justify-content: flex-start; } .stratagem-icon-lg { width: 88px; height: 88px; } .stratagem-queue { gap: 8px; } .summary-insights { gap: 6px; } }