/* Header Styles - Figma Design */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

.content{
  width:1150px;
  margin:0 auto;
}

header.wrap {
  background: #ffffff;
  border-bottom: 1px solid #e8eef2;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .header-container {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo */
header .site-logo-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #17191a;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  height: 20px;
  flex-shrink: 0;
}

header .site-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Mobile Menu Toggle Button */
header .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  gap: 3px;
}

header .mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background: #17191a;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

header .mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

header .mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

header .mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Navigation Menu */
header .header-nav {
  display: flex;
  align-items: right;
  gap: 20px;
  flex: 1;
  justify-content: right;
  font-weight: 500;
}

header .header-nav a {
  height: 72px;
  line-height: 72px;
  color: #646464;
}

header .header-nav a.active {
  color: #000000;
  border-bottom: 2px solid #000000;
}

header .menu-dropdown {
  position: relative;
  display: inline-block;
}

header .menu-dropdown > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #575758;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

header .menu-dropdown:hover > a,
header .menu-dropdown.active > a {
  background: #f2f8fc;
  color: #006fff;
}

header .menu-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #e8eef2;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 1000;
  padding: 4px 0;
}

header .menu-dropdown:hover .menu-dropdown-content {
  display: block;
}

header .menu-dropdown-item {
  padding: 8px 16px;
}

header .menu-dropdown-item a {
  display: block;
  text-decoration: none;
  color: #464a4d;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  transition: color 0.2s;
}

header .menu-dropdown-item a:hover {
  color: #17191a;
}

/* Regular Menu Links */
header > a:not(.site-logo-link) {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #464a4d;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

header > a:not(.site-logo-link):hover {
  background: #f2f8fc;
  color: #17191a;
}

/* User Actions (데스크톱) */
header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mobile User Section (모바일에서만 표시, 기본 숨김) */
header .mobile-user-section {
  display: none;
}

header .header-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

/* Secondary Button Style */
header .header-actions a:not(.btn-primary) {
  color: #000000;
}
/* Primary Button Style */
header .header-actions a.btn-primary {
  background: #000000;
  color: #ffffff;
}

header .header-actions a.btn-primary:hover {
  background: #0052cc;
}

/* Logout Link */
header .logout-link {
  background: transparent !important;
  color: #464a4d !important;
}

header .logout-link:hover {
  background: #f2f8fc !important;
  color: #17191a !important;
}

header .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

header .user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #006fff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* 알림 배지 스타일 */
header .notification-link {
  position: relative;
}

header .notification-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff4444;
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  header .mobile-user-section .user-avatar,
  header .mobile-user-section .user-avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  header .header-nav a {
    height: 50px;
    line-height: 50px;
  }

}


/* Footer - Dark/Light Theme Support */

/* Dark Theme (기본값) */
.site-footer--dark {
  --footer-bg: #0d141b;
  --footer-bg-bottom: #0a1016;
  --footer-text: #d6dae1;
  --footer-text-secondary: #9aa4b2;
  --footer-text-muted: #8a94a5;
  --footer-text-link: #b5bdc9;
  --footer-text-title: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-social-border: rgba(255, 255, 255, 0.2);
  --footer-social-hover-bg: #ffffff;
  --footer-social-hover-text: #0d141b;
  background: var(--footer-bg);
  color: var(--footer-text);
}

/* Light Theme */
.site-footer--light {
  --footer-bg: #ffffff;
  --footer-bg-bottom: #f8f9fa;
  --footer-text: #464a4d;
  --footer-text-secondary: #6c757d;
  --footer-text-muted: #8a94a5;
  --footer-text-link: #6c757d;
  --footer-text-title: #17191a;
  --footer-border: rgba(0, 0, 0, 0.1);
  --footer-social-border: rgba(0, 0, 0, 0.15);
  --footer-social-hover-bg: #17191a;
  --footer-social-hover-text: #ffffff;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  padding: 60px 0 40px;
}

.site-footer__logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--footer-text-title);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.site-footer__desc {
  margin: 0 0 20px;
  line-height: 1.6;
  color: var(--footer-text-secondary);
  transition: color 0.3s ease;
}

.site-footer__social {
  display: flex;
  gap: 12px;
}

