body {
  margin: 0;
  padding: 0;
  background: #181818;
  color: #fff;
  font-family: 'Nanum Gothic', 'Bebas Neue', Arial, sans-serif;
}
.harley-header {
  background: #222;
  padding: 24px 0 10px 0;
  text-align: center;
  border-bottom: 3px solid #ff6600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.harley-header .smoke {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.harley-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.harley-logo svg {
  display: inline-block;
  vertical-align: middle;
}
.harley-title {
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 2.1rem;
  color: #ff6600;
  letter-spacing: 2px;
  font-weight: bold;
  text-shadow: 1px 2px 6px #000;
}
.harley-sub {
  font-family: 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.05rem;
  color: #b0b0b0;
  margin-top: 2px;
  letter-spacing: 1px;
}
#map {
  width: 98vw;
  max-width: 600px;
  height: 48vh;
  min-height: 220px;
  margin: 18px auto 18px auto;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  border: 2.5px solid #b0b0b0;
  background: #222;
}
.main-btn {
  display: block;
  width: 92vw;
  max-width: 400px;
  margin: 0 auto 14px auto;
  padding: 15px 0;
  font-size: 1.18rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6600 60%, #b0b0b0 100%);
  color: #fff;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 8px rgba(255,102,0,0.13);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  outline: none;
}
.main-btn:active {
  background: linear-gradient(90deg, #b0b0b0 0%, #ff6600 100%);
  color: #222;
}
.harley-save {
  background: linear-gradient(90deg, #00b894 60%, #b0b0b0 100%);
  color: #fff;
}
.harley-save:active {
  background: linear-gradient(90deg, #b0b0b0 0%, #00b894 100%);
  color: #222;
}
.desc, .harley-desc {
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: #b0b0b0;
  text-align: center;
  font-family: 'Nanum Gothic', Arial, sans-serif;
}
.desc .blue { color: #3182f6; font-weight: bold; }
.desc .red { color: #e74c3c; font-weight: bold; }
.harley-list {
  max-width: 600px;
  margin: 0 auto 16px auto;
  background: #232323;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.13);
  padding: 14px 12px;
  border: 1.5px solid #b0b0b0;
  color: #fff;
}
.harley-list h2 {
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.13rem;
  color: #ff6600;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}
#locations {
  list-style: none;
  padding: 0;
  margin: 0;
}
#locations li {
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-family: 'Nanum Gothic', Arial, sans-serif;
  color: #b0b0b0;
}
.riders21-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 10px;
  background: #181818;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
#map-container {
  position: relative;
}
#start-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(24,24,24,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  animation: fadein 1.5s;
}
.riders21-emblem {
  width: 220px;
  max-width: 80vw;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.28);
  opacity: 1;
  transform: translateX(-100vw);
  animation: slide-in-left 2.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-100vw);
  }
  60% {
    opacity: 0.7;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#speed-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24,24,24,0.92);
  color: #ff6600;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 18px;
  border: 2px solid #b0b0b0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 10;
  letter-spacing: 1.5px;
}
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 0 auto 10px auto;
  max-width: 600px;
}
.start-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 30%, #ff3c28 70%, #a80000 100%);
  color: #fff;
  font-family: 'Bebas Neue', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  border: 0.5px solid #b0b0b0;
  box-shadow: 0 2px 8px rgba(255,60,40,0.18), 0 1.5px 4px #a80000;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1px;
  padding: 0;
  text-align: center;
  line-height: 1;
}
.start-btn:active, .start-btn:hover {
  background: radial-gradient(circle at 40% 60%, #a80000 60%, #ff3c28 100%);
  box-shadow: 0 1px 4px #a80000;
}
.small-btn {
  font-size: 0.75rem;
  padding: 0 0;
  width: 58px;
  min-width: 48px;
  max-width: 80px;
  border-radius: 7px;
  margin: 0;
  height: 32px;
  line-height: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wakelock-guide {
  text-align: center;
  color: #ff6600;
  font-family: 'Nanum Gothic', 'Bebas Neue', Arial, sans-serif;
  font-size: 0.98rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px #000;
}
.cafe-link-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 18px auto;
}
.cafe-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, #181818 60%, #ff6600 100%);
  color: #fff;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(255,102,0,0.13), 0 1.5px 4px #181818;
  border: 2px solid #ff6600;
  padding: 10px 22px;
  text-decoration: none;
  letter-spacing: 1.2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cafe-btn:hover, .cafe-btn:active {
  background: linear-gradient(90deg, #ff6600 60%, #181818 100%);
  color: #181818;
  box-shadow: 0 1px 4px #ff6600;
}
/* 로그인 폼 스타일 */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181818;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
}
.login-form {
  background: #232323;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  max-width: 90vw;
}
.login-form h2 {
  color: #ff6600;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}
.login-form input {
  padding: 12px 10px;
  border-radius: 8px;
  border: 1.5px solid #b0b0b0;
  font-size: 1.05rem;
  background: #181818;
  color: #fff;
  margin-bottom: 2px;
  outline: none;
  font-family: 'Nanum Gothic', Arial, sans-serif;
}
.login-form input:focus {
  border-color: #ff6600;
}
.login-form button {
  background: linear-gradient(90deg, #ff6600 60%, #b0b0b0 100%);
  color: #fff;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s;
}
.login-form button:active {
  background: linear-gradient(90deg, #b0b0b0 0%, #ff6600 100%);
  color: #222;
}
.login-error {
  color: #e74c3c;
  font-size: 0.98rem;
  min-height: 18px;
  text-align: center;
  margin-top: 2px;
}
/* 회원가입/로그인 폼 전환 버튼 */
.switch-btn {
  background: none;
  border: none;
  color: #ff6600;
  font-size: 1.01rem;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  cursor: pointer;
  text-decoration: underline;
  margin: 0;
  padding: 0;
  transition: color 0.18s;
}
.switch-btn:hover, .switch-btn:active {
  color: #fff;
  text-decoration: underline;
}
/* 관리자 회원 승인 관리 UI */
.admin-panel {
  background: #232323;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.13);
  padding: 16px 12px;
  margin: 18px auto 0 auto;
  max-width: 600px;
  border: 2px solid #ff6600;
  color: #fff;
}
.admin-panel h3 {
  color: #ff6600;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 1.13rem;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}
.pending-users-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pending-users-list li {
  font-size: 0.98rem;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-family: 'Nanum Gothic', Arial, sans-serif;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.approve-btn {
  background: linear-gradient(90deg, #00b894 60%, #b0b0b0 100%);
  color: #fff;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s;
}
.approve-btn:active {
  background: linear-gradient(90deg, #b0b0b0 0%, #00b894 100%);
  color: #222;
}
/* 회원가입 폼의 가입 버튼을 동그란 입체 원형으로 */
#signup-form button[type="submit"] {
  text-decoration: none !important;
  font-size: 0.98rem !important;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  background: radial-gradient(circle at 60% 30%, #ff6600 70%, #b0b0b0 100%);
  box-shadow: 0 2px 8px rgba(255,102,0,0.18), 0 1.5px 4px #ff6600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-weight: bold;
  border: none;
  color: #fff;
  margin: 0 auto;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
#signup-form button[type="submit"]:active, #signup-form button[type="submit"]:hover {
  background: radial-gradient(circle at 40% 60%, #b0b0b0 60%, #ff6600 100%);
  color: #222;
  box-shadow: 0 1px 4px #ff6600;
}
/* 로그인 폼 하단 가입 버튼(완전한 동그란 입체 원형, flex 중앙정렬) */
.small-switch-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.02rem !important;
  font-family: 'Bebas Neue', 'Nanum Gothic', Arial, sans-serif;
  font-weight: bold;
  color: #fff;
  background: radial-gradient(circle at 60% 30%, #ff6600 70%, #b0b0b0 100%);
  box-shadow: 0 2px 8px rgba(255,102,0,0.18), 0 1.5px 4px #ff6600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  margin: 0 auto;
  text-decoration: none !important;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.small-switch-btn:active, .small-switch-btn:hover {
  background: radial-gradient(circle at 40% 60%, #b0b0b0 60%, #ff6600 100%);
  color: #222;
  box-shadow: 0 1px 4px #ff6600;
  text-decoration: none !important;
}
/* 파란색 평면 원형 화살표 버튼 */
.arrow-back-btn {
  background: #3182f6;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 auto;
  padding: 0;
  transition: background 0.18s;
}
.arrow-back-btn:active, .arrow-back-btn:hover {
  background: #2360b9;
}
.arrow-back-btn svg {
  display: block;
}
/* 로그아웃 버튼 더 작게 */
.logout-btn {
  margin-left: 12px;
  padding: 4px 10px;
  font-size: 0.92rem;
  border-radius: 8px;
  min-width: 0;
  min-height: 0;
  height: 28px;
  line-height: 1;
}
.logout-btn:hover, .logout-btn:active {
  background: #fff;
  color: #ff6600;
  border: 2px solid #ff6600;
}
/* 회원 명부 관리(관리자) 리스트 버튼 붙이기 */
.admin-panel li, .pending-users-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.admin-panel li span {
  flex: 1 1 auto;
}
@media (max-width: 600px) {
  #map {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    border-width: 1.5px;
  }
  .main-btn {
    max-width: 100vw;
    font-size: 1rem;
    padding: 13px 0;
  }
  .harley-header {
    padding: 14px 0 6px 0;
  }
  .harley-title {
    font-size: 1.3rem;
  }
  .harley-list {
    padding: 10px 6px;
  }
  .button-row {
    gap: 4px;
    max-width: 100vw;
  }
  .start-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.7rem;
    line-height: 1;
  }
  .small-btn {
    font-size: 0.65rem;
    width: 40px;
    min-width: 36px;
    max-width: 60px;
    height: 26px;
    line-height: 26px;
    padding: 0 0;
  }
  .wakelock-guide {
    font-size: 0.85rem;
    margin-bottom: 7px;
  }
  .cafe-btn {
    font-size: 0.92rem;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .cafe-link-row {
    margin: 7px auto 12px auto;
  }
  .login-form {
    padding: 18px 8px 16px 8px;
    min-width: 0;
    max-width: 98vw;
  }
  .login-form h2 {
    font-size: 1.15rem;
  }
  .login-form input, .login-form button {
    font-size: 0.98rem;
    padding: 10px 0;
  }
}