/* styles.css's .button rule sets display: inline-flex unconditionally, which
   (being an author stylesheet) beats the browser's default [hidden] {
   display: none } rule once an element has both class="button" and the
   hidden attribute -- restore correct hidden behavior here. */
[hidden] { display: none !important; }
.admin-wrap { max-width: 900px; margin: 0 auto; padding: 50px clamp(20px, 5vw, 40px) 100px; display: flex; flex-direction: column; gap: 22px; }
.admin-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.admin-card h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.01em; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.admin-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.button.danger { background: rgba(255,77,104,.12); border-color: rgba(255,77,104,.4); color: var(--danger); }
.button.danger:hover:not(:disabled) { background: rgba(255,77,104,.2); }
.admin-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-row:last-child { border-bottom: 0; }
.admin-row .amount { color: var(--green); font-weight: 800; }
.status-pill { font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.status-pill.applied, .status-pill.completed { background: rgba(83,252,24,.14); color: var(--green); }
.status-pill.rejected, .status-pill.cancelled { background: rgba(255,77,104,.14); color: var(--danger); }
.status-pill.no_participants, .status-pill.active { background: rgba(255,211,90,.14); color: var(--gold); }
.chest-summary { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 8px; }
.chest-summary div b { display: block; font-size: 20px; color: var(--text); }
.chest-summary div span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.countdown-live { color: var(--gold); font-weight: 900; }
code.token-box { display: block; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 12px; word-break: break-all; margin-top: 10px; color: var(--muted); }

.give-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.give-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.give-form input[type="text"], .give-form input[type="number"] {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; color: var(--text); font-size: 14px;
}
.give-form input[type="number"] { flex: 0 0 130px; width: 130px; }
.give-form input:focus { outline: none; border-color: rgba(83,252,24,.5); }
.give-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  max-height: 220px; overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.give-suggestions button {
  display: flex; justify-content: space-between; width: 100%; padding: 10px 14px;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
  font-size: 13px; text-align: left; cursor: pointer;
}
.give-suggestions button:last-child { border-bottom: 0; }
.give-suggestions button:hover, .give-suggestions button.active { background: var(--panel-2); }
.give-suggestions .points { color: var(--green); font-weight: 700; }
.give-status { margin-top: 12px; min-height: 20px; }
.give-status.ok { color: var(--green); }
.give-status.error { color: var(--danger); }
