/* 첫 화면 · 계약자 등록 */
.auth {
  min-height: calc(100 * var(--vh)); display: flex; justify-content: center; align-items: flex-start; padding: 24px 16px;
  background: linear-gradient(var(--shade-35), var(--shade-55)), url("/img/bg/login.jpg") center / cover fixed, var(--bg);
}
.auth-card {
  width: min(100%, 420px); background: rgb(var(--bg-2-rgb) / .94); border: 1px solid var(--line); padding: 28px 22px;
  display: grid; gap: 14px;
}
.logo { text-align: center; font-size: 34px; line-height: 1.15; color: var(--ink-strong); font-weight: 400; }
.logo em { font-style: normal; color: var(--amber); }
.logo-sub { text-align: center; color: var(--ink-dim); font-size: var(--fs-xs); letter-spacing: 2px; }
.auth-lead { text-align: center; font-size: var(--fs-sm); line-height: 1.75; color: var(--ink); }
.btn.discord { background: var(--discord); }
.sep { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: var(--fs-xs); }
.sep::before, .sep::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.recovery-code { text-align: center; font-size: 26px; letter-spacing: 3px; color: var(--amber); padding: 14px; border: 1px dashed var(--amber); user-select: all; overflow-wrap: anywhere; }

.create { min-height: calc(100 * var(--vh)); padding: 24px 16px; display: flex; justify-content: center; }
.create-card { width: min(100%, 880px); align-self: flex-start; }
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.bg-card {
  display: grid; gap: 4px; align-content: start; text-align: left; padding: 10px; min-width: 0;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.bg-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: var(--well); }
.bg-card.on { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.bg-tag { font-size: var(--fs-xs); color: var(--amber); letter-spacing: 1px; }
.bg-name { color: var(--ink-strong); }
.bg-desc { font-size: var(--fs-xs); color: var(--ink-dim); line-height: 1.5; }
@media (min-width: 901px) { .bg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
