.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 50%, var(--color-primary) 100%);
  background-size: 200% 200%;
  animation: introGradient 3s ease infinite;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

@keyframes introGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.intro-content {
  text-align: center;
  color: var(--color-bg-primary);
}

.intro-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.intro-pin {
  animation: introPinDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  stroke: var(--color-bg-primary);
}

@keyframes introPinDrop {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.5);
  }
  60% {
    transform: translateY(10px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.intro-pulse {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: introPulse 1.5s ease-in-out infinite;
}

@keyframes introPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0.2;
  }
}

.intro-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 12px;
  animation: introFadeUp 0.6s ease 0.3s both;
  letter-spacing: -1px;
}

.intro-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 32px;
  opacity: 0.9;
  animation: introFadeUp 0.6s ease 0.5s both;
}

.intro-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  animation: introFadeUp 0.6s ease 0.7s both;
}

.intro-feature {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

@keyframes introFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-loading {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
  animation: introFadeUp 0.6s ease 0.9s both;
}

.intro-loading-bar {
  height: 100%;
  width: 0;
  background: var(--color-bg-primary);
  border-radius: 2px;
  animation: introLoading 2s ease-in-out forwards;
}

@keyframes introLoading {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Mobile */
@media (max-width: 480px) {
  .intro-title {
    font-size: 36px;
  }
  
  .intro-subtitle {
    font-size: 16px;
  }
  
  .intro-features {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .intro-feature {
    font-size: 12px;
    padding: 6px 12px;
  }
}

.landing-navbar {
  background: var(--color-bg-primary);
  padding: 20px 0;
  box-shadow: 0 1px 3px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--color-primary-hover);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed) !important;
  color: var(--color-bg-primary) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px var(--color-shadow);
}

/* Tablet */
@media (max-width: 768px) {
  .landing-nav-content {
    padding: 0 16px;
  }
  
  .nav-links {
    gap: 16px;
  }
  
  .nav-links a:not(.nav-btn-primary) {
    display: none;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .landing-navbar {
    padding: 16px 0;
  }
  
  .nav-logo {
    font-size: 18px;
  }
  
  .nav-btn-primary {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }
}

.hero {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--color-text-primary);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed, var(--color-primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

/* Hero Links */
.hero-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-link:hover {
  color: var(--color-primary);
}

.hero-link-divider {
  color: var(--color-text-muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: var(--color-bg-primary);
  box-shadow: 0 4px 6px var(--color-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px var(--color-shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg-primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.floating-card {
  position: absolute;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
}

.floating-card.card-1 {
  top: 20%;
  left: 10%;
  animation: floatCardIn 0.6s ease-out 0.5s forwards, float 2s ease-in-out 1.1s infinite;
}

.floating-card.card-2 {
  top: 50%;
  right: 10%;
  animation: floatCardIn 0.6s ease-out 0.7s forwards, float 2s ease-in-out 1.3s infinite;
}

.floating-card.card-3 {
  bottom: 10%;
  left: 30%;
  animation: floatCardIn 0.6s ease-out 0.9s forwards, float 2s ease-in-out 1.5s infinite;
}

.card-icon {
  font-size: 36px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.card-desc {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatCardIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    margin: 48px auto;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-visual {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    margin: 32px auto;
    padding: 0 16px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-links {
    justify-content: center;
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

.features {
  padding: 80px 24px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.features .section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}

.features .section-header p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
}

.features-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  color: var(--color-primary);
  stroke: var(--color-primary);
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.feature-item p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 1024px) {
  .features {
    padding: 60px 24px;
  }

  .features .section-header h2 {
    font-size: 30px;
  }

  .features-content {
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .features-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features .section-header h2 {
    font-size: 26px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-item h3 {
    font-size: 18px;
  }
}

.categories {
  padding: 80px 24px;
}

.categories-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateY(30px);
}

.category-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.category-card:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(76, 110, 245, 0.15);
}

.category-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.category-emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  color: var(--color-text-tertiary);
}

/* Tablet */
@media (max-width: 1024px) {
  .categories {
    padding: 60px 24px;
  }

  .section-header h2 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-card {
    padding: 24px 16px;
  }

  .category-emoji {
    font-size: 36px;
  }

  .category-card h3 {
    font-size: 16px;
  }

  .category-card p {
    font-size: 12px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 14px;
  }
}

.cta {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  padding: 80px 24px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-bg-primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.cta .btn-large {
  background: var(--color-bg-primary);
  color: var(--color-primary);
  padding: 18px 48px;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.cta .btn-outline-light {
  background: transparent;
  color: var(--color-bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 16px 32px;
  font-size: 16px;
}

.cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-bg-primary);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .cta {
    padding: 60px 24px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
}

.landing-footer {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
  padding: 48px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo svg {
  stroke: var(--color-bg-primary);
}

.landing-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 8px 0;
}

/* Mobile */
@media (max-width: 480px) {
  .landing-footer {
    padding: 32px 16px;
  }

  .footer-logo {
    font-size: 18px;
  }

  .landing-footer p {
    font-size: 12px;
  }
}

.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-page main {
  flex: 1;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.3s;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

.kakao-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.kakao-map-container {
  width: 100%;
  height: 100%;
}

/* Hide Kakao branding in development (keep visible in production) */
.kakao-map-container .map_copyright {
  font-size: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Variants */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--color-bg-primary);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-bg-hover);
}

.btn-ghost {
  background: transparent;
  color: #667eea;
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.1);
}

.btn-danger {
  background: #dc3545;
  color: var(--color-bg-primary);
}

.btn-danger:hover:not(:disabled) {
  background: #c82333;
}

/* Sizes */
.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-md {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Full width */
.btn-full {
  width: 100%;
}

/* Loading state */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-spinner {
  position: absolute;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.75s linear infinite;
}

.btn-loading .btn-spinner {
  color: var(--color-bg-primary);
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Icon */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 1.25em;
  height: 1.25em;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.input-full {
  width: 100%;
}

.input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-field {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-input-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
  outline: none;
}

.input-field::placeholder {
  color: var(--color-text-tertiary);
}

.input-field:disabled {
  background: var(--color-bg-tertiary);
  cursor: not-allowed;
}

/* Icon positioning */
.input-has-icon-left .input-field {
  padding-left: 2.5rem;
}

.input-has-icon-right .input-field {
  padding-right: 2.5rem;
}

.input-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  pointer-events: none;
}

.input-icon[role="button"] {
  cursor: pointer;
  pointer-events: auto;
}

.input-icon[role="button"]:hover {
  color: #667eea;
}

.input-icon-left {
  left: 0.75rem;
}

.input-icon-right {
  right: 0.75rem;
}

.input-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Error state */
.input-error .input-field {
  border-color: #dc3545;
}

.input-error .input-field:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.input-error-message {
  font-size: 0.8125rem;
  color: #dc3545;
}

/* Loading Container */
.loading {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loading-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Loading Text */
.loading-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spinner Variant */
.loading-spinner {
  border-radius: 50%;
  border-style: solid;
  border-color: var(--color-border);
  animation: spin 0.8s linear infinite;
}

.loading-spinner.loading-primary {
  border-top-color: #3b82f6;
}

.loading-spinner.loading-secondary {
  border-top-color: var(--color-text-tertiary);
}

.loading-spinner.loading-white {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-bg-primary);
}

/* Spinner Sizes */
.loading-spinner.loading-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.loading-spinner.loading-md {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

.loading-spinner.loading-lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

/* Dots Variant */
.loading-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.loading-dot {
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots.loading-primary .loading-dot {
  background-color: #3b82f6;
}

.loading-dots.loading-secondary .loading-dot {
  background-color: var(--color-text-tertiary);
}

.loading-dots.loading-white .loading-dot {
  background-color: var(--color-bg-primary);
}

/* Dots Sizes */
.loading-dots.loading-sm .loading-dot {
  width: 6px;
  height: 6px;
}

.loading-dots.loading-md .loading-dot {
  width: 10px;
  height: 10px;
}

.loading-dots.loading-lg .loading-dot {
  width: 14px;
  height: 14px;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0s;
}

/* Pulse Variant */
.loading-pulse {
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-pulse.loading-primary {
  background-color: #3b82f6;
}

.loading-pulse.loading-secondary {
  background-color: var(--color-text-tertiary);
}

.loading-pulse.loading-white {
  background-color: var(--color-bg-primary);
}

/* Pulse Sizes */
.loading-pulse.loading-sm {
  width: 16px;
  height: 16px;
}

.loading-pulse.loading-md {
  width: 32px;
  height: 32px;
}

.loading-pulse.loading-lg {
  width: 48px;
  height: 48px;
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

/* Icon Base */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-clickable {
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.icon-clickable:hover {
  opacity: 0.7;
}

.icon-clickable:active {
  transform: scale(0.95);
}

.icon-clickable:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 4px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 90vw;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--color-bg-primary);
  box-shadow: 0 4px 20px var(--color-shadow-md);
  pointer-events: auto;
  animation: toast-slide-in 0.3s ease-out;
  font-size: 14px;
  font-weight: 500;
  min-width: 200px;
  max-width: 400px;
}

.toast.exit {
  animation: toast-slide-out 0.3s ease-in forwards;
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* 타입별 스타일 */
.toast.success {
  background: linear-gradient(135deg, #d3f9d8 0%, #b2f2bb 100%);
  border: 1px solid #69db7c;
  color: #2b8a3e;
}

.toast.error {
  background: linear-gradient(135deg, #ffe3e3 0%, #ffc9c9 100%);
  border: 1px solid #ff8787;
  color: #c92a2a;
}

.toast.info {
  background: linear-gradient(135deg, #d0ebff 0%, #a5d8ff 100%);
  border: 1px solid #74c0fc;
  color: #1864ab;
}

.toast.warning {
  background: linear-gradient(135deg, #fff3bf 0%, #ffec99 100%);
  border: 1px solid #ffd43b;
  color: #e67700;
}

/* 애니메이션 */
@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-slide-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .toast-container {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
  }

  .toast {
    padding: 10px 16px;
    font-size: 13px;
    min-width: auto;
    max-width: none;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 1em;
  border-radius: 4px;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-rect {
  border-radius: 8px;
}

/* 검색 결과 아이템 스켈레톤 */
.skeleton-place-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.skeleton-place-rank {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.skeleton-place-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-place-title {
  height: 18px;
  width: 60%;
}

.skeleton-place-category {
  height: 14px;
  width: 40%;
}

.skeleton-place-address {
  height: 14px;
  width: 80%;
}

.skeleton-place-distance {
  height: 12px;
  width: 30%;
}

.skeleton-place-action {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-self: center;
}

/* 즐겨찾기 아이템 스켈레톤 */
.skeleton-favorite-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.skeleton-favorite-icon {
  width: 40px;
  height: 40px;
}

.skeleton-favorite-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skeleton-favorite-name {
  height: 16px;
  width: 50%;
}

.skeleton-favorite-address {
  height: 14px;
  width: 70%;
}

/* 히스토리 아이템 스켈레톤 */
.skeleton-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.skeleton-history-icon {
  width: 20px;
  height: 20px;
}

.skeleton-history-text {
  height: 16px;
  flex: 1;
}

/* 디테일 패널 스켈레톤 */
.skeleton-detail {
  padding: 20px;
}

.skeleton-detail-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.skeleton-detail-image {
  width: 80px;
  height: 80px;
}

.skeleton-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-detail-title {
  height: 24px;
  width: 70%;
}

.skeleton-detail-category {
  height: 16px;
  width: 40%;
}

.skeleton-detail-rating {
  height: 16px;
  width: 30%;
}

.skeleton-detail-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-detail-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.skeleton-detail-row-icon {
  width: 20px;
  height: 20px;
}

.skeleton-detail-row-text {
  height: 16px;
  flex: 1;
}

.skeleton-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.skeleton-detail-btn {
  height: 44px;
  flex: 1;
}

/* 애니메이션 */
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.sound-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-primary);
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
}

.sound-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--color-shadow-md);
}

.sound-toggle:active {
  transform: scale(0.95);
}

.sound-toggle.enabled {
  color: var(--color-primary);
}

.sound-toggle.disabled {
  color: var(--color-text-tertiary);
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
}

/* 모바일 위치 조정 */
@media (max-width: 768px) {
  .sound-toggle {
    bottom: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .sound-toggle svg {
    width: 16px;
    height: 16px;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-bg-primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s ease;
  box-shadow: 0 4px 12px rgba(76, 110, 245, 0.3);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-bg-primary);
  outline-offset: 2px;
}

.map-controls {
  position: absolute;
  right: 16px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.map-controls-group {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-primary);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--color-shadow-md);
  overflow: hidden;
}

.map-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.map-control-btn:hover {
  background-color: var(--color-bg-hover);
}

.map-control-btn:active {
  background-color: var(--color-bg-tertiary);
}

.map-control-btn:disabled {
  color: var(--color-border-hover);
  cursor: not-allowed;
}

.map-control-btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.map-control-btn.loading {
  color: var(--color-primary);
  animation: pulse 1.5s ease-in-out infinite;
}

.map-controls-group .map-control-btn:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .map-controls {
    right: 12px;
    bottom: 24px;
  }

  .map-control-btn {
    width: 36px;
    height: 36px;
  }
}

.map-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 100;
}

/* Left Section */
.map-navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-navbar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-bg-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.map-navbar-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.map-navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-bg-primary);
}

.map-navbar-logo .icon {
  color: var(--color-bg-primary);
}

.map-navbar-logo-text {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

/* Search Section */
.map-navbar-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: var(--color-bg-primary);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

.map-navbar-search-icon {
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.map-navbar-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: var(--color-text-primary);
}

.map-navbar-search-input::placeholder {
  color: var(--color-text-tertiary);
}

.map-navbar-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.map-navbar-search-btn:hover {
  background: var(--color-primary-hover);
}

/* Right Section */
.map-navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-navbar-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-bg-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.map-navbar-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Tablet */
@media (max-width: 1024px) {
  .map-navbar {
    gap: 16px;
    padding: 0 16px;
  }

  .map-navbar-search {
    max-width: 360px;
  }

  .map-navbar-logo-text {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .map-navbar {
    gap: 12px;
    padding: 0 12px;
  }

  .map-navbar-menu-btn {
    display: flex;
  }

  .map-navbar-logo-text {
    display: none;
  }

  .map-navbar-search {
    flex: 1;
    max-width: none;
  }

  .map-navbar-right {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .map-navbar {
    padding: 0 8px;
  }

  .map-navbar-search {
    height: 36px;
    padding: 0 12px;
  }

  .map-navbar-search-input {
    font-size: 14px;
  }
}

.category-sidebar {
  display: flex;
  flex-direction: column;
  width: 240px;
  height: 100%;
  background: var(--color-bg-primary);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.category-sidebar-overlay {
  display: none;
}

/* Header */
.category-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.category-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.category-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.category-sidebar-close:hover {
  background: var(--color-bg-tertiary);
}

/* Content */
.category-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

/* Category Group */
.category-group {
  margin-bottom: 8px;
}

.category-group-title {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Category List */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Category Item */
.category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.category-item:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.category-item-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

.category-item-active .icon {
  color: var(--color-primary);
}

.category-item .icon {
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: color 0.2s;
}

.category-item:hover .icon {
  color: var(--color-text-tertiary);
}

/* Scrollbar */
.category-sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.category-sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.category-sidebar-content::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}

.category-sidebar-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* Tablet */
@media (max-width: 1024px) {
  .category-sidebar {
    width: 200px;
  }

  .category-sidebar-header {
    padding: 14px 16px;
  }

  .category-group-title {
    padding: 8px 16px;
  }

  .category-item {
    padding: 10px 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .category-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 280px;
    height: calc(100% - 56px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 90;
    box-shadow: 2px 0 12px var(--color-shadow-md);
  }

  .category-sidebar-open {
    transform: translateX(0);
  }

  .category-sidebar-overlay {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 80;
  }

  .category-sidebar-close {
    display: flex;
  }
}

/* Popular Keywords Section */
.category-sidebar-popular {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  flex-shrink: 0;
}

.popular-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.popular-section-header .icon {
  color: #f59e0b;
}

.popular-section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-section-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  border: none;
  background: var(--color-bg-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: left;
}

.popular-section-item:hover {
  background: var(--color-bg-hover);
}

.popular-section-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--color-bg-tertiary);
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

/* 상위 3개 강조 */
.popular-section-list li:nth-child(1) .popular-section-rank {
  background: #fef3c7;
  color: #d97706;
}

.popular-section-list li:nth-child(2) .popular-section-rank {
  background: var(--color-border);
  color: var(--color-text-secondary);
}

.popular-section-list li:nth-child(3) .popular-section-rank {
  background: #fed7aa;
  color: #c2410c;
}

.popular-section-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-section-count {
  font-size: 10px;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--color-bg-primary);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.category-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0e7ff 100%);
  border-radius: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.category-header-content {
  flex: 1;
  min-width: 0;
}

.category-header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}

.category-header-description {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .category-header {
    padding: 14px 20px;
  }

  .category-header-icon {
    width: 44px;
    height: 44px;
  }

  .category-header-title {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .category-header {
    padding: 12px 16px;
    gap: 12px;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
  }

  .category-header-icon {
    width: 40px;
    height: 40px;
  }

  .category-header-icon .icon {
    width: 20px;
    height: 20px;
  }

  .category-header-title {
    font-size: 16px;
  }

  .category-header-description {
    font-size: 13px;
  }
}

/* Place List - Right Sidebar Style */
.place-list {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 400px;
  flex: 0 1 360px;
  height: 100%;
  background: var(--color-bg-primary);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

/* Header */
.place-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.place-list-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.place-list-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Content */
.place-list-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* Items */
.place-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Place Card */
.place-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--color-bg-secondary);
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.place-card:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-border);
}

.place-card-selected {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.place-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-bg-primary);
  border-radius: 8px;
  color: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 1px 3px var(--color-shadow);
}

.place-card-selected .place-card-icon {
  background: var(--color-primary);
  color: var(--color-bg-primary);
}

.place-card-content {
  flex: 1;
  min-width: 0;
}

.place-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 3px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-card-address {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin: 0 0 3px 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-card-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-primary);
  margin: 0 0 6px 0;
}

.place-card-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  background: var(--color-bg-primary);
  padding: 3px 6px;
  border-radius: 4px;
}

.place-card-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
}

.place-card-directions:hover {
  background: var(--color-primary-hover);
}

/* Loading State */
.place-list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: var(--color-text-tertiary);
}

.place-list-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.place-list-loading p {
  font-size: 13px;
  margin: 0;
}

/* Empty State */
.place-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: var(--color-text-tertiary);
  text-align: center;
}

.place-list-empty .icon {
  margin-bottom: 12px;
  opacity: 0.5;
}

.place-list-empty p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  margin: 0 0 4px 0;
}

.place-list-empty span {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

/* Scrollbar */
.place-list-content::-webkit-scrollbar {
  width: 5px;
}

.place-list-content::-webkit-scrollbar-track {
  background: transparent;
}

.place-list-content::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}

.place-list-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* Tablet */
@media (max-width: 1024px) {
  .place-list {
    min-width: 280px;
    max-width: 320px;
    flex: 0 1 300px;
  }

  .place-list-header {
    padding: 14px 16px;
  }

  .place-list-content {
    padding: 10px;
  }

  .place-list-items {
    gap: 8px;
  }

  .place-card {
    padding: 10px;
  }
}

/* Mobile - Bottom Sheet Style */
@media (max-width: 768px) {
  .place-list {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: unset;
    max-width: unset;
    flex: none;
    height: auto;
    max-height: 45%;
    min-height: 200px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px var(--color-shadow);
    z-index: 50;
  }

  .place-list-header {
    position: relative;
    padding: 20px 16px 12px;
    border-radius: 16px 16px 0 0;
  }

  .place-list-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--color-border-hover);
    border-radius: 2px;
  }

  .place-list-content {
    padding: 8px 12px 16px;
    max-height: calc(45vh - 60px);
  }

  .place-card {
    padding: 10px;
  }

  .place-card-name {
    font-size: 13px;
  }

  .place-card-address,
  .place-card-phone {
    font-size: 11px;
  }

  .place-card-icon,
  .place-card-directions {
    width: 28px;
    height: 28px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .place-list {
    max-height: 50%;
  }

  .place-list-content {
    max-height: calc(50vh - 60px);
  }
}

.home-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
  transition: transform 0.2s ease;
}

.home-marker:hover {
  transform: scale(1.1);
}

.home-icon {
  font-size: 36px;
  line-height: 1;
  animation: home-float 3s ease-in-out infinite;
}

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.home-pulse {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: home-pulse-anim 2s ease-out infinite;
}

@keyframes home-pulse-anim {
  0% { transform: translateX(-50%) scale(0.8); opacity: 1; }
  100% { transform: translateX(-50%) scale(2); opacity: 0; }
}

/* 출발지 깃발 마커 */
.start-flag-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  animation: flag-wave 2s ease-in-out infinite;
}

.flag-pole {
  width: 3px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-text-tertiary) 0%, var(--color-text-primary) 100%);
  border-radius: 2px;
  box-shadow: 1px 2px 3px var(--color-shadow-md);
}

