/* ============================================================
   Mastera ???? ??????? ??????
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-gutter: stable; }

:root {
  --primary: #1C1C28;
  --accent: #C8A97E;
  --accent-light: #F1E8DC;
  --accent-dark: #A88B5E;
  --bg: #FFFFFF; /* 원본: #FAFAF7 */
  --bg-alt: #F5F5F5; /* 원본: #F2F0EC */
  --white: #FFFFFF;
  --text: #1C1C28;
  --text-sub: #555566;
  --text-muted: #7B7B8B;
  --border: #E5E5E5;
  --success: #5A9E6F;
  --blue: #4A7FD4;
  --blue-light: #EBF2FF;
  --blue-dark: #3A6ABF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 100px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
  --mode-color: var(--accent-dark);
  --mode-color-light: var(--accent-light);
  --sub-navy: #2E2E40;
  --bg-light: #F9F9F9; /* 원본: #F7F7F5 */
  --mc-jobs: #5C3317;
  --mc-jobs-light: #F5EDE6;
  --mc-masters: #C8943E;
  --mc-masters-light: #FDF6EB;
}
body.mode-master {
  --mode-color: var(--mc-jobs);
  --mode-color-light: var(--mc-jobs-light);
}
body.mode-center {
  --mode-color: var(--mc-masters);
  --mode-color-light: var(--mc-masters-light);
}

/* Day Theme (mint + achromatic) */
body.theme-day {
  --primary: #111111;
  --accent: #5CBDB9;
  --accent-light: #F2F2F2;
  --accent-dark: #4AA8A4;
  --sub-navy: #222222;
  --text: #111111;
  --text-sub: #333333;
  --text-muted: #555555;
  --mc-jobs: #5CBDB9;
  --mc-jobs-light: #F2F2F2;
  --mc-masters: #5CBDB9;
  --mc-masters-light: #F2F2F2;
  --mode-color: #5CBDB9;
  --mode-color-light: #F2F2F2;
}