.site-footer__social a {
  color: var(--footer-text-title);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid var(--footer-social-border);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer__social a:hover {
  background: var(--footer-social-hover-bg);
  color: var(--footer-social-hover-text);
  border-color: var(--footer-social-hover-bg);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.site-footer__links h3 {
  font-size: 15px;
  color: var(--footer-text-title);
  margin: 0 0 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: var(--footer-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--footer-text-title);
}

.site-footer__contact li {
  font-size: 14px;
  color: var(--footer-text-secondary);
  transition: color 0.3s ease;
}

.site-footer__bottom {
  border-top: 1px solid var(--footer-border);
  padding: 18px 0;
  background: var(--footer-bg-bottom);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-footer__bottom .content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__bottom span {
  font-size: 13px;
  color: var(--footer-text-muted);
  transition: color 0.3s ease;
}

.site-footer__policies {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__policies a {
  color: var(--footer-text-link);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__policies a:hover {
  color: var(--footer-text-title);
}

.padding-top-10 {
  padding-top: 10px;
}

.padding-top-20 {
  padding-top: 20px;
}

.padding-top-30 {
  padding-top: 30px;
}

.padding-top-40 {
  padding-top: 40px;
}

.padding-top-50 {
  padding-top: 50px;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

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

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-bottom-50 {
  margin-bottom: 50px;
}

#appHeader {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .content-wrap{
    width:100%;
  }

  header.wrap {
    height: auto;
    min-height: 68px;
    padding: 12px 16px;
  }

  header .header-container {
    flex-direction: row;
    height: auto;
    gap: 12px;
    position: relative;
  }

  /* Mobile Menu Toggle Button */
  header .mobile-menu-toggle {
    display: flex;
    order: 3;
  }

  /* Navigation Menu - Mobile */
  header .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
  }

  header .header-nav.mobile-open {
    right: 0;
  }

  header .header-nav a:not(.mobile-user-info):not(.mobile-logout-link):not(.mobile-login-link):not(.mobile-register-link) {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    border-radius: 0;
  }

  header .header-nav a:not(.mobile-user-info):not(.mobile-logout-link):not(.mobile-login-link):not(.mobile-register-link):hover {
    background: #f2f8fc;
  }

  header .header-nav a:not(.mobile-user-info):not(.mobile-logout-link):not(.mobile-login-link):not(.mobile-register-link).active {
    color: #006fff;
    background: #f2f8fc;
    font-weight: 700;
  }

  /* Menu Dropdown - Mobile */
  header .menu-dropdown {
    width: 100%;
    display: block;
  }

  header .menu-dropdown > a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
  }

  header .menu-dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
  }

  header .menu-dropdown.active .menu-dropdown-content {
    display: block;
  }

  header .menu-dropdown-item {
    padding: 0;
    border-bottom: 1px solid #e8eef2;
  }

  header .menu-dropdown-item a {
    padding: 10px 16px 10px 32px;
    font-size: 14px;
    color: #464a4d;
  }

  header .menu-dropdown-item a.active {
    color: #006fff;
    background: #f2f8fc;
  }

  /* 데스크톱 User Actions - 모바일에서 숨김 */
  header .header-actions {
    display: none;
  }

  /* 모바일 User Section - 모바일 메뉴 안에 표시 */
  header .mobile-user-section {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8eef2;
  }

  header .mobile-user-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #17191a;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
  }

  header .mobile-user-info:hover {
    background: #f2f8fc;
  }

  header .mobile-user-name {
    flex: 1;
    text-align: left;
  }

  header .mobile-logout-link,
  header .mobile-login-link,
  header .mobile-register-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.2s;
  }

  header .mobile-logout-link {
    background: transparent;
    color: #464a4d;
    border: 1px solid #e8eef2;
  }

  header .mobile-logout-link:hover {
    background: #f2f8fc;
    color: #17191a;
  }

  header .mobile-login-link {
    background: transparent;
    color: #006fff;
    border: 1px solid #e8eef2;
  }

  header .mobile-login-link:hover {
    background: #f2f8fc;
  }

  header .mobile-register-link {
    background: #006fff;
    color: #ffffff;
    border: none;
  }

  header .mobile-register-link:hover {
    background: #0052cc;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 30px;
  }

  .site-footer__links {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .site-footer__bottom .content-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}

@media (max-width: 480px) {
  header.wrap {
    padding: 10px 12px;
  }

  header .header-container {
    gap: 8px;
  }

  header .site-logo-link {
    font-size: 20px;
  }

  header .site-logo-img {
    height: 30px;
  }

  header .header-nav {
    width: 260px;
    max-width: 90vw;
  }

  /* 모바일 User Section은 이미 위에서 정의됨 */
}

/* Menu Separator */
header .menu-separator {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #e8eef2;
  margin: 0 4px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  header .menu-separator {
    display: none;
  }
}

/* ============================================
   통일된 페이지네이션 스타일
   블로그 리스트 및 게시판 리스트 공통 사용
   ============================================ */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* 페이지네이션 버튼 기본 스타일 */