.flag-icon {
  position: absolute;
  top: -10px;
  left: 3px;
  font-size: 28px;
  animation: flag-flutter 0.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px var(--color-shadow-md));
}

@keyframes flag-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes flag-flutter {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* 워커 마커 */
.walker-avatar {
  position: relative;
  display: inline-block;
  font-size: 40px;
  line-height: 1;
  animation: walker-walk 0.6s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px var(--color-shadow-md));
}

@keyframes walker-walk {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-5deg); }
  50% { transform: translate(-50%, -50%) translateY(-5px) rotate(5deg); }
}

/* 발자국 트레일 */
.footstep-trail {
  width: 10px;
  height: 10px;
  background: rgba(76, 110, 245, 0.5);
  border-radius: 50%;
  animation: footstep-fade 1s ease-out forwards;
}

@keyframes footstep-fade {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}

.place-detail {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-primary);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--color-shadow-md);
  overflow: hidden;
}

/* Header */
.place-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.place-detail-title-wrap {
  flex: 1;
  min-width: 0;
}

.place-detail-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px;
  word-break: keep-all;
}

.place-detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.place-detail-category {
  font-size: 11px;
  color: var(--color-text-tertiary);
  background: var(--color-bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
}

.place-detail-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}

.place-detail-close:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

/* Content */
.place-detail-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.place-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.place-detail-row > .icon {
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  margin-top: 2px;
}

