:root {
      --bg: #0a0a0a;
      --card: #141414;
      --border: #2a2a2a;
      --text: #f5f5f5;
      --muted: #a3a3a3;
      --accent: #8B2500;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      margin: 0;
    }
    .auth-page-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      padding: 24px 16px;
    }
    .auth-announcements-host[hidden] { display: none !important; }
    .auth-announcements-host {
      width: min(400px, 92vw);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .auth-announcement {
      border: 1px solid #854d0e;
      background: rgba(180, 83, 9, 0.14);
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 0.88rem;
      line-height: 1.45;
      color: #fef3c7;
    }
    .auth-announcement-title {
      font-weight: 600;
      margin-bottom: 6px;
      color: #fde68a;
    }
    .auth-announcement-body { word-break: break-word; }
    .auth-announcement-body a { color: #fde68a; text-decoration: underline; text-underline-offset: 2px; }
    .auth-announcement-body a:hover { color: #fff; }
    .auth-announcement-body strong { font-weight: 700; }
    .auth-announcement-body em { font-style: italic; }
    .card {
      width: min(400px, 92vw);
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 28px;
    }
    h1 { font-size: 1.25rem; margin-bottom: 4px; }
    .sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; }
    label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
    input {
      width: 100%;
      padding: 10px 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: #0f0f0f;
      color: var(--text);
      margin-bottom: 14px;
    }
    .pass-row { margin-bottom: 14px; }
    .pass-row input { margin-bottom: 0; }
    .pass-field {
      position: relative;
      width: 100%;
    }
    .pass-field input {
      width: 100%;
      padding: 10px 44px 10px 12px;
    }
    button[type="submit"] {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 8px;
      background: var(--accent);
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      margin-top: 6px;
    }
    button[type="submit"]:hover { filter: brightness(1.08); }
    .btn-show-pass {
      position: absolute;
      right: 2px;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: none;
      border-radius: 6px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-family: inherit;
    }
    .btn-show-pass:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .btn-show-pass .icon-eye-off { display: none; }
    .btn-show-pass.is-revealed .icon-eye { display: none; }
    .btn-show-pass.is-revealed .icon-eye-off { display: block; }
    .err { color: #f87171; font-size: 0.85rem; margin-top: 10px; display: none; }
    .links { margin-top: 18px; font-size: 0.85rem; color: var(--muted); text-align: center; }
    a { color: #fca5a5; }
