/* EB IT Radio listener accounts (0.5.2): shared by the website, the listener app and the EB IT app.
   Uses each one's own colours (--card, --line, --muted, --accent…) where it has them. */
.acct { display: grid; gap: 16px; }
.acct-card { background: var(--card, #10263c); border: 1px solid var(--line, #1f4366); border-radius: var(--radius, 16px); padding: 18px 20px; }
.acct-card h2 { margin: 0 0 10px; font-size: 1.2rem; }
.acct-card h3 { margin: 14px 0 6px; font-size: 1rem; }
.acct .field { display: grid; gap: 4px; margin: 0 0 10px; }
.acct .field input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #1f4366); background: var(--bg2, #0b1c2e); color: inherit; width: 100%; max-width: 420px; }
.acct .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.acct .row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.acct .row.wrap { flex-wrap: wrap; }
.acct .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.acct .msg { padding: 8px 12px; border-radius: 10px; margin: 8px 0; }
.acct .msg.ok { background: rgba(60, 207, 142, .15); border: 1px solid var(--ok, #3ccf8e); }
.acct .msg.bad { background: rgba(255, 71, 87, .12); border: 1px solid var(--live, #ff4757); }
.acct .muted { color: var(--muted, #a3b8cf); }
.acct .small { font-size: .88rem; }
.acct .linklike { background: none; border: 0; color: var(--muted, #a3b8cf); cursor: pointer; padding: 2px 6px; font: inherit; }
.acct .linklike:hover { color: var(--live, #ff4757); }
.acct-or { display: flex; align-items: center; gap: 10px; color: var(--muted, #a3b8cf); margin: 12px 0; max-width: 420px; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; border-top: 1px solid var(--line, #1f4366); }
.acct-discord { background: #5865f2 !important; color: #fff !important; }
.acct-code { margin-top: 8px; }
.acct-points { font-size: 1.05rem; margin: 4px 0; }
.acct-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.acct-badges li { display: grid; gap: 2px; text-align: center; padding: 12px 8px; border-radius: 12px; border: 1px dashed var(--line, #1f4366); opacity: .55; }
.acct-badges li.on { opacity: 1; border-style: solid; border-color: var(--accent, #3d9bff); background: rgba(61, 155, 255, .08); }
.acct-badge-emoji { font-size: 1.9rem; line-height: 1.1; }
.acct-favs ul, .acct-list { list-style: none; margin: 0; padding: 0; }
.acct-favs li, .acct-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line, #1f4366); }
.acct-list li { display: block; }
.acct-favs li:last-child, .acct-list li:last-child { border-bottom: 0; }
.acct-board { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.acct-board li { display: grid; grid-template-columns: 2.2em 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line, #1f4366); }
.acct-board li:last-child { border-bottom: 0; }
.acct-place { font-weight: 800; color: var(--accent, #3d9bff); text-align: center; }
.acct-emojis { letter-spacing: 1px; }
.acct-delete summary { cursor: pointer; color: var(--muted, #a3b8cf); margin-top: 12px; }
.acct .btn.danger { background: var(--live, #ff4757); color: #fff; }
.acct .btn.ghost { background: transparent; border: 1px solid var(--line, #1f4366); color: inherit; }
/* ☆ Save buttons, wherever they are. */
.acct-fav { font: inherit; font-size: .9rem; border: 1px solid var(--line, #1f4366); background: transparent; color: inherit; border-radius: 999px; padding: 5px 12px; cursor: pointer; white-space: nowrap; }
.acct-fav[aria-pressed="true"] { border-color: #f5b942; color: #f5b942; }
.acct-fav:disabled { opacity: .6; }
.acct-toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: #10263c; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 9999; }
@media (max-width: 520px) { .acct-card { padding: 14px; } .acct-board li { grid-template-columns: 2em 1fr auto; } .acct-board .acct-emojis { display: none; } }
/* 0.5.3: the leaderboard's tabs and hall of fame, badges still to earn, song notifications */
.acct-tabs { display: flex; gap: 6px; margin: 0 0 10px; flex-wrap: wrap; }
.acct-tabs button { font: inherit; font-size: .9rem; border: 1px solid var(--line, #1f4366); background: transparent; color: inherit; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.acct-tabs button[aria-pressed="true"] { background: var(--accent, #3d9bff); border-color: var(--accent, #3d9bff); color: #fff; }
.acct-fame { margin-top: 12px; border-top: 1px solid var(--line, #1f4366); padding-top: 8px; }
.acct-fame p { margin: 4px 0; }
.acct-more-badges { margin-top: 12px; }
.acct-more-badges summary { cursor: pointer; margin-bottom: 10px; color: var(--muted, #a3b8cf); }
.acct-song-alerts { margin-top: 12px; }
/* v0.5.5: Station star, challenges, prize, ratings, comments */
.acct-star { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 200, 60, .12); border: 1px solid rgba(255, 200, 60, .45); }
.acct-warn { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 120, 80, .12); border: 1px solid rgba(255, 120, 80, .5); }
.acct-prize { margin: 8px 0 0; }
.acct-challenges { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-challenges li { padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line, #1f4366); }
.acct-challenges li.on { border-style: solid; border-color: var(--accent, #3d9bff); background: rgba(61, 155, 255, .08); }
.acct-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.acct-rate-stars button { background: none; border: 0; padding: 0 2px; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted, #a3b8cf); opacity: .5; }
.acct-rate-stars button.on { color: #f5b301; opacity: 1; }
.acct-rate-stars button.mine { text-shadow: 0 0 6px rgba(245, 179, 1, .6); }
.acct-rate-stars button:focus-visible { outline: 2px solid var(--accent, #3d9bff); border-radius: 4px; }
.acct-comments { margin-top: 16px; }
.acct-comment { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #1f4366); margin-bottom: 8px; }
.acct-comment p { margin: 0 0 4px; white-space: pre-wrap; }
.acct-comment-form textarea { width: 100%; box-sizing: border-box; padding: 10px; border-radius: 10px; border: 1px solid var(--line, #1f4366); background: transparent; color: inherit; font: inherit; }
.acct-comment-form .row { margin-top: 8px; }

/* v0.6.15: "your dedication is on the wall" */
.acct-approved { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); width: min(92vw, 420px);
  background: var(--card, #16304b); color: var(--text, #eef4fb); border: 1px solid var(--ok, #3ccf8e); border-radius: 14px; padding: 12px 40px 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.acct-approved strong { display: block; font-size: 1rem; }
.acct-approved p { margin: 4px 0 6px; font-size: .92rem; }
.acct-approved a { font-weight: 700; }
.acct-approved-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; }
