:root {
  --bg: #071015;
  --panel: #101923;
  --panel-2: #162331;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f9fb;
  --soft: #dce7ed;
  --muted: #a9b6c2;
  --cyan: #28d8d0;
  --amber: #f5b84b;
  --lime: #a3e635;
  --rose: #ff6b8a;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px 14px; color: var(--bg); background: var(--text); border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
.account-header {
  width: min(1040px, calc(100% - 32px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}
.account-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 850; }
.account-brand img { width: 44px; height: 44px; padding: 4px; object-fit: contain; border-radius: var(--radius); background: #fff; }
.account-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.account-main { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 72px; }
.account-intro { margin-bottom: 28px; }
.kicker { margin: 0 0 10px; color: var(--cyan); font-size: 13px; font-weight: 900; }
h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
h2 { margin: 0 0 22px; font-size: 24px; line-height: 1.35; }
.account-intro > p:last-child { max-width: 620px; margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.account-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.account-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: var(--soft); font-size: 14px; font-weight: 800; }
label small { color: var(--muted); font-size: 12px; font-weight: 600; }
input { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--bg); outline: none; }
input:focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(40,216,208,.14); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 850; text-decoration: none; cursor: pointer; }
.button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button.primary { color: var(--bg); background: linear-gradient(135deg, var(--cyan), var(--amber)); }
.button.secondary { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.07); }
.account-form .button { width: 100%; margin-top: 4px; }
.notice { margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); line-height: 1.6; }
.notice.success { color: var(--lime); }
.notice.error { color: var(--rose); }
.member-state { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.member-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.member-details div { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.member-details dt { margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
.member-details dd { margin: 0; color: var(--text); font-weight: 850; }
.status { display: inline-flex; padding: 5px 8px; border-radius: var(--radius); color: var(--bg); font-size: 12px; font-weight: 900; }
.status.pending { background: var(--amber); }
.status.approved { background: var(--lime); }
.status.suspended { color: var(--text); background: var(--rose); }
.state-copy { margin: 18px 0 0; color: var(--soft); line-height: 1.7; }
.account-actions { display: grid; gap: 10px; min-width: 160px; }
.account-actions form, .account-actions .button { width: 100%; }
.admin-entry { margin: 24px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.admin-entry a { color: var(--cyan); font-weight: 850; }
@media (max-width: 760px) {
  .account-header { min-height: 68px; }
  .account-brand small { display: none; }
  .account-main { padding-top: 36px; }
  .account-grid, .member-state, .member-details { grid-template-columns: 1fr; }
  .account-panel { padding: 20px; }
  .account-actions { width: 100%; }
}
