:root {
  --pink: #ff8fb3;
  --purple: #a78bfa;
  --cream: #fff8f2;
  --text: #4a3b3b;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Microsoft JhengHei", sans-serif;
  background: linear-gradient(180deg, #fff0f5 0%, #fdf6ff 100%);
  color: var(--text);
  min-height: 100vh;
}

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

.brand-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.15);
}

.career-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.15);
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.subtitle {
  font-size: 0.95rem;
  color: #8a7373;
  margin: 0;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.15);
  margin-bottom: 20px;
}

form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #6b5555;
}

input, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e8d9e6;
  font-size: 1rem;
  background: var(--cream);
}

.manual-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

button[type="submit"]:active {
  opacity: 0.85;
}

.result h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.result .placements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.result .chip {
  background: #fdf0f7;
  border: 1px solid #f6d9ea;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.result p {
  line-height: 1.7;
  margin: 0 0 12px;
}

.footer {
  text-align: center;
  font-size: 0.8rem;
  color: #b09b9b;
}

.footer a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