.place-detail-row-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.place-detail-address {
  font-size: 14px;
  color: var(--color-text-primary);
  word-break: keep-all;
}

.place-detail-address-sub {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.place-detail-copy {
  font-size: 12px;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.place-detail-copy:hover {
  background: #eff6ff;
}

.place-detail-phone {
  font-size: 14px;
  color: #3b82f6;
  text-decoration: none;
}

.place-detail-phone:hover {
  text-decoration: underline;
}

.place-detail-distance {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.place-detail-link {
  font-size: 14px;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.place-detail-link:hover {
  text-decoration: underline;
}

/* Actions */
.place-detail-actions {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.place-detail-actions .btn {
  flex: 1;
}

/* Responsive */
@media (max-width: 480px) {
  .place-detail-header {
    padding: 12px;
  }

  .place-detail-title {
    font-size: 16px;
  }

  .place-detail-content {
    padding: 12px;
  }

  .place-detail-actions {
    padding: 12px;
    flex-wrap: wrap;
  }

  .place-detail-actions .btn {
    flex: 1 1 calc(50% - 4px);
  }
}

.favorites-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg-primary);
  animation: slide-in-right 0.3s ease-out;
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 모바일에서는 아래에서 슬라이드 */
@media (max-width: 768px) {
  .favorites-panel {
    animation: slide-in-up 0.3s ease-out;
  }

  @keyframes slide-in-up {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Header */
.favorites-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.favorites-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.favorites-panel-title .icon {
  color: #f59e0b;
}

.favorites-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.favorites-panel-close:hover {
  background: var(--color-bg-tertiary);
}

/* Content */
.favorites-panel-content {
  flex: 1;
  overflow-y: auto;
}

.favorites-panel-loading,
.favorites-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--color-text-tertiary);
  height: 100%;
}

.favorites-panel-empty {
  gap: 12px;
}

.favorites-panel-empty p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0;
}

.favorites-panel-empty span {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

/* List */
.favorites-panel-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.favorite-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  animation: item-slide-in 0.3s ease-out both;
}

@keyframes item-slide-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.favorite-item:hover {
  background: var(--color-bg-secondary);
}

.favorite-item:focus {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.favorite-item.deleting {
  animation: delete-slide 0.3s ease-out forwards;
}

@keyframes delete-slide {
  to {
    opacity: 0;
    transform: translateX(-100%);
    height: 0;
    padding: 0;
    margin: 0;
  }
}

/* 스와이프 삭제 배경 */
.favorite-item-delete-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #ef4444;
  color: var(--color-bg-primary);
  font-size: 13px;
  font-weight: 500;
}

/* 메인 콘텐츠 wrapper */
.favorite-item-main {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--color-bg-primary);
  transition: transform 0.1s ease-out;
  min-width: 0;
}

/* 별 아이콘 */
.favorite-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fef3c7;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: 12px;
}

.favorite-item-icon span {
  font-size: 16px;
}

.favorite-item-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.favorite-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.favorite-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-item-address {
  font-size: 12px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-item-category {
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.favorite-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin-right: 8px;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}

.favorite-item-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Footer */
.favorites-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  flex-shrink: 0;
}

.favorites-panel-count {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.favorites-panel-hint {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

/* 데스크탑에서는 스와이프 힌트 숨김 */
@media (min-width: 769px) {
  .favorites-panel-hint {
    display: none;
  }
}

/* Scrollbar */
.favorites-panel-content::-webkit-scrollbar {
  width: 6px;
}

.favorites-panel-content::-webkit-scrollbar-track {
  background: var(--color-bg-tertiary);
}

.favorites-panel-content::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}

.history-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-bg-primary);
}