body.theme-day .topbar {
  background: #F2F2F2;
  color: #555555;
}
body.theme-day .topbar a {
  color: #555555;
}
body.theme-day .topbar a:hover {
  color: #111111;
}
body.theme-day .topbar-main-link {
  color: #333333;
}
body.theme-day .topbar-main-link:hover {
  color: #111111;
}
body.theme-day .quick-banner {
  background: #F2F2F2;
  color: #111111;
}
body.theme-day .quick-banner h2 {
  color: #111111;
}
body.theme-day .quick-banner p {
  color: #555555;
}
body.theme-day .qb-btn.instructor {
  background: #5CBDB9;
  color: #fff;
}
body.theme-day .qb-btn.instructor:hover {
  background: #4AA8A4;
  color: #fff;
}
body.theme-day .qb-btn.studio {
  background: #E0E0E0;
  color: #333333;
  border: 1px solid #CCCCCC;
}
body.theme-day .qb-btn.studio:hover {
  background: #D5D5D5;
}
body.theme-day .logo-icon {
  color: #fff;
}
/* Header auth buttons: mint bg + white text */
body.theme-day .auth-btn.master-login,
body.theme-day .auth-btn.center-login {
  background: #5CBDB9;
  color: #fff;
  border-color: #5CBDB9;
}
body.theme-day .auth-btn.master-signup,
body.theme-day .auth-btn.center-signup {
  background: transparent;
  color: #333333;
  border-color: #CCCCCC;
}
body.theme-day .auth-btn.master-signup:hover,
body.theme-day .auth-btn.center-signup:hover {
  background: #F2F2F2;
}
/* Role badges: gray bg + dark text */
body.theme-day .auth-role-badge.master,
body.theme-day .auth-role-badge.center {
  background: #EEEEEE;
  color: #333333;
}
/* Home CTA cards: light gray */
body.theme-day .home-cta-card.instructor {
  background: #F5F5F5;
  border-color: #E0E0E0;
}
body.theme-day .home-cta-card.studio {
  background: #F5F5F5;
  border-color: #E0E0E0;
}
body.theme-day .home-cta-label {
  color: #555555;
}
body.theme-day .home-cta-card h3 {
  color: #111111;
}
body.theme-day .home-cta-card ul li::before {
  color: #5CBDB9;
}
body.theme-day .home-cta-link {
  color: #333333;
}
body.theme-day .search-bar:focus-within {
  border-color: #5CBDB9;
  box-shadow: 0 0 0 3px rgba(92,189,185,0.15);
}
body.theme-day .login-box-btn.master:hover {
  background: #E8E8E8;
}
body.theme-day .login-box-btn.center:hover {
  background: #E8E8E8;
}
/* No mint text on gray backgrounds */
body.theme-day .region-dropdown-item.active {
  color: #111111;
  background: #F2F2F2;
}
body.theme-day .cat-main-link.active {
  color: #111111;
  border-bottom-color: #5CBDB9;
}
body.theme-day .cat-nav.mode-centers .cat-tab.active,
body.theme-day .cat-nav.mode-jobs .cat-tab.active,
body.theme-day .cat-nav.mode-masters .cat-tab.active,
body.theme-day .cat-nav.mode-instructors .cat-tab.active,
body.theme-day .cat-nav.mode-resumes .cat-tab.active {
  color: #111111;
  border-bottom-color: #5CBDB9;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Dev Notice Bar */
.dev-notice-bar {
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 6px 0;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.dev-notice-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ?????? Top Bar ?????? */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.topbar a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.topbar a:hover { color: #fff; }
.topbar-main-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.topbar-main-link:hover { color: #fff; }
.topbar-links {
  display: flex;
  gap: 16px;
  list-style: none;
}

/* ?????? Header ?????? */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
@media (max-width: 768px) {
  .header {
    border-bottom: none;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-family: inherit;
  flex-shrink: 0;
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  font-family: inherit;
}
.logo-text .logo-sub {
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--primary);
}
.logo-text .logo-era {
  color: var(--accent);
}
.logo-text span { color: var(--accent-dark); }

.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,126,0.15);
}
.search-region {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 100%;
  border-right: 1px solid var(--border);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  cursor: pointer;
  white-space: nowrap;
  background: var(--bg);
}
.search-region svg { flex-shrink: 0; }
.search-region .region-arrow { transition: transform var(--transition); }
.search-region.open .region-arrow { transform: rotate(180deg); }

.region-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 200px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 6px 0;
}
.region-dropdown.open { display: block; }
.region-dd-panel { max-height: 360px; overflow-y: auto; }
.region-dropdown-item {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.region-dropdown-item:hover {
  background: var(--bg);
  color: var(--text);
}
.region-dropdown-item.active {
  color: var(--accent-dark);
  font-weight: 600;
  background: var(--accent-light);
}
.region-sub-arrow { opacity: 0.4; flex-shrink: 0; }
.region-sido-item:hover .region-sub-arrow { opacity: 0.8; }
.region-back-btn {
  font-weight: 600;
  color: var(--text);
  gap: 6px;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  padding-bottom: 10px;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  height: 100%;
  background: transparent;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  flex-shrink: 0;
}
.search-btn:hover { color: var(--primary); }

.header-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.auth-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 6px;
  white-space: nowrap;
}
.auth-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.auth-btn.master-login {
  background: var(--mc-jobs-light);
  color: var(--mc-jobs);
  border-color: var(--mc-jobs-light);
}
.auth-btn.master-login:hover { opacity: 0.85; }
.auth-btn.master-signup {
  background: transparent;
  color: var(--mc-jobs);
  border-color: var(--mc-jobs);
}
.auth-btn.master-signup:hover { background: var(--mc-jobs-light); }
.auth-btn.center-login {
  background: var(--mc-masters-light);
  color: var(--mc-masters);
  border-color: var(--mc-masters-light);
}
.auth-btn.center-login:hover { opacity: 0.85; }
.auth-btn.center-signup {
  background: transparent;
  color: var(--mc-masters);
  border-color: var(--mc-masters);
}
.auth-btn.center-signup:hover { background: var(--mc-masters-light); }
.auth-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 8px;
}

.header-auth-loggedin {
  gap: 10px;
}
.auth-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.auth-role-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.auth-role-badge.master {
  background: var(--mc-jobs-light);
  color: var(--mc-jobs);
}
.auth-role-badge.center {
  background: var(--mc-masters-light);
  color: var(--mc-masters);
}
.auth-mypage-btn {
  background: var(--mode-color);
  color: #fff;
  border-color: var(--mode-color);
  text-decoration: none;
}
.auth-mypage-btn:hover {
  opacity: 0.85;
}
.auth-logout-btn {
  background: var(--bg-alt);
  color: var(--text-sub);
  border-color: var(--border);
}
.auth-logout-btn:hover {
  background: var(--border);
  color: var(--text);
}

