
.create-body { height: auto; overflow-y: auto; }

.create-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  min-height: 100vh;
}

body.create-body.has-covers .board-cover-bg { opacity: 1; }

.create-topbar { margin-bottom: 30px; }

.create-topbar-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.create-topbar-nav a:hover { color: var(--accent-text); }

.create-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
}

.create-pitch {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.reveal-item { opacity: 0; }

.create-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.2em);
}

.create-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
  max-width: 22ch;
}

.create-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}

.create-lede strong { color: var(--accent-text); }

.create-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.create-proof[hidden] { display: none; }

.create-proof-avatars {
  display: flex;
}

.create-proof-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  background: var(--surface-2);
  margin-left: -10px;
}
.create-proof-avatars img:first-child { margin-left: 0; }

.create-proof-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.create-proof-text strong { color: var(--accent-text); font-weight: 600; }

.create-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.create-steps li { display: flex; gap: 16px; align-items: flex-start; }

.create-step-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.create-step-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.create-step-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}

.create-panel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.create-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: var(--surface);
  background-image: var(--grain);
  background-blend-mode: overlay;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px;
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.55);
}
.create-form[hidden] { display: none; }

.create-form-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.create-form-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: -26px;
  width: 1px;
  background: var(--border-soft);
}

.create-form-step .create-step-num { position: relative; z-index: 1; background: color-mix(in oklab, var(--surface) 76%, var(--accent) 24%); }

.create-form-step-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.create-form-step-body .create-step-title { margin: 0; font-size: 15px; }
.create-form-step-body .create-step-hint { margin: -6px 0 2px; font-size: 12.5px; max-width: none; }

.create-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 0;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.create-warning .icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--accent-text); }
.create-warning span { flex: 1; min-width: 0; }
.create-warning strong { color: var(--text); font-weight: 600; }

.create-field { display: flex; flex-direction: column; gap: 7px; }
.create-form-step-body > .create-field + .create-field { margin-top: 2px; }

.create-field span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.create-field input {
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.create-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.create-hint { font-size: 12px; color: var(--muted); line-height: 1.4; }

.create-twitch-logged-out,
.create-twitch-logged-in,
.create-mp-disconnected,
.create-mp-connected {
  display: flex;
  align-items: center;
  gap: 10px;
}
.create-twitch-logged-out[hidden],
.create-twitch-logged-in[hidden],
.create-mp-disconnected[hidden],
.create-mp-connected[hidden] { display: none; }

.create-twitch-logged-in,
.create-mp-connected {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 10px;
}

.create-twitch-login,
.create-mp-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  color: var(--accent-text);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.create-twitch-login .icon,
.create-mp-login .icon { width: 16px; height: 16px; flex-shrink: 0; }
.create-twitch-login:hover,
.create-mp-login:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); transform: translateY(-1px); }
.create-twitch-login:focus-visible,
.create-mp-login:focus-visible,
.create-twitch-switch:focus-visible,
.create-twitch-logout:focus-visible,
.create-mp-reconnect:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.create-mp-login.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.create-twitch-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.create-mp-status-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  color: var(--accent-text);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.create-mp-status-icon .icon { width: 15px; height: 15px; }

.create-twitch-name,
.create-mp-status-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create-twitch-switch,
.create-twitch-logout,
.create-mp-reconnect {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 5px 7px;
  margin: -5px -7px -5px auto;
  transition: color 0.15s ease, background 0.15s ease;
}
.create-twitch-switch:hover,
.create-twitch-logout:hover,
.create-mp-reconnect:hover { color: var(--text); background: var(--surface); }

.create-submit {
  height: 48px;
  margin-top: 4px;
  background: linear-gradient(180deg, var(--accent-text), var(--accent));
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 10px 24px -10px var(--accent-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.create-submit:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 30px -10px var(--accent-glow); }
.create-submit:active { transform: translateY(0); }
.create-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.create-error {
  margin: 0;
  font-size: 13px;
  color: var(--danger);
  background: var(--danger-bg);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.create-error[hidden] { display: none; }

.create-existing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: var(--surface);
  background-image: var(--grain);
  background-blend-mode: overlay;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.create-existing[hidden] { display: none; }

.create-existing-title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

.create-existing-list { display: flex; flex-direction: column; gap: 8px; }

.create-existing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.create-existing-item span {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-verified-mark {
  width: 13px;
  height: 13px;
  margin-left: 5px;
  color: var(--accent-text);
  flex-shrink: 0;
}

.create-existing-item a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
}
.create-existing-item a:hover { color: var(--accent); }

.create-existing-item-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.create-existing-unlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.create-existing-unlink .icon { width: 15px; height: 15px; }
.create-existing-unlink:hover { color: var(--danger); background: var(--danger-bg); }

.create-existing-new {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
}
.create-existing-new:hover { color: var(--text); }

.create-footer {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: center;
}

.create-footer-github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.create-footer-github .icon { width: 15px; height: 15px; }
.create-footer-github:hover { color: var(--text); }

.my-leiloes-main {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.my-leiloes-logged-out,
.my-leiloes-logged-in {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: var(--surface);
  background-image: var(--grain);
  background-blend-mode: overlay;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.my-leiloes-logged-out[hidden],
.my-leiloes-logged-in[hidden] { display: none; }

.my-leiloes-logged-out .create-twitch-login { align-self: flex-start; }

.my-leiloes-header { display: flex; justify-content: flex-end; }

.my-leiloes-empty { margin: 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 900px) {
  .create-hero { grid-template-columns: 1fr; gap: 40px; }
  .create-title { max-width: none; }
  .create-topbar { margin-bottom: 36px; }
}

@media (max-width: 640px) {
  .create-page { padding: 16px 16px 40px; }
  .create-title { font-size: 32px; }
  .create-form, .create-existing { padding: 20px; }
}
