/* Quests, game night, profiles and sharing */
.today { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.today .panel { display: flex; flex-direction: column; gap: 10px; }
.today .panel h2 { margin: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.meter { height: 8px; background: var(--input); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); border-radius: 4px; transition: width .4s; }
.meter.xp { height: 14px; border-radius: 7px; } .meter.xp i { background: linear-gradient(90deg, #ffb347, #ffd34d); }
.quest { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border-radius: 10px; padding: 12px; }
.quest.done { box-shadow: inset 0 0 0 2px #ffc94a88; }
.quest-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rewards { display: flex; gap: 6px; flex-wrap: wrap; }
.reward { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--input); color: var(--dim); }
.reward.got { background: #3a3014; color: var(--gold); }
.big-line { font-size: 24px; font-weight: 800; }
.invite-row { display: flex; gap: 8px; flex-wrap: wrap; } .invite-row .input { flex: 1; min-width: 180px; }
.invited { background: #14432a; color: #b9ffd0; padding: 10px; border-radius: 8px; font-weight: 700; }

.night { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.night-timer { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; } .night-timer.live { color: var(--gold); }
.night-play { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.night-chips { font-size: 28px; font-weight: 800; }
.night-result { min-height: 22px; font-weight: 800; }
.night-bet { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .night-bet .input { width: 130px; }
.night-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.btn.shot { flex-direction: column; gap: 0; padding: 14px 4px; background: #3a2260; } .btn.shot b { font-size: 20px; } .btn.shot small { color: #cdbbee; }

.name-btn { padding: 0; text-align: left; } .name-btn:hover .tag-name { text-decoration: underline; }
.modal.profile { max-width: 640px; }
.profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; } .profile-head h2 { margin: 0; }
.profile-av { width: 64px; height: 64px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 32px; font-weight: 800; flex-shrink: 0; }
.items { display: flex; flex-wrap: wrap; gap: 8px; }
.item { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: var(--panel-2); border: 2px solid #8a9aa6; font-size: 12px; }
.item span { font-size: 20px; } .item.rare { border-color: #3d9bff; } .item.epic { border-color: #b36bff; } .item.legendary { border-color: var(--gold); box-shadow: 0 0 14px #ffc94a88; }

.share-chip { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 125; background: var(--gold); color: #2a1d00; font-weight: 800; padding: 11px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.45); white-space: nowrap; animation: pop .3s; }
.modal.share { max-width: 620px; } .share-canvas { width: 100%; height: auto; border-radius: 12px; display: block; }
.modal.share .modal-actions { flex-wrap: wrap; }
.share-mini { margin-left: 6px; padding: 0 4px; }
.msg.win-card { background: linear-gradient(120deg, #14432a, #3a3014); border: 1px solid #ffc94a88; }
.wc-multi { font-size: 24px; font-weight: 800; color: var(--green); }

/* level rewards */
.nc-ember { color: #ff7a1a; text-shadow: 0 0 10px #ff4e00aa; }
.nc-void { color: #d7b6ff; text-shadow: 0 0 3px #000, 0 0 12px #7b2cbf, 0 0 18px #7b2cbf; }
.wallet-galaxy { background: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 2px), radial-gradient(circle at 75% 65%, #fff 0 1px, transparent 2px), linear-gradient(120deg, #120a3a, #4a1c7a, #0b2a5a); box-shadow: 0 0 0 2px #8a6bff, 0 0 16px #8a6bff88; }

@media (max-width: 1000px) { .today { grid-template-columns: minmax(0, 1fr); } }
