/* Account pages on app.playnuthouse.com: small forms in the site's look. */
.account { max-width: 460px; margin: 0 auto; padding: 48px 0 80px; }
.account.wide { max-width: 860px; }
.account h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; }
.account .lead { margin: 0 0 24px; }
.card { background: var(--card, #fff); border: 1px solid var(--line, #e3e9df); border-radius: 18px; padding: 24px; box-shadow: 0 6px 24px rgba(20, 50, 20, .06); }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > span { font-weight: 600; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=password] {
  font: inherit; padding: 11px 13px; border: 2px solid var(--line, #d9e2d4); border-radius: 12px; background: #fff; color: inherit;
}
.field input:focus { outline: none; border-color: var(--brand, #276b2a); box-shadow: 0 0 0 4px rgba(39, 107, 42, .15); }
.field .hint { font-size: .85rem; color: var(--muted, #6b7a6c); }
.field .err { font-size: .9rem; color: #b42318; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; font-size: .95rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 600; }
.flash.ok { background: #e6f4e7; color: #1f5a22; }
.flash.error { background: #fdecea; color: #8a1c13; }
.flash.info { background: #eaf1fb; color: #1d3f73; }
.account .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.account .small { font-size: .9rem; color: var(--muted, #6b7a6c); }
.account .btn-danger { background: #b42318; color: #fff; border-color: #b42318; }
.games-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.games-table th, .games-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line, #e3e9df); vertical-align: middle; }
.games-table .vis { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eef2ea; }
.games-table .vis.public { background: #e6f4e7; } .games-table .vis.unlisted { background: #fff4d6; }
.inline-form { display: inline; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand, #276b2a); text-decoration: underline; cursor: pointer; }
