:root {
  --cream: #fff7e8;
  --ink: #4a3a22;
  --accent: #ffd76a;
  --accent-deep: #f0b429;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }

h1 { font-size: 28px; margin: 0 0 20px; }

.card {
  background: var(--paper);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  margin-bottom: 16px;
}

label { display: block; font-weight: 700; margin: 14px 0 6px; }

input {
  width: 100%;
  padding: 14px;
  font-size: 20px;
  border: 2px solid #e6d9c0;
  border-radius: 10px;
  font-family: inherit;
}

input:focus { outline: 3px solid var(--accent); border-color: var(--accent-deep); }

button {
  width: 100%;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  color: var(--ink);
  background: var(--accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 16px;
}

button:hover { background: var(--accent-deep); }
button:disabled { background: #ddd; cursor: not-allowed; }

/* 押しても先に進まない方のボタン（ログアウト・もどる）。
   色を分けるだけで、大きさは同じにする（押しにくくしない）。 */
button.sub { background: var(--paper); border: 2px solid #e6d9c0; }
button.sub:hover { background: #f6efe2; }

.error {
  background: #ffe8e6;
  color: #a33;
  border-radius: 10px;
  padding: 12px;
  margin-top: 14px;
  font-weight: 700;
}

.error:empty { display: none; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs button { margin: 0; background: var(--paper); }
.tabs button[aria-selected="true"] { background: var(--accent); }

.points {
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 16px;
  font-weight: 700;
  display: inline-block;
}