.mobile-auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-auth-user strong {
  font-size: 15px;
  color: var(--text);
  flex: 1;
}
.mobile-logout-btn {
  font-size: 13px;
  padding: 6px 14px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin: 4px 0;
  transition: var(--transition);
}

/* ?????? Category Nav ?????? */
.cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cat-mode-toggle {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cat-mode-tooltip {
  position: absolute;
  bottom: -42px;
  left: 16px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.cat-mode-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 48px;
  width: 10px;
  height: 10px;
  background: var(--text);
  transform: rotate(45deg);
  border-radius: 0;
}
.cat-mode-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}
.cat-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0 16px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.cat-mode-btn:hover { color: var(--text-sub); text-decoration: none; }
.cat-mode-btn[data-tab="centers"].active,
.cat-mode-btn[data-tab="jobs"].active {
  color: var(--mc-jobs);
  border-bottom-color: var(--mc-jobs);
}
.cat-mode-btn[data-tab="masters"].active,
.cat-mode-btn[data-tab="resumes"].active {
  color: var(--mc-masters);
  border-bottom-color: var(--mc-masters);
}
.cat-nav-scroll {
  overflow: hidden;
  max-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: none;
  transition: max-height 0.25s ease;
}
.cat-nav-scroll.open {
  max-height: 50px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}
.cat-nav-scroll.no-transition { transition: none; }
.cat-nav-scroll::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  align-items: stretch;
}
.cat-tab {
  display: flex;
  align-items: center;
  padding: 0 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.cat-tab:hover { color: var(--text-sub); }
.cat-tab.active { font-weight: 700; }
.cat-nav.mode-centers .cat-tab.active,
.cat-nav.mode-jobs .cat-tab.active {
  color: var(--mc-jobs);
  border-bottom-color: var(--mc-jobs);
}
.cat-nav.mode-masters .cat-tab.active,
.cat-nav.mode-instructors .cat-tab.active,
.cat-nav.mode-resumes .cat-tab.active {
  color: var(--mc-masters);
  border-bottom-color: var(--mc-masters);
}

/* ?????? Main Layout ?????? */
.main { padding: 28px 0 60px; min-height: calc(100vh - 180px); }
.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}

/* ?????? Home Dual List ?????? */
.home-dual-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.home-list-col .sec-title { margin-bottom: 14px; }

/* ?????? Home Steps (????? - side-card ????) ?????? */
.home-steps-card {
  text-align: center;
}
.home-steps-card .side-card-title {
  justify-content: center;
}
.home-steps-inner {
  text-align: center;
}
.home-steps-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.home-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  justify-content: center;
}
.home-step-item + .home-step-item {
  border-top: 1px solid var(--border);
}
.home-step-item .home-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.home-step-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1px;
}
.home-step-item span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ?????? Home CTA Dual (??/??? ???) ?????? */
.home-cta-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  transition: box-shadow .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.home-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.home-cta-card.instructor {
  background: linear-gradient(135deg, #fdf6ef 0%, #f8ede0 100%);
  border: 1px solid #e8d5c0;
}
.home-cta-card.studio {
  background: linear-gradient(135deg, #f5f0e8 0%, #eee5d6 100%);
  border: 1px solid #ddd0bc;
}
.home-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.home-cta-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
}
.home-cta-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.home-cta-card ul li {
  font-size: 13px;
  color: var(--text-sub);
  padding: 2px 0;
  line-height: 1.6;
}
.home-cta-card ul li::before {
  content: '\2713';
  color: var(--accent-dark);
  font-weight: 700;
  margin-right: 6px;
}
.home-cta-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}

/* ── Home Performances Section ── */
.home-performances {
  margin: 8px 0 24px;
}
.home-performances .sec-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.home-performances .sec-title h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: #222;
}
.home-performances .sec-title a {
  font-size: 13px;
  color: var(--text-sub, #666);
  text-decoration: none;
}
.home-performances .sec-title a:hover { color: var(--accent-dark); }

.home-pf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.home-pf-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border, #ececec);
  border-radius: 8px; overflow: hidden;
  background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .15s;
}
.home-pf-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.10); transform: translateY(-2px); }