/* Header */
.history-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.history-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.history-panel-title .icon {
  color: #3b82f6;
}

.history-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-panel-clear {
  font-size: 13px;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.history-panel-clear:hover {
  background: #fee2e2;
}

.history-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.history-panel-close:hover {
  background: var(--color-bg-tertiary);
}

/* Content */
.history-panel-content {
  flex: 1;
  overflow-y: auto;
}

.history-panel-loading,
.history-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--color-text-tertiary);
  height: 100%;
}

.history-panel-empty {
  gap: 12px;
}

.history-panel-empty p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0;
}

.history-panel-empty span {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

/* List */
.history-panel-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.history-item:hover {
  background: var(--color-bg-secondary);
}

.history-item-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.history-item-content > .icon {
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.history-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.history-item-keyword {
  font-size: 14px;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-meta {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.history-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-right: 8px;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

.history-item:hover .history-item-remove {
  opacity: 1;
}

.history-item-remove:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
}

/* Scrollbar */
.history-panel-content::-webkit-scrollbar {
  width: 6px;
}

.history-panel-content::-webkit-scrollbar-track {
  background: var(--color-bg-tertiary);
}

.history-panel-content::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}

.route-info-panel {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px var(--color-shadow-md);
  z-index: 100;
  min-width: 240px;
  animation: slide-up 0.3s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.route-info-panel.animating {
  border: 2px solid var(--color-primary);
}

.route-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.route-info-icon {
  font-size: 24px;
  line-height: 1;
}

.route-info-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  flex: 1;
}

.route-info-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--color-bg-tertiary);
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-text-tertiary);
  transition: all 0.2s;
}