.pagination .btn,
.pagination .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* 버튼 호버 효과 */
.pagination .btn:hover,
.pagination .pagination-link:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

/* 비활성 버튼 (btn-secondary) */
.pagination .btn-secondary,
.pagination .pagination-link:not(.active) {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #6b7280;
}

.pagination .btn-secondary:hover,
.pagination .pagination-link:not(.active):hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}

/* 활성 버튼 (btn-primary) */
.pagination .btn-primary,
.pagination .pagination-link.active,
.pagination span[aria-current="page"] {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
  font-weight: 600;
  cursor: default;
}

.pagination .btn-primary:hover,
.pagination .pagination-link.active:hover {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

/* 생략 표시 (...) */
.pagination > span:not([aria-current="page"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  color: #9ca3af;
  font-size: 14px;
  user-select: none;
}



/* PC에서만 표시 (명시적) */
@media (min-width: 769px) {
  .pagination {
    display: flex !important;
  }
  
  #blogPaginationWrap,
  #boardPagination {
    display: block !important;
  }
}

/* ============================================
   모바일 웹 홈화면 추가 배너
   ============================================ */
.add-to-home-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e8eef2;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding: 12px 16px;
  display: none;
}

.add-to-home-banner--show {
  transform: translateY(0);
}

.add-to-home-banner__content {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.add-to-home-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f8fc;
  border-radius: 10px;
  color: #006fff;
}

.add-to-home-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.add-to-home-banner__text strong {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  color: #17191a;
}

.add-to-home-banner__text span {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #6c757d;
}

.add-to-home-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.add-to-home-banner__btn {
  border: none;
  cursor: pointer;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.add-to-home-banner__btn--primary {
  background: #006fff;
  color: #ffffff;
}

.add-to-home-banner__btn--primary:hover {
  background: #0052cc;
}

.add-to-home-banner__btn--primary:active {
  background: #0047b3;
}

.add-to-home-banner__btn--close {
  background: transparent;
  color: #6c757d;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.add-to-home-banner__btn--close:hover {
  background: #f2f8fc;
  color: #17191a;
}

/* 데스크톱에서는 배너 숨김 */
@media (min-width: 769px) {
  .add-to-home-banner {
    display: none !important;
  }
}

/* ============================================
   홈화면 추가 안내 모달
   ============================================ */
.add-to-home-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.add-to-home-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-to-home-modal--show .add-to-home-modal__overlay {
  opacity: 1;
}

.add-to-home-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.add-to-home-modal--show .add-to-home-modal__content {
  transform: scale(1);
  opacity: 1;
}

.add-to-home-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #6c757d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  padding: 0;
}

.add-to-home-modal__close:hover {
  background: #f2f8fc;
  color: #17191a;
}

.add-to-home-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #f2f8fc;
  border-radius: 16px;
  color: #006fff;
}

.add-to-home-modal__title {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #17191a;
  text-align: center;
  margin: 0 0 20px;
}

.add-to-home-modal__instructions {
  margin-bottom: 24px;
}

.add-to-home-modal__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.add-to-home-modal__steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: #464a4d;
}

.add-to-home-modal__steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #006fff;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.add-to-home-modal__steps li strong {
  color: #17191a;
  font-weight: 600;
}

.add-to-home-modal__icon-inline {
  display: inline-block;
  background: #f2f8fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #006fff;
  font-weight: 600;
  margin: 0 2px;
}

.add-to-home-modal__actions {
  display: flex;
  gap: 8px;
}

.add-to-home-modal__btn {
  flex: 1;
  border: none;
  cursor: pointer;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.add-to-home-modal__btn--primary {
  background: #006fff;
  color: #ffffff;
}

.add-to-home-modal__btn--primary:hover {
  background: #0052cc;
}

.add-to-home-modal__btn--primary:active {
  background: #0047b3;
}

.add-to-home-modal__btn--secondary {
  background: #f2f8fc;
  color: #464a4d;
}

.add-to-home-modal__btn--secondary:hover {
  background: #e8eef2;
  color: #17191a;
}

.add-to-home-modal__btn--secondary:active {
  background: #d6dce0;
}

/* 모바일 반응형 */
@media (max-width: 480px) {
  .add-to-home-modal__content {
    padding: 24px 20px 20px;
    max-width: 100%;
  }
  
  .add-to-home-modal__title {
    font-size: 18px;
    line-height: 24px;
  }
  
  .add-to-home-modal__steps li {
    font-size: 14px;
    line-height: 20px;
    padding-left: 28px;
  }
  
  .add-to-home-modal__steps li::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

