/* Elves additions to Anchorr's dashboard (app.css): quests, spots, the action panel, checking work,
   the post form, the wallet picker and a faint snowfall behind the cards. Loaded after app.css. */
:root { --red: #ff6b6b; --gold: #f2c14e; --ice: #9cc3f5; }
body:not(.on-landing) { background:
  radial-gradient(90% 420px at 50% -160px, rgba(120,150,220,.2), rgba(92,128,196,0) 70%), var(--bg); background-repeat: no-repeat; }
.app { position: relative; }
.app > :not(.app-snow) { position: relative; z-index: 1; }
.app-snow { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.bar-brand span { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.sbx.wait::before { background: #8a8f9c; box-shadow: none; }
/* quest avatars: a plain dark tile with the kind's first letter */
.av-k { background: #1f1f22; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: rgba(255,255,255,.78); border-radius: 11px; }
.av-k b { text-shadow: none; }
/* messages beside buttons */
.msg { display: block; min-height: 18px; font-size: 12px; color: var(--mute); margin-top: 10px; text-align: center; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }
/* what to do */
.rules { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); white-space: pre-line; }
/* spots */
.spotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-top: 16px; }
.spot { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 12px; color: var(--mute); }
.spot b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.spot b i { width: 7px; height: 7px; border-radius: 50%; background: #4a4d57; flex: none; }
.spot.free b i { background: var(--green); }
.spot.held b i { background: var(--gold); }
.spot.review b i, .spot.stale b i { background: var(--ice); }
.spot.paid b i { background: var(--green); box-shadow: 0 0 0 3px rgba(134,239,154,.18); }
.spot.me { border-color: rgba(255,255,255,.35); }
.pips { display: inline-flex; gap: 3px; vertical-align: middle; align-items: center; }
.pips i { width: 6px; height: 14px; border-radius: 3px; background: #2a2a2f; }
.pips i.on { background: var(--gold); } .pips i.chk { background: var(--ice); } .pips i.paid { background: var(--green); }
.pips em { font-style: normal; font-size: 11px; color: var(--dim); margin-left: 4px; }
/* action panel */
.clock { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 12px 0; }
.clock small { display: block; font-size: 12px; color: var(--dim); }
.clock .n { font-size: 40px; font-weight: 300; margin: 6px 0; }
.clock .n.low { color: var(--red); }
.clock span { font-size: 12px; color: var(--mute); }
.panel-p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--mute); }
.panel-p b { color: var(--text); font-weight: 500; }
.stack { display: grid; gap: 10px; }
.stack .tin { height: 46px; font-size: 14px; }
.cta.ghost { background: none; border: 1px solid var(--line-2); color: var(--text); }
.cta.ghost:hover { background: rgba(255,255,255,.06); }
.cta.small { height: 40px; font-size: 13px; }
.inline2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
select.tin { appearance: none; cursor: pointer; }
/* check work */
.chk-item { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 10px; }
.chk-item:first-child { border-top: 0; padding-top: 4px; }
.chk-item .who { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--mute); }
.chk-item .who b { color: var(--text); font-weight: 500; }
.chk-item a.proof { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; word-break: break-all; }
.chk-item .note-q { font-size: 12.5px; color: var(--mute); }
.chk-item .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.embed { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.embed iframe { width: 100%; height: 100%; border: 0; }
/* post form */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--mute); font-size: 12.5px; cursor: pointer; transition: background .3s var(--spring), color .2s, border-color .2s; }
.seg button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0b0b0c; font-weight: 500; }
.seg button:hover:not([aria-pressed="true"]) { color: var(--text); border-color: rgba(255,255,255,.22); }
.form .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.count { font-size: 11.5px; color: var(--dim); margin-top: 6px; }
textarea.tin.big { height: 170px; }
.idea { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.idea:last-child { border-bottom: 0; }
.idea .t { flex: 1; min-width: 0; }
.idea .t b { display: block; font-size: 13px; font-weight: 500; }
.idea .t small { font-size: 11.5px; color: var(--dim); }
.idea .v { font-size: 13px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tag-x { font-size: 10.5px; color: var(--dim); margin-left: 6px; font-weight: 400; }
/* wallet picker (Wallet Standard) */
.picker { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(0,0,0,.6); padding: 16px; }
.picker__box { width: min(400px, 100%); background: #151517; border: 1px solid var(--line-2); border-radius: 22px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.picker__box h2 { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.picker__list { display: grid; gap: 6px; }
.picker__list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; font-size: 14px; color: var(--text); text-align: left; transition: background .2s; }
.picker__list button:hover { background: var(--panel-3); }
.picker__list img { width: 28px; height: 28px; border-radius: 8px; }
.picker__close { margin-top: 12px; width: 100%; height: 40px; border-radius: 999px; background: none; border: 1px solid var(--line-2); color: var(--mute); cursor: pointer; font: inherit; }
.picker__close:hover { color: var(--text); }
@media (max-width: 760px) { .form .three { grid-template-columns: minmax(0, 1fr); } .chk-item .row2 { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .app-snow { display: none; } }
