/* Global reset */ * { box-sizing: border-box; } html { font-size: 16px; } body { margin: 0; padding: 0; background: #f8f9fa; color: #1a1a1a; font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; } /* ---- Navigation ---- */ #topNav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; height: 54px; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 1px 3px rgba(0,0,0,0.06); } .nav-brand { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin-right: 12px; white-space: nowrap; } .nav-tabs { display: flex; gap: 4px; } .tab-btn { background: transparent; border: none; color: #666; font-size: 0.9rem; font-weight: 500; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: background 0.15s, color 0.15s; width: auto; height: auto; display: inline-flex; } .tab-btn:hover { background: #f0f0f0; color: #333; } .tab-btn.active { background: #e8e8e8; color: #111; } .nav-links { display: flex; gap: 8px; } .nav-badge { display: inline-flex; align-items: center; gap: 5px; color: #444; text-decoration: none; font-family: inherit; font-size: 0.82rem; font-weight: 500; padding: 5px 12px; border-radius: 6px; border: 1px solid #ddd; background: #f8f9fa; cursor: pointer; transition: background 0.15s, border-color 0.15s; } .nav-badge:hover { background: #eef0f3; border-color: #bbb; } .nav-icon { height: 16px; width: auto; } /* ---- Tab panels ---- */ main { padding: 24px 32px; } .tab-panel { display: none; } .tab-panel.active { display: block; } .tab-subtitle { color: #666; margin-top: 0; margin-bottom: 20px; font-size: 0.95rem; } /* ---- About / Overview page ---- */ .about-content { max-width: 900px; margin: 0 auto; } .about-content h2 { text-align: center; margin-top: 0; font-size: 1.5rem; color: #1a1a1a; } .venue-tag { font-size: 0.75em; font-weight: 600; color: #2563b1; white-space: nowrap; } .about-badges { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; } .about-section { margin-bottom: 32px; } .about-section h3 { text-align: center; font-size: 1.15rem; margin-bottom: 8px; color: #333; } .about-section p, .about-section li { line-height: 1.7; color: #444; } .about-section ul { padding-left: 20px; } .about-section a { color: #2563b1; } .tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; } .tier-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 16px; } .tier-card h4 { margin: 0 0 6px; font-size: 0.95rem; color: #1a1a1a; } .tier-card p { margin: 0; font-size: 0.9rem; color: #555; } .game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; } .game-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 14px; } .game-card strong { color: #1a1a1a; } .game-card p { margin: 4px 0 0; font-size: 0.85rem; color: #555; } .overview-img { display: block; width: 100%; max-width: 900px; height: auto; border-radius: 8px; border: 1px solid #ddd; margin: 12px auto; } .overview-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 12px auto; } .overview-table th, .overview-table td { padding: 8px 12px; border: 1px solid #ddd; text-align: left; } .overview-table th { background: #f0f2f5; font-weight: 600; color: #333; } .overview-table td { color: #444; } .citation-block { background: #f0f2f5; padding: 16px; border-radius: 8px; border: 1px solid #ddd; font-size: 0.85rem; color: #333; overflow-x: auto; white-space: pre; } /* ---- BibTeX button & modal ---- */ .bibtex-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 200; justify-content: center; align-items: center; } .bibtex-modal.open { display: flex; } .bibtex-modal-content { background: #fff; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.18); padding: 24px; max-width: 640px; width: 90%; } .bibtex-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; font-size: 1rem; color: #1a1a1a; } .bibtex-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; padding: 0 4px; line-height: 1; } .bibtex-close:hover { color: #111; } .bibtex-code { background: #f0f2f5; padding: 16px; border-radius: 8px; border: 1px solid #ddd; font-size: 0.82rem; color: #333; overflow-x: auto; white-space: pre; margin: 0 0 12px; } .bibtex-copy-btn { display: block; margin: 0 auto; padding: 8px 20px; background: #2563b1; color: #fff; border: none; border-radius: 6px; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background 0.15s; } .bibtex-copy-btn:hover { background: #1d4f91; } /* ---- Responsive ---- */ @media (max-width: 700px) { #topNav { flex-wrap: wrap; height: auto; padding: 10px 16px; } .nav-tabs { width: 100%; justify-content: center; } .nav-links { width: 100%; justify-content: center; } main { padding: 16px; } }