/* NightGame — Défis */
.hidden { display: none !important; }
.defis-main { max-width: 800px; margin: 0 auto; padding: 2rem 1.25rem 4rem; position: relative; z-index: 2; }
.defis-title { font-family: "Orbitron", sans-serif; font-size: 2.2rem; text-align: center; margin-bottom: 0.5rem; }
.defis-sub { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.defis-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.defis-tab { padding: 0.6rem 1.2rem; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--text-muted); cursor: pointer; font-weight: 600; transition: all 0.2s ease; }
.defis-tab:hover { color: var(--text); }
.defis-tab.active { background: linear-gradient(90deg, var(--violet-deep), var(--violet)); color: #fff; border-color: var(--violet); box-shadow: 0 0 16px rgba(124, 92, 255, 0.4); }
.defis-status { text-align: center; color: var(--cyan); font-family: "Orbitron", sans-serif; font-size: 0.9rem; margin-bottom: 1.25rem; }
.defis-list { display: flex; flex-direction: column; gap: 0.85rem; }
.defis-empty { text-align: center; color: var(--text-muted); padding: 2rem 0; }
.defis-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px; padding: 1.1rem 1.25rem; }
.defis-card.done { opacity: 0.55; }
.defis-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.defis-card-title { font-weight: 700; font-size: 1.05rem; }
.defis-done { color: #2ecc71; font-size: 0.85rem; }
.defis-card-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.defis-progress { height: 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border); overflow: hidden; margin-bottom: 0.3rem; }
.defis-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width 0.5s ease; }
.defis-progress-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.defis-card.ready { border-color: rgba(56, 225, 255, 0.5); box-shadow: 0 0 16px rgba(56, 225, 255, 0.15); }
.defis-card.ready .defis-progress-fill { background: linear-gradient(90deg, #2ecc71, #38e1ff); }
.defis-rewards { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.defis-reward { font-size: 0.85rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--text); }
.defis-reward-item { background: rgba(255, 184, 108, 0.15); color: #ffb86c; border: 1px solid rgba(255, 184, 108, 0.35); }
.defis-claim { font-size: 0.9rem; padding: 0.5rem 1.1rem; }
.defis-guest { text-align: center; color: var(--text-muted); padding: 2rem 0; }
.defis-guest p { margin-bottom: 1rem; }
html.mode-phone .defis-tab { flex: 1; padding: 0.55rem 0.7rem; font-size: 0.85rem; }