.route-info-close:hover {
  background: var(--color-border);
  color: var(--color-text-primary);
}

.route-info-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.route-info-stat {
  text-align: center;
}

.route-info-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.route-info-stat-value .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  margin-left: 2px;
}

.route-info-stat-label {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 4px;
}

.route-info-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* 진행률 바 */
.route-info-progress {
  margin-top: 12px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.route-info-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, #3b82f6 100%);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* 모바일 */
@media (max-width: 480px) {
  .route-info-panel {
    bottom: 70px;
    width: calc(100% - 32px);
    max-width: 320px;
    padding: 14px 16px;
  }

  .route-info-stat-value {
    font-size: 24px;
  }
}

.directions-panel {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-primary);
  height: 100%;
}

/* Header */
.directions-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.directions-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.directions-panel-title .icon {
  color: #3b82f6;
}

.directions-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.directions-panel-close:hover {
  background: var(--color-bg-tertiary);
}

/* Locations */
.directions-panel-locations {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.directions-location-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.directions-location-row:first-child {
  margin-bottom: 12px;
}

.directions-location-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.directions-location-marker.origin {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.directions-location-marker.destination {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.directions-location-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.directions-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--color-text-primary);
  outline: none;
  min-width: 0;
}

.directions-input::placeholder {
  color: var(--color-text-tertiary);
}

.directions-current-btn,
.directions-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, background-color 0.2s;
}

