/* Member portal pages (/login, /me, /leaderboard). Uses the colour tokens from noctis.css. */
.nav-member { color: var(--glow) !important; opacity: 1 !important; }

.signin { display: grid; gap: 1rem; max-width: 26rem; margin-top: 2rem; }
.signin .btn { justify-content: center; font-size: 1.02rem; }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 0 24px rgba(88,101,242,.4); }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(88,101,242,.6); }
.btn-steam { background: #171a21; color: var(--mist); box-shadow: inset 0 0 0 1px var(--vine); }
.btn-steam:hover { box-shadow: inset 0 0 0 1px var(--glow); color: var(--glow); }
.signin-note { color: var(--fern); font-size: .92rem; margin: .5rem 0 0; max-width: 60ch; }
.notice { max-width: 40rem; margin-top: 1.5rem; padding: .9rem 1.1rem; border-radius: 12px;
  background: rgba(232,149,60,.1); border: 1px solid rgba(232,149,60,.45); color: var(--mist); }

.who { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.who img { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 2px solid var(--glow); }
.who form { margin: 0 0 0 auto; }
.who button { font: 600 .9rem/1 var(--font-body); color: var(--fern); background: transparent; border: 1px solid var(--vine);
  border-radius: 999px; padding: .6rem 1rem; cursor: pointer; }
.who button:hover, .who button:focus-visible { color: var(--glow); border-color: var(--glow); outline: none; }

.card .stat-value { font: italic 800 2.4rem/1 var(--font-display); color: var(--mist); letter-spacing: .02em; }
.card .stat-value.ready { color: #6cc644; }
.stat-sub { color: var(--fern); font-size: .92rem; }

.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 1.5rem;
  background: var(--canopy); border: 1px solid var(--vine); border-radius: 14px; overflow: hidden; }
.board th, .board td { padding: .7rem 1rem; text-align: left; }
.board thead th { font: 500 .68rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fern); }
.board tbody tr + tr { border-top: 1px solid rgba(22,48,59,.6); }
.board td.num, .board th.num { text-align: right; }
.board .rank { color: var(--ember); font-weight: 600; width: 3.5rem; }
.board .plus { color: #6cc644; }
.board .minus { color: #e5484d; }
.board tr.me td { background: rgba(63,227,242,.08); }
.board .detail { color: var(--fern); font-size: .9rem; }
.table-scroll { overflow-x: auto; }

.kill-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 1.5rem 0 1rem; }
.kill-lists > div { background: var(--canopy); border: 1px solid var(--vine); border-radius: 14px; padding: 1rem 1.1rem; }
.kill-lists h3 { margin: 0 0 .6rem; font: 500 .68rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fern); }
.kill-lists ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-variant-numeric: tabular-nums; }
.kill-lists li { display: flex; justify-content: space-between; gap: 1rem; color: var(--mist); }
.kill-lists .num { color: var(--ember); font-weight: 600; }
.kill-lists h3 { display: flex; justify-content: space-between; }
.kill-lists .detail { color: var(--fern); margin: 0; font-size: .9rem; }
.kill-heading { margin: 2rem 0 0; color: var(--mist); }

.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }
.dot.on { background: #6cc644; box-shadow: 0 0 8px #6cc644; }
.dot.off { background: var(--fern); }
.dino-layout { display: grid; gap: 1.5rem; margin-top: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dino-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.dino-cards { grid-template-columns: 1fr 1fr; margin-top: 0; }
.dino-cards .card:last-child { grid-column: 1 / -1; }
.card .stat-value.small { font-size: 1.7rem; }
.vitals { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .5rem; }
.vitals li { display: grid; grid-template-columns: 4rem 1fr 3rem; align-items: center; gap: .6rem; color: var(--mist); }
.vitals .bar { height: .5rem; border-radius: 999px; background: rgba(22,48,59,.8); overflow: hidden; }
.vitals .bar i { display: block; height: 100%; background: var(--glow); border-radius: inherit; }
.vitals .num { text-align: right; color: var(--ember); font-weight: 600; font-variant-numeric: tabular-nums; }
.map { margin: 0; }
.map-frame { position: relative; border: 1px solid var(--vine); border-radius: 14px; overflow: hidden; background: var(--canopy); }
.map-frame img { display: block; width: 100%; height: auto; }
.map-pin { position: absolute; width: 1rem; height: 1rem; margin: -.5rem 0 0 -.5rem; border-radius: 50%;
  background: var(--ember); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(232,149,60,.35); }
.map-pin.live { animation: pin-pulse 1.6s ease-out infinite; }
@keyframes pin-pulse { 0% { box-shadow: 0 0 0 0 rgba(232,149,60,.7); } 100% { box-shadow: 0 0 0 16px rgba(232,149,60,0); } }
@media (prefers-reduced-motion: reduce) { .map-pin.live { animation: none; } }
.map figcaption { color: var(--fern); font-size: .9rem; margin-top: .5rem; }

/* Admin dashboard */
.admin-form { display: grid; gap: 1rem; max-width: 40rem; margin-top: 3rem; }
.admin-form h2 { margin: 1.5rem 0 0; }
.admin-form label { display: grid; gap: .4rem; color: var(--fern); font-size: .92rem; }
.admin-form input { font: 500 1rem/1.2 var(--font-body); color: var(--mist); background: var(--canopy); border: 1px solid var(--vine);
  border-radius: 10px; padding: .7rem .85rem; width: 100%; box-sizing: border-box; }
.admin-form input:focus { outline: none; border-color: var(--glow); }
.admin-form .btn, .card form .btn { justify-self: start; border: 0; cursor: pointer; font: 600 1rem/1 var(--font-body); }
.admin-form code, .lede code { font: 500 .85rem var(--font-mono); color: var(--ember); word-break: break-all; }
.notice-ok { background: rgba(108,198,68,.1); border-color: rgba(108,198,68,.45); }
.board .prime { color: var(--ember); font-size: .8rem; font-weight: 600; margin-left: .3rem; }
@media (max-width: 640px) { .board .hide-sm { display: none; } .board td { overflow-wrap: anywhere; } .board { font-size: .92rem; } .board th, .board td { padding: .6rem .7rem; } .board .prime { display: block; margin: .2rem 0 0; } }