.home-pf-poster {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f6f7fa, #ecedf2);
  overflow: hidden;
}
.home-pf-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-pf-no-poster {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 36px; font-weight: 700;
  color: rgba(0,0,0,.10);
}
.home-pf-status {
  position: absolute; top: 6px; left: 6px;
  padding: 2px 7px;
  font-size: 10px; font-weight: 600;
  border-radius: 3px;
  background: rgba(0,0,0,.7); color: #fff;
}
.home-pf-status.status-ongoing  { background: #16a34a; }
.home-pf-status.status-upcoming { background: #2563eb; }
.home-pf-status.status-ended    { background: #6b7280; }

.home-pf-body {
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.home-pf-genre {
  font-size: 10px; color: var(--text-sub, #888);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-pf-title {
  font-size: 12.5px; font-weight: 600; color: #222;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.home-pf-venue {
  font-size: 11px; color: var(--text-sub, #777);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.home-pf-date {
  font-size: 11px; color: var(--text-muted, #999);
}

@media (max-width: 1100px) { .home-pf-grid { grid-template-columns: repeat(4, 1fr); } .home-pf-card:nth-child(n+5) { display: none; } }
@media (max-width: 760px)  { .home-pf-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .home-pf-card:nth-child(n+4) { display: none; } }
@media (max-width: 480px)  { .home-pf-grid { grid-template-columns: repeat(2, 1fr); } .home-pf-card:nth-child(n+3) { display: none; } }

/* ?????? Home Bottom Grid (3?2) ?????? */
.home-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.home-ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
}
.home-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-notice-list a {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.home-notice-list a:hover { color: var(--text); }
.home-notice-list .notice-date {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-recent-list a {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-recent-list a:hover { color: var(--text); }
.home-recent-list a span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-recent-list em { color: var(--blue); font-size: 12px; font-style: normal; font-weight: 700; flex-shrink: 0; }
.home-recent-list .notice-date { color: var(--text-muted); font-size: 12px; white-space: nowrap; flex-shrink: 0; }

.home-recent-masters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-recent-masters a {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.home-recent-masters a:hover { color: var(--text); }
.home-master-name { font-weight: 500; }
.home-recent-masters .notice-date { color: var(--text-muted); font-size: 12px; white-space: nowrap; flex-shrink: 0; }

/* ?????? Quick Banner ?????? */
.quick-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2E2E40 100%);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.quick-banner h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.quick-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.quick-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.qb-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.qb-btn.instructor {
  background: var(--accent);
  color: var(--primary);
}
.qb-btn.instructor:hover { background: var(--accent-dark); color: var(--white); }
.qb-btn.studio {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.qb-btn.studio:hover { background: rgba(255,255,255,0.25); }

/* ?????? Section Title ?????? */
.sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sec-title h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sec-title a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.sec-title a:hover { color: var(--text-sub); }

/* ?????? Job List ?????? */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
  cursor: pointer;
}
.job-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.job-card > :last-child { margin-bottom: 0; }
.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.job-title-wrap {
  flex: 1;
  min-width: 0;
}
.job-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-title-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
  margin-left: 6px;
}
.job-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.job-inline-tags .jt-cat,
.job-inline-tags .jt-type {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 3px;
}
.job-inline-tags .jt-cat {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}
.job-inline-tags .jt-type {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.job-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.job-badge.urgent {
  background: #FEE2E2;
  color: #DC2626;
}
.job-badge.new {
  background: #DBEAFE;
  color: #2563EB;
}
.job-badge.premium {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.job-studio {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 6px;
  line-height: 1.4;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.job-bio {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-meta-item + .job-meta-item::before {
  content: '\00B7';
  margin-right: 4px;
  color: var(--text-muted);
  font-weight: 700;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job-tag {
  padding: 3px 10px;
  background: var(--bg);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
}
.job-tag.type {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* ?????? Sidebar ?????? */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.side-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-box {
  padding: 24px;
  text-align: center;
}
.login-box p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.login-box-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-box-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.login-box-btn.master {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.login-box-btn.master:hover { background: #E8DCCB; }
.login-box-btn.center {
  background: var(--blue-light);
  color: var(--blue);
  border-color: var(--blue);
}
.login-box-btn.center:hover { background: #D9E6FA; }

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.quick-link:hover { background: var(--bg-alt); }
.quick-link-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.quick-link-icon.warm { background: var(--accent-light); }
.quick-link-icon.cool { background: var(--blue-light); }
.quick-link-icon.green { background: #D1FAE5; }
.quick-link-icon.purple { background: #EDE9FE; }
.quick-link span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.cat-chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.cat-chip.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent);
  font-weight: 600;
}

/* ?????? Footer ?????? */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-brand .footer-logo .logo-icon {
  width: 34px;
  height: 34px;
  font-size: 24px;
}
.footer-brand .footer-logo .logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}
.footer-brand .footer-logo .logo-text em {
  font-style: normal;
  color: var(--accent-dark);
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 0;
}
.footer-brand .footer-info {
  margin-top: auto;
  padding-top: 16px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--text); }
.footer-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}
.footer-info strong {
  color: var(--text-sub);
  font-weight: 600;
}
.footer-bottom {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-visitor {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.footer-visitor strong {
  color: var(--text-sub);
  font-weight: 700;
}
.footer-app-download {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.footer-app-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.footer-app-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 4px;
}
.footer-app-badges {
  display: flex;
  gap: 10px;
}
.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  transition: opacity .15s;
  white-space: nowrap;
}
.footer-app-badge:hover { opacity: .85; }
@media (max-width: 768px) {
  .footer-app-badges { width: 100%; }
  .footer-app-badge { flex: 1; justify-content: center; padding: 10px 14px; }
}

/* ?????? Responsive ?????? */
@media (max-width: 1024px) {
  .header-auth { display: none; }
  .mobile-menu-btn { display: block; margin-left: 12px; }
  .search-bar { flex: 0 1 480px; margin-left: auto; }
  .main-grid { grid-template-columns: 1fr 280px; gap: 20px; }
  .home-dual-list { gap: 20px; }
  .home-bottom-grid { gap: 14px; }
  .quick-banner { padding: 18px 20px; }
  .quick-banner h2 { font-size: 17px; }
  .cat-mode-toggle { border-bottom: 1px solid var(--border); }
  .cat-mode-tooltip {
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    font-size: 12px;
    bottom: -38px;
  }
  .cat-mode-tooltip::before { left: 50%; margin-left: -5px; }
  .cat-mode-tooltip.show { transform: translateX(-50%) translateY(0); }
  .cat-mode-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    min-height: 40px;
    min-width: 0;
    border-bottom-width: 2px;
    border-bottom-color: transparent;
  }
  .cat-nav-scroll.open {
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: rgba(200,200,200,0.4) transparent;
  }
  .cat-nav-scroll.open::-webkit-scrollbar { display: block; height: 3px; }
  .cat-nav-scroll.open::-webkit-scrollbar-track { background: transparent; }
  .cat-nav-scroll.open::-webkit-scrollbar-thumb { background: rgba(200,200,200,0.4); border-radius: 3px; }
  .cat-tab {
    padding: 0 12px;
    min-height: 36px;
    font-size: 14px;
    border-bottom-width: 2px;
    border-bottom-color: transparent;
  }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .header { padding-top: 20px; padding-bottom: 12px; }
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 0;
    gap: 0;
  }
  .logo { order: 1; }
  .mobile-menu-btn { order: 2; margin-left: auto; }
  .search-bar {
    order: 3;
    max-width: none;
    flex: 0 0 100%;
    margin-left: 0;
    margin-top: 14px;
    margin-bottom: 0;
    height: 42px;
  }
  .search-region { display: flex; font-size: 15px; padding: 0 10px; }
  .search-input { font-size: 15px; }
  .main-grid { grid-template-columns: 1fr; }
  .main { padding: 24px 0 48px; }
  .sidebar { order: -1; }
  .home-dual-list { grid-template-columns: 1fr; gap: 28px; }
  .home-bottom-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-cta-card { padding: 18px; }

  .quick-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 22px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
  }
  .quick-banner h2 { font-size: 17px; }
  .quick-banner p { font-size: 14px; }
  .quick-banner-actions { width: 100%; }
  .qb-btn { padding: 12px 16px; font-size: 15px; }

  .sec-title { margin-bottom: 14px; }
  .sec-title h3 { font-size: 18px; }
  .job-list { gap: 8px; }
  .job-card { padding: 16px 18px; }
  .job-card-top { margin-bottom: 8px; }
  .job-title { font-size: 15px; }
  .job-inline-tags .jt-cat, .job-inline-tags .jt-type { font-size: 10px; padding: 1px 5px; }
  .job-studio { font-size: 13px; margin-bottom: 8px; }
  .job-meta { flex-wrap: wrap; gap: 6px; font-size: 13px; }
  .job-tags { gap: 5px; }
  .job-tag { font-size: 13px; padding: 4px 12px; }
  .job-badge { font-size: 13px; padding: 3px 10px; }

  .login-box { padding: 22px; }
  .login-box p { font-size: 15px; margin-bottom: 14px; }
  .login-box-btn { padding: 13px 16px; font-size: 15px; }
  .login-box-btns { gap: 10px; }
  .side-card { padding: 18px 18px; }
  .side-card-title { font-size: 16px; margin-bottom: 14px; }
  .quick-links { gap: 10px; }
  .quick-link { padding: 16px 10px; }
  .quick-link span { font-size: 14px; }
  .quick-link-icon { width: 40px; height: 40px; font-size: 20px; }

  .cat-chip { padding: 7px 14px; font-size: 14px; }

  /* Mobile footer */
  .footer { padding: 28px 0 20px; }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 20px;
    margin-bottom: 16px;
  }
  .footer-brand { grid-column: 1; }
  .footer-brand p { font-size: 13px; line-height: 1.7; }
  .footer-brand .footer-info { margin-top: 14px; padding-top: 0; }
  .footer-col { display: none; }
  .footer-info { font-size: 11px; line-height: 1.7; }
  .footer-bottom { font-size: 11px; margin-top: 12px; }

  .logo-icon { width: 28px; height: 28px; font-size: 16px; }
  .logo-text { font-size: 23px; }
  .logo-text .logo-sub { font-size: 18px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .search-bar { height: 40px; }
  .search-region { font-size: 14px; padding: 0 8px; gap: 3px; }
  .search-input { font-size: 15px; padding: 0 10px; }
  .search-btn { width: 36px; }

  .quick-banner-actions { flex-direction: column; width: 100%; }
  .qb-btn { width: 100%; text-align: center; }

  .main { padding: 20px 0 40px; }
  .job-card { padding: 14px 16px; }
  .job-title { font-size: 15px; }
  .job-meta { gap: 5px; }
  .job-meta-item svg { display: none; }

  .sidebar { gap: 14px; }
  .side-card { padding: 16px 16px; }
  .login-box-btns { gap: 8px; }
}

/* ?????? Mobile Auth Drawer ?????? */
.mobile-auth {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 20px;
}
.mobile-auth.open { display: block; }
.mobile-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.mobile-auth-section {
  text-align: center;
}
.mobile-auth-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.mobile-auth-section .auth-btn {
  width: 100%;
  display: block;
  margin-bottom: 6px;
  text-align: center;
  padding: 10px 14px;
  font-size: 15px;
  min-height: 44px;
  line-height: 1.4;
}
.mobile-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mobile-nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 4px 0;
}
.mobile-app-download {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mobile-app-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.mobile-app-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 4px;
}
.mobile-app-badges {
  display: flex;
  gap: 8px;
}
.app-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  transition: opacity .15s;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}
.app-badge-link:hover { opacity: .85; }

/* ?????? Side Ad (????????????) ?????? */
.side-ad {
  position: fixed;
  top: 200px;
  z-index: 90;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-ad-right {
  right: calc((100vw - 1240px) / 2 - 220px);
}
.side-ad-inner {
  width: 200px;
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .05em;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.side-ad-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1720px) {
  .side-ad { display: none; }
}

/* ─── Sub-Service Nav ─── */
.cat-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.cat-main-links {
  display: flex;
  gap: 0;
}
.cat-main-link {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
  border-bottom: 2px solid transparent;
}
.cat-main-link:hover { color: var(--text); }
.cat-main-link.active {
  color: var(--mode-color, var(--accent-dark));
  border-bottom-color: var(--mode-color, var(--accent-dark));
  font-weight: 700;
}
.cat-content-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.cat-content-link {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 48px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cat-content-link:hover { color: var(--text); }
.cat-content-link.active { color: var(--sub-navy); font-weight: 700; }
.cat-content-more { position: relative; }
.cat-more-btn svg { margin-left: 3px; transition: transform .2s; }
.cat-more-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  min-width: 140px;
  z-index: 100;
  padding: 6px 0;
}
.cat-more-dropdown.open { display: block; }
.cat-content-more:hover .cat-more-dropdown { display: block; }
.cat-content-more:hover .cat-more-btn svg { transform: rotate(180deg); }
.cat-more-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: background .1s;
}
.cat-more-item:hover { background: var(--bg-light); }
.cat-more-item.active { color: var(--sub-navy); font-weight: 600; }
.cat-content-mobile {
  display: none;
}
.no-transition { transition: none !important; }

@media (max-width: 768px) {
  .cat-nav { border-bottom: none; }
  .cat-service-row { height: auto; flex-direction: column; align-items: stretch; }
  .cat-main-links {
    display: flex;
    overflow: hidden;
    padding: 0;
  }
  .cat-main-links::-webkit-scrollbar { display: none; }
  .cat-main-link {
    flex: 1;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    height: 52px;
    flex-shrink: 1;
    text-align: center;
  }
  .cat-nav-scroll { display: none; }
  .cat-nav-scroll.open { display: none; }
  .cat-nav-scroll.m-open { display: block; }
  .cat-nav-scroll .cat-nav-inner { padding: 0 14px; }
  .cat-tab { font-size: 15px; padding: 0 14px; min-height: 44px; }
  .cat-content-links { display: none; }
  .cat-content-mobile {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 14px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
    gap: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(200,200,200,0.5) transparent;
  }
  .cat-content-mobile::-webkit-scrollbar { display: block; height: 3px; }
  .cat-content-mobile::-webkit-scrollbar-track { background: transparent; }
  .cat-content-mobile::-webkit-scrollbar-thumb { background: rgba(200,200,200,0.5); border-radius: 3px; }
  .cat-content-mobile .cat-content-link {
    height: 46px;
    font-size: 14px;
    padding: 0 14px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Active main tab + category row connected background */
  .cat-nav.mode-jobs .cat-main-link.active,
  .cat-nav.mode-centers .cat-main-link.active {
    background: var(--mc-jobs-light);
    border-bottom-color: var(--mc-jobs-light);
  }
  .cat-nav.mode-resumes .cat-main-link.active,
  .cat-nav.mode-masters .cat-main-link.active {
    background: var(--mc-masters-light);
    border-bottom-color: var(--mc-masters-light);
  }
  .cat-nav.mode-jobs .cat-nav-scroll,
  .cat-nav.mode-centers .cat-nav-scroll {
    background: var(--mc-jobs-light);
    border-bottom: none;
  }
  .cat-nav.mode-resumes .cat-nav-scroll,
  .cat-nav.mode-masters .cat-nav-scroll {
    background: var(--mc-masters-light);
    border-bottom: none;
  }
}

/* ─── Mobile Bottom Nav ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--border);
  height: calc(58px + env(safe-area-inset-bottom, 0));
  padding-bottom: env(safe-area-inset-bottom, 0);
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 0;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.mbn-item svg {
  width: 24px;
  height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mbn-item.active { color: var(--accent-dark); font-weight: 700; }
.mbn-item:active { color: var(--accent-dark); }

@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
  .footer { margin-bottom: 0; }
}

/* ─── Capacitor App ─── */
.is-capacitor-app .dev-notice-bar { display: none; }
.is-capacitor-app .topbar { display: none; }
.is-capacitor-app .header {
  padding-top: env(safe-area-inset-top, 0);
}
.is-capacitor-app .mobile-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0);
}


/* ====== Home: 창업·운영가이드 섹션 ====== */
.home-guides {
  margin-top: 48px;
  margin-bottom: 16px;
}
.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #e5e0d6);
  border-radius: 0;
  padding: 20px 22px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height: 168px;
}
.home-guide-card:hover {
  border-color: var(--accent-dark, #a88b5e);
  box-shadow: 0 14px 32px -10px rgba(168, 139, 94, 0.28), 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.home-guide-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.home-guide-tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-light, #f8f5ee);
  color: var(--text-muted, #888);
  border-radius: 0;
}
.home-guide-tag--feat {
  background: var(--accent-dark, #a88b5e);
  color: #fff;
}
.home-guide-tag--topic {
  background: #1f1f1f;
  color: #fff;
}
.home-guide-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-guide-card-desc {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted, #777);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.home-guide-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--text-muted, #aaa);
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 10px;
}
.home-guide-card-dot { color: rgba(0,0,0,0.2); }

@media (max-width: 1024px) {
  .home-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-guide-card { padding: 16px 18px 14px; min-height: auto; }
}