.directions-current-btn:hover {
  color: #3b82f6;
  background: #eff6ff;
}

.directions-clear-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

.directions-swap-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: var(--color-bg-primary);
  color: var(--color-text-tertiary);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.directions-swap-btn:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.directions-swap-btn .icon {
  margin: -4px 0;
}

/* Actions */
.directions-panel-actions {
  padding: 16px;
}

/* Error */
.directions-panel-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 12px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 8px;
  font-size: 13px;
}

/* Summary - 기존 스타일 (deprecated, 새 result 스타일 사용) */
.directions-panel-summary {
  display: none;
}

/* Route Result - 강화된 UI */
.directions-panel-result {
  padding: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-top: 1px solid var(--color-border);
}

.directions-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
}

.directions-result-header .icon {
  color: #3b82f6;
}

.directions-result-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.directions-result-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.directions-result-duration {
  font-size: 28px;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1.2;
}

.directions-result-label {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

.directions-result-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.directions-result-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.directions-result-sub .icon {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 480px) {
  .directions-panel-header {
    padding: 12px;
  }

  .directions-panel-locations {
    padding: 12px;
  }

  .directions-panel-modes {
    padding: 12px;
  }

  .directions-panel-actions {
    padding: 12px;
  }
}

.route-info {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-primary);
}

/* Summary */
.route-info-summary {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.route-info-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 600;
}

.route-info-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.route-info-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-info-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.route-info-stat-label {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.route-info-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Steps */
.route-info-steps {
  padding: 16px;
}

.route-info-steps-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 16px;
}

.route-info-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.route-step {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}

.route-step::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.route-step-last::before {
  display: none;
}

.route-step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #3b82f6;
  color: var(--color-bg-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.route-step-content {
  flex: 1;
  min-width: 0;
}

.route-step-roads {
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  word-break: keep-all;
}

.route-step-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-tertiary);
}

/* Scrollbar */
.route-info-steps::-webkit-scrollbar {
  width: 6px;
}

.route-info-steps::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.route-info-steps::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 480px) {
  .route-info-summary {
    padding: 12px;
  }

  .route-info-stat-value {
    font-size: 20px;
  }

  .route-info-steps {
    padding: 12px;
  }
}

.route-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: modal-overlay-in 0.2s ease-out;
}

@keyframes modal-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.route-modal-content {
  position: relative;
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modal-content-in 0.3s ease-out;
}

@keyframes modal-content-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.route-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.route-modal-title svg {
  color: #3b82f6;
}

.route-modal-desc {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.route-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-modal-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-primary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.route-modal-btn:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-border-hover);
}

.route-modal-btn svg {
  flex-shrink: 0;
  color: var(--color-text-tertiary);
}

.route-modal-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: transparent;
  color: var(--color-bg-primary);
}

.route-modal-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.route-modal-btn-primary svg {
  color: var(--color-bg-primary);
}

.route-modal-btn-danger {
  border-color: #fecaca;
  color: #dc2626;
}

.route-modal-btn-danger:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.btn-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.btn-desc {
  font-size: 12px;
  opacity: 0.8;
}

.route-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--color-bg-tertiary);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text-tertiary);
  transition: all 0.2s;
}

.route-modal-close:hover {
  background: var(--color-border);
  color: var(--color-text-primary);
}

/* 모바일 */
@media (max-width: 480px) {
  .route-modal-content {
    padding: 20px;
    border-radius: 16px 16px 0 0;
    position: absolute;
    bottom: 0;
    max-height: 70vh;
    width: 100%;
    max-width: none;
    animation: modal-slide-up 0.3s ease-out;
  }

  @keyframes modal-slide-up {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

/* MapPage Layout */
.map-page {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #f3f4f6;
}

/* Body - 3 Column Layout: Sidebar(left) + Map(center) + PlaceList(right) */
.map-page-body {
  flex: 1;
  display: flex;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
}

/* Main Content Area (Center - CategoryHeader + Map) */
.map-page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

/* Map Container */
.map-page-map {
  flex: 1;
  position: relative;
  min-height: 0;
  background: var(--color-bg-primary);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.map-page-map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

/* Place Detail Overlay */
.map-page-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s ease;
}

.map-page-detail {
  width: 90%;
  max-width: 480px;
  max-height: 80vh;
  background: var(--color-bg-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Directions Panel Overlay */
.map-page-directions-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s ease;
}

.map-page-directions {
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  background: var(--color-bg-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .map-page-body {
    gap: 0;
    padding: 0;
  }

  .map-page-main {
    gap: 0;
  }

  .map-page-map {
    border-radius: 0;
    box-shadow: none;
  }

  .map-page-detail-overlay,
  .map-page-directions-overlay {
    align-items: flex-end;
  }

  .map-page-detail,
  .map-page-directions {
    width: 100%;
    max-width: none;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
  }
}

.about-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
}

.about-main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

/* Header */
.about-header {
  text-align: center;
  padding: 60px 0 40px;
}

.about-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.about-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
}

/* Section */
.about-section {
  margin-bottom: 48px;
}

.about-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* Content Card */
.about-content-card {
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

.about-content-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-content-card p:last-child {
  margin-bottom: 0;
}

/* Features Grid */
.about-features {
  margin-bottom: 48px;
}

.about-features h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.about-feature-card {
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--color-shadow-md);
}

.about-feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-feature-icon svg {
  stroke: var(--color-bg-primary);
}

.about-feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.about-feature-card p {
  font-size: 14px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

/* Tech List */
.about-tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-tech-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-secondary);
}

.about-tech-list li:last-child {
  border-bottom: none;
}

.about-tech-list strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.about-tech-list a {
  color: var(--color-primary);
  text-decoration: none;
}

.about-tech-list a:hover {
  text-decoration: underline;
}

/* CTA */
.about-cta {
  text-align: center;
  padding: 40px 0;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: var(--color-bg-primary);
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 110, 245, 0.3);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .about-header {
    padding: 40px 0 24px;
  }

  .about-header h1 {
    font-size: 32px;
  }

  .about-section h2,
  .about-features h2 {
    font-size: 24px;
  }

  .about-content-card {
    padding: 24px;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-main {
    padding: 0 16px 60px;
  }

  .about-header h1 {
    font-size: 28px;
  }

  .about-header p {
    font-size: 14px;
  }
}

.guide-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
}

