/* aceofpool.com only: page base (what claude.ai's artifact frame supplies) and the sign-in panel */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; font: 14px/1.4 system-ui, sans-serif; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.auth-modal {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
  background: rgba(5, 8, 7, .78); backdrop-filter: blur(3px);
}
.auth-card { max-width: 420px; max-height: none; overflow: visible; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.auth-form label.check { flex-direction: row; color: #cfcabd; }
.auth-form input:not([type="checkbox"]) {
  font: inherit; font-size: 15px; color: var(--text); background: #0d1210; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px;
}
.auth-form input:focus-visible { outline: 2px solid var(--chalk); outline-offset: 1px; }
.auth-form .hint { font-size: 12px; color: var(--muted); }
.auth-form p { margin: 0; line-height: 1.5; color: #cfcabd; }
.auth-switch { font-size: 13px; color: var(--muted) !important; text-align: center; }
.link { background: none; border: 0; padding: 0; color: var(--chalk); text-decoration: underline; cursor: pointer; font: inherit; }
.auth-error { margin: 0; font-size: 13px; color: var(--foul) !important; }
