/* watch.wrentv.com additions on top of the server's app.css. */
.brand a { display: block; }
.auth .actions { margin-top: 18px; }
.auth h2 { margin-bottom: 8px; }
.auth p + p { margin-top: 10px; }
.auth code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: #f7f1e814; padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.auth a:not(.btn) { color: var(--accent); cursor: pointer; }
.auth .switch + .switch { margin-top: 8px; }
.auth .fine { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; text-align: center; }
.connecting { display: grid; justify-items: center; gap: 14px; padding: 10px 0; text-align: center; }
.clamp3 { margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.srv-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* server picker */
.picker { min-height: 100vh; }
.picker-top { display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-bottom: 1px solid #ffffff0a; }
.picker-top img { height: 34px; width: auto; display: block; }
.picker-top .who { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.picker-main { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; animation: fade-up .35s var(--ease) both; }
.picker-main h1 { font-size: 30px; margin-bottom: 24px; }
.srv-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 10px; }
.srv-list { display: grid; gap: 10px; }
.srv { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .2s var(--ease); }
.srv:hover { border-color: var(--accent); transform: translateY(-1px); }
.srv-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.srv-icon svg { width: 22px; height: 22px; }
.srv-main { flex: 1; min-width: 0; }
.srv-name { font-weight: 650; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6b6570; }
.dot.on { color: var(--ok); } .dot.on::before { background: var(--ok); }
.warn { font-size: 11px; font-weight: 700; color: #f5b14a; border: 1px solid #f5b14a55; border-radius: 4px; padding: 1px 6px; }

@media (max-width: 620px) {
  .picker-top { padding: 12px 16px; }
  .picker-top .who { display: none; }
  .picker-top .btn { margin-left: auto; }
  .picker-main { padding: 28px 16px 60px; }
  .srv { flex-wrap: wrap; }
}