.guide-main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

/* Header */
.guide-header {
  text-align: center;
  padding: 60px 0 40px;
}

.guide-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.guide-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
}

/* Section */
.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* Steps */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-step {
  display: flex;
  gap: 20px;
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.guide-step:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px var(--color-shadow-md);
}

.guide-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-primary);
  font-size: 20px;
  font-weight: 700;
}

.guide-step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.guide-step-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Tips Card */
.guide-tips-card {
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

.guide-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-tips-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.guide-tips-list li:last-child {
  border-bottom: none;
}

.guide-tips-list strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA */
.guide-cta {
  text-align: center;
  padding: 40px 0;
}

.guide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: var(--color-bg-primary);
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.guide-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 110, 245, 0.3);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  padding: 8px 16px;
  z-index: 10001;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .guide-header {
    padding: 40px 0 24px;
  }

  .guide-header h1 {
    font-size: 32px;
  }

  .guide-section h2 {
    font-size: 24px;
  }

  .guide-step {
    flex-direction: column;
    gap: 16px;
  }

  .guide-step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .guide-main {
    padding: 0 16px 60px;
  }

  .guide-header h1 {
    font-size: 28px;
  }

  .guide-header p {
    font-size: 14px;
  }

  .guide-step {
    padding: 20px;
  }

  .guide-tips-card {
    padding: 24px;
  }
}

.survey-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f8faff;
}

.survey-container {
  flex: 1;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--color-bg-primary);
  border-radius: 15px;
  box-shadow: 0 6px 16px var(--color-shadow);
  animation: fadeIn 0.8s ease-out;
  margin-top: 30px;
  margin-bottom: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.survey-header {
  text-align: center;
  padding-bottom: 25px;
  margin-bottom: 35px;
  border-bottom: 3px solid #004d80;
}

.survey-header h1 {
  color: #004d80;
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: 700;
}

.survey-header p {
  font-size: 1.05em;
  color: var(--color-text-tertiary);
  text-align: left;
  padding: 0 10px;
  line-height: 1.8;
}

.survey-header strong {
  color: #004d80;
}

/* Question Group */
.question-group {
  margin-bottom: 40px;
}

.question-group h2 {
  font-size: 1.8em;
  color: #004d80;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid #e6b800;
  font-weight: 500;
}

/* Question Item */
.question-item {
  margin-bottom: 25px;
  background: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: transform 0.2s ease-in-out;
}

.question-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--color-shadow);
}

.question-item p {
  font-weight: 500;
  margin: 0 0 18px 0;
  color: var(--color-text-primary);
  font-size: 1.1em;
}

.question-item label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 7px;
  transition: background-color 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.question-item label:hover {
  background-color: #e8f5fd;
  border-color: #a7d9f3;
}

.question-item input[type="radio"],
.question-item input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
  accent-color: #004d80;
}

.question-item textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  min-height: 120px;
  margin-top: 10px;
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.question-item textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

/* Likert Table */
.likert-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  margin-top: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.likert-table th,
.likert-table td {
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.likert-table th:last-child,
.likert-table td:last-child {
  border-right: none;
}

.likert-table tr:last-child td {
  border-bottom: none;
}

.likert-table th {
  background-color: #f0f4f8;
  color: #004d80;
  font-weight: 500;
  font-size: 0.95em;
}

.likert-table td:first-child {
  text-align: left;
  font-weight: 400;
  color: var(--color-text-primary);
  width: 40%;
  background-color: #fafafa;
}

.likert-table input[type="radio"] {
  transform: scale(1.1);
  accent-color: #004d80;
}

/* Required Mark */
.required {
  color: #e6b800;
  font-weight: 700;
  margin-left: 5px;
}

/* Submit Button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 18px;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--color-bg-primary);
  background-color: #004d80;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
  margin-top: 40px;
  box-shadow: 0 4px 12px var(--color-shadow);
}

.submit-btn:hover {
  background-color: #003a66;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px var(--color-shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
  .survey-container {
    padding: 25px;
    margin: 15px;
    border-radius: 10px;
  }

  .survey-header h1 {
    font-size: 2em;
  }

  .question-group h2 {
    font-size: 1.5em;
  }

  .question-item {
    padding: 15px;
  }

  .question-item p {
    font-size: 1em;
    margin-bottom: 10px;
  }

  .likert-table th,
  .likert-table td {
    padding: 10px 5px;
    font-size: 0.85em;
  }

  .likert-table td:first-child {
    width: auto;
  }

  .submit-btn {
    font-size: 1.1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .survey-header h1 {
    font-size: 1.6em;
  }

  .survey-header p {
    font-size: 0.9em;
  }

  .question-group h2 {
    font-size: 1.3em;
  }

  .likert-table {
    font-size: 0.8em;
  }

  .likert-table th,
  .likert-table td {
    padding: 8px 4px;
  }
}

.not-found-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
}

.not-found-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.not-found-content {
  text-align: center;
  max-width: 500px;
}

.not-found-icon {
  margin-bottom: 24px;
}

.not-found-icon svg {
  stroke: var(--color-text-tertiary);
}

.not-found-content h1 {
  font-size: 100px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.not-found-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 16px 0;
}

.not-found-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.not-found-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.not-found-btn.primary {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: var(--color-bg-primary);
}

.not-found-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 110, 245, 0.3);
}

.not-found-btn.secondary {
  background: var(--color-bg-primary);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.not-found-btn.secondary:hover {
  background: var(--color-primary);
  color: var(--color-bg-primary);
}

/* Responsive */
@media (max-width: 480px) {
  .not-found-content h1 {
    font-size: 72px;
  }

  .not-found-content h2 {
    font-size: 22px;
  }

  .not-found-buttons {
    flex-direction: column;
  }

  .not-found-btn {
    width: 100%;
  }
}

/* App Layout */
.app {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Sidebar */
.app-sidebar {
  flex-shrink: 0;
  z-index: 20;
}

/* Main Content */
.app-main {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

/* Map Container */
.app-map {
  flex: 1;
  position: relative;
  min-height: 0;
  height: 100%;
}

.app-map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

/* Place Detail Panel */
.app-place-detail {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 480px;
  z-index: 15;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Side Panels (Favorites, History, Directions) */
.app-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: var(--color-bg-primary);
  box-shadow: -2px 0 8px var(--color-shadow);
  z-index: 30;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Bottom Navigation */
.app-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 40;
}

.app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  cursor: pointer;
  transition: color 0.2s;
}

.app-nav-item:hover,
.app-nav-item.active {
  color: #3b82f6;
}

.app-nav-icon {
  font-size: 20px;
}

.app-nav-label {
  font-size: 11px;
  font-weight: 500;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .app-place-detail {
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .app-panel {
    width: 320px;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 50;
  }

  .app-main {
    padding-bottom: 64px; /* Space for bottom nav */
  }

  .app-place-detail {
    bottom: 80px;
    width: calc(100% - 24px);
  }

  .app-panel {
    width: 100%;
    top: auto;
    bottom: 64px;
    height: calc(100% - 64px);
  }

  .app-nav {
    display: flex;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .app-place-detail {
    bottom: 72px;
    width: calc(100% - 16px);
    max-width: none;
  }
}

/* ========================================
   CSS Variables (Theme System)
   ======================================== */
:root {
  /* 배경 색상 */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f3f4f6;
  --color-bg-card: #ffffff;
  --color-bg-hover: #f9fafb;
  --color-bg-active: #eff6ff;
  --color-bg-overlay: rgba(0, 0, 0, 0.4);
  --color-bg-modal: rgba(255, 255, 255, 0.9);
  
  /* 텍스트 색상 */
  --color-text-primary: #333333;
  --color-text-secondary: #6b7280;
  --color-text-tertiary: #9ca3af;
  --color-text-muted: #9ca3af;
  --color-text-inverse: #ffffff;
  --color-text-link: #4c6ef5;
  
  /* 테두리 색상 */
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-border-dark: #d1d5db;
  --color-border-hover: #d1d5db;
  
  /* Primary 색상 */
  --color-primary: #4c6ef5;
  --color-primary-hover: #3b5bdb;
  --color-primary-light: #e7f5ff;
  --color-primary-dark: #3b5bdb;
  --color-primary-gradient: linear-gradient(135deg, #4c6ef5, #7c3aed);
  
  /* 상태 색상 */
  --color-success: #22c55e;
  --color-success-light: #dcfce7;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-error: #ef4444;
  --color-error-light: #fee2e2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  
  /* 그림자 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --color-shadow: rgba(0, 0, 0, 0.08);
  --color-shadow-md: rgba(0, 0, 0, 0.12);
  
  /* 스크롤바 */
  --scrollbar-bg: #f1f1f1;
  --scrollbar-thumb: #c1c1c1;
  --scrollbar-thumb-hover: #a1a1a1;
  
  /* 포커스 링 */
  --focus-ring: #667eea;
  --focus-ring-offset: 2px;
  
  /* 트랜지션 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ========================================
   Global Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

#root {
  width: 100%;
  height: 100%;
}

/* .app, .app-main 스타일은 App.css에서 정의됨 */

.loading-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   Button Base Styles
   ======================================== */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ========================================
   Input Base Styles
   ======================================== */
input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
}

input:focus, textarea:focus, button:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* ========================================
   Scrollbar Styles
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* ========================================
   Map Marker Animations
   ======================================== */
@keyframes ripple-expand {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes marker-drop {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  60% {
    transform: translateY(5px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes marker-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px);
  }
}

/* 도보 경로 애니메이션 스타일 */
@keyframes bounce-marker {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-4px);
  }
}

@keyframes footstep-fade {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* 워커 아바타 */
.walker-avatar {
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.1s ease-out;
}

/* 발자국 트레일 */
.footstep-trail {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(76, 110, 245, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: footstep-fade 1.2s ease-out forwards;
}

/* 리플 효과 (다크모드 대응) */
.kmap-ripple {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}


/*# sourceMappingURL=main.8f1b4c64cb3439f0be57.css.map*/