/* =========================================================
   UNION COUNTY — Apple-style Theme
   · 밝은 회색 바탕(#f5f5f7) + 흰색/검정 타일 카드, 큰 중앙 정렬 제목,
     파란 알약 버튼(#ffa94d), 얇은 반투명 상단 메뉴, 작은 회색 푸터.
   · 모든 페이지에서 다른 CSS 뒤에 불러옵니다. (글자색은 --ink 변수 → 어두운 타일 안에서는 뒤집힘)
   ========================================================= */

:root {
  --ink: #1d1d1f;
  --ink-rgb: 29, 29, 31;
  --blue: #ffa94d;
  --blue-hover: #ff9d33;
  --link: #b45309;
  --tile: #ffffff;
  --page: #f5f5f7;
  --r-tile: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --bg-primary: var(--page);
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfbfd;
  --gold: #c96a00;
  --gold-light: #ffb86b;
  --gold-dark: #a15500;
  --on-blue: #2b1600;
  --white: var(--ink);
  --white-60: rgba(var(--ink-rgb), 0.82);
  --white-30: rgba(var(--ink-rgb), 0.64);
  --white-10: rgba(var(--ink-rgb), 0.06);
  --border: rgba(var(--ink-rgb), 0.12);
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  --font-ko: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
}

html { background: var(--page); }
body {
  background: var(--page) !important;
  color: var(--ink);
  font-family: var(--font-ko);
  letter-spacing: -0.011em;
  text-shadow: none;
}
body::before, body::after { content: none !important; }
a { color: inherit; }
::selection { background: rgba(255,159,67, 0.25); }

/* ---------- 상단 메뉴: 얇은 반투명 흰색 ---------- */
.navbar, .navbar.scrolled { padding: 0 !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.navbar .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  box-sizing: border-box; position: relative; height: 48px;
  max-width: 1024px; margin: 0 auto; padding: 0 22px;
}
.navbar::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 251, 253, 0.80);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.logo-main { font-family: var(--font-en); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.logo-accent { color: var(--blue) !important; }
.logo-sub { display: none; }
.nav-links { gap: 28px; }
.nav-link { font-size: 0.75rem !important; font-weight: 400; letter-spacing: 0 !important; color: rgba(29, 29, 31, 0.88) !important; opacity: 1; padding: 0 !important; }
.nav-link:hover, .nav-link.active { color: #000 !important; opacity: 1; }
.nav-link::after, .nav-link::before { display: none !important; }
.nav-link.nav-login { border: none !important; padding: 5px 13px !important; border-radius: 980px; background: var(--blue); color: var(--on-blue) !important; }
.nav-link.nav-login:hover { background: var(--blue-hover); color: var(--on-blue) !important; }
.nav-caret { opacity: 0.6; }
.nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96) !important; border: none !important; border-radius: var(--r-md) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16) !important; padding: 8px !important;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.nav-dropdown-item { border-radius: 12px; color: var(--ink) !important; }
.nav-dropdown-item:hover { background: rgba(0, 0, 0, 0.05) !important; }
.nav-dropdown-item small { color: rgba(29,29,31,0.6) !important; }
.nav-toggle span { background: var(--ink) !important; }
@media (max-width: 1080px) {
  .navbar .nav-inner { padding: 0 18px; }
  .nav-links {
    background: rgba(251, 251, 253, 0.98) !important; border-left: 1px solid rgba(0,0,0,0.08) !important; border-radius: 0 !important;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    gap: 22px; align-items: flex-start;
  }
  .nav-link { font-size: 1.25rem !important; font-weight: 600; }
  .nav-toggle { position: relative; z-index: 1002; padding: 8px; box-sizing: content-box; }
}

/* ---------- 구역 ---------- */
.about, .services, .process, .contact, .crew-section, .capabilities, .crew-cta,
.cp-main, .profile-main, .admin-main, .crew-hero, .hero {
  background: transparent !important; color: var(--ink);
}
.about, .services, .process, .contact { padding: 100px 0 !important; border: none !important; }
.about, .process { background: #fff !important; }
.about::before, .services::before, .process::before, .contact::before { content: none !important; }
.hero-bg, .hero-overlay, .hero-grain, .film-lines, .crew-hero-bg, .crew-hero-overlay, .film-strip, .frame-corner, .hero-badge, .hero-scroll-hint { display: none !important; }
.container { max-width: 1080px; }

/* ---------- 큰 제목 ---------- */
.section-label, .hero-eyebrow, .cta-eyebrow, .contact-cta-label {
  font-family: var(--font-ko) !important; font-size: 1.05rem !important; font-weight: 600 !important; letter-spacing: -0.01em !important;
  text-transform: none !important; color: rgba(var(--ink-rgb), 0.6) !important; margin-bottom: 8px;
}
.section-label::before, .section-label::after { display: none !important; }
.section-label { justify-content: center; text-align: center; display: block; }
.section-title, .hero-title, .crew-hero-title {
  font-family: var(--font-en) !important; font-weight: 600 !important; letter-spacing: -0.03em !important;
  color: var(--ink) !important; line-height: 1.08 !important; text-shadow: none !important;
}
.section-title { font-size: clamp(2rem, 5vw, 3.5rem) !important; }
.section-sub, .hero-desc, .about-desc, .contact-desc, .crew-hero-desc, .service-desc, .admin-desc {
  color: rgba(var(--ink-rgb), 0.72) !important; font-weight: 400;
}
.section-sub { font-size: 1.3rem; }
.accent, .hero-title-accent {
  background: linear-gradient(90deg, #f59a2b 0%, #ee7d2a 55%, #e8603a 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
}
.about-text .section-title, .contact-info .section-title { text-align: left; }

/* ---------- 홈 첫 화면 ---------- */
.hero { min-height: 92vh; padding-top: 120px; text-align: center; background: var(--page) !important; }
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-title { font-size: clamp(2.8rem, 8vw, 5.5rem) !important; margin-bottom: 18px; }
.hero-desc { font-size: clamp(1.2rem, 2.4vw, 1.75rem) !important; font-weight: 500; margin-bottom: 34px; }
.hero-eyebrow { font-size: 1.15rem !important; margin-bottom: 12px; }

/* ---------- 버튼: 파란 알약 ---------- */
.btn-primary, .contact-btn, .iq-submit, .uc-btn.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue) !important; color: var(--on-blue) !important; border: 1px solid transparent !important;
  border-radius: 980px !important; padding: 12px 24px; font-size: 1.05rem; font-weight: 400; letter-spacing: -0.01em;
  box-shadow: none !important; text-shadow: none; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover, .contact-btn:hover, .iq-submit:hover { background: var(--blue-hover) !important; filter: none; transform: none; }
.btn-ghost {
  background: transparent !important; color: var(--link) !important; border: 1px solid var(--link) !important; border-radius: 980px !important; padding: 11px 24px;
}
.btn-ghost:hover { background: var(--link) !important; color: #fff !important; }
.filter-btn, .admin-tab, .admin-action-btn, .inbox-filter, .iq-mini-btn, .uc-btn, .edit-cancel-btn, .copy-btn {
  background: rgba(var(--ink-rgb), 0.06) !important; border: 1px solid transparent !important; border-radius: 980px !important;
  color: var(--ink) !important; backdrop-filter: none; text-shadow: none;
}
.filter-btn:hover, .admin-tab:hover, .admin-action-btn:hover, .inbox-filter:hover { background: rgba(var(--ink-rgb), 0.12) !important; }
.filter-btn.active, .admin-tab.active, .inbox-filter.active { background: var(--ink) !important; color: var(--page) !important; border-color: transparent !important; }
.admin-action-btn.approve, .edit-save-btn { background: #248a3d !important; color: #fff !important; border-color: transparent !important; }
.admin-action-btn.delete { background: rgba(215, 0, 21, 0.10) !important; color: #d70015 !important; }
.admin-action-btn.email { background: rgba(0, 102, 204, 0.10) !important; color: #0066cc !important; }
.admin-bell { background: rgba(var(--ink-rgb), 0.06) !important; border: none !important; border-radius: 50% !important; color: var(--ink) !important; }
.admin-bell:hover, .admin-bell[aria-expanded="true"] { background: rgba(var(--ink-rgb), 0.12) !important; color: var(--blue) !important; }
.admin-add-btn { color: var(--on-blue) !important; }

/* ---------- 타일 카드: 흰색, 큰 둥근 모서리 ---------- */
.stat-card, .service-card, .feature-item, .process-step, .crew-card, .cap-item, .cta-inner, .cta-inner--form,
.admin-crew-item, .admin-login-box, .admin-form, .magic-link-box, .profile-editor-header, .pf-section, .verify-form,
.cp-head, .cp-block, .cp-film, .cp-stat, .cp-cta, .inbox-item, .signup-form, .film-entry, .category-card, .card, .pending-notice {
  background: var(--tile) !important; border: none !important; border-radius: var(--r-tile) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink);
}
.service-card, .stat-card, .process-step, .cap-item { padding: 48px 40px !important; }
.feature-item, .film-entry, .cp-stat, .category-card, .inbox-item, .cp-film { border-radius: var(--r-md) !important; }
.service-card::before { display: none !important; }
.service-card:hover, .stat-card:hover, .crew-card:hover, .cap-item:hover { transform: translateY(-2px); }
.service-title, .service-card h3, .feature-text h4, .step-content h4 { color: var(--ink) !important; font-weight: 600; letter-spacing: -0.02em; }
.service-card .service-title { font-size: 1.9rem; }
.service-link { color: var(--link) !important; font-weight: 400; font-size: 1.05rem; }
.service-link:hover { text-decoration: underline; }
.service-num { color: rgba(var(--ink-rgb), 0.45) !important; font-family: var(--font-en); }
.service-icon-wrap, .feature-icon, .cap-icon, .step-circle {
  background: rgba(255,159,67, 0.10) !important; color: var(--blue) !important; border: none !important; border-radius: 16px !important; box-shadow: none !important;
}
.service-icon-img { background: #0d0e11 !important; border-radius: 16px !important; }
.stat-num { font-family: var(--font-en); font-weight: 600; color: var(--ink) !important; letter-spacing: -0.03em; }
.stat-plus { color: var(--blue) !important; }
.stat-label { color: rgba(var(--ink-rgb), 0.68) !important; }
.service-grid, .about-stats, .process-steps, .cap-grid { gap: 14px !important; background: transparent !important; }
.about-features { gap: 14px; }
.process-step { text-align: center; }
.process-step .step-line-before, .process-step .step-line-after { display: none !important; }
.process-steps::before { display: none !important; }

.contact-cta-box { text-align: center; padding: 56px 40px !important; }
.contact-cta-title { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink) !important; }
.contact-cta-desc { color: rgba(var(--ink-rgb), 0.72) !important; }
.contact-item i { color: var(--blue); background: rgba(255,159,67,0.10) !important; border: none !important; border-radius: 12px; }
.contact-item a, .contact-item span { color: var(--ink); }

/* ---------- 입력칸 ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"],
select, textarea, .form-group input, .form-group select, .form-group textarea,
.iq-dialog input, .iq-dialog textarea, .inbox-compose input, .inbox-compose textarea {
  background: #fff !important; color: var(--ink) !important;
  border: 1px solid rgba(0, 0, 0, 0.22) !important; border-radius: var(--r-sm) !important;
  box-shadow: none; text-shadow: none; backdrop-filter: none;
}
input::placeholder, textarea::placeholder { color: rgba(60, 60, 67, 0.55) !important; }
input:focus, select:focus, textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(255,159,67, 0.2) !important; outline: none; }
select option { background: #fff; color: #1d1d1f; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-group label, .verify-form label { color: rgba(var(--ink-rgb), 0.85) !important; }

/* ---------- 모달 · 드로어 · 대화상자 ---------- */
.uc-modal, .uc-dialog-backdrop, .uc-drawer-backdrop, .iq-backdrop { background: rgba(0, 0, 0, 0.4) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.uc-modal-dialog, .uc-dialog, .uc-drawer, .iq-dialog, .iq-modal {
  background: #fff !important; color: var(--ink) !important; border: none !important; border-radius: var(--r-tile) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25) !important;
}
.uc-drawer { border-radius: var(--r-tile) 0 0 var(--r-tile) !important; }
.uc-drawer-head { background: #fff !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; }
.uc-drawer-head h2, .uc-modal-dialog h2, .uc-dialog h3 { color: var(--ink); }
.inbox-item { background: #f5f5f7 !important; }
.inbox-item.st-new { background: #fff4f4 !important; border-left: 3px solid #ff3b30 !important; }
.inbox-item.st-pending { background: #fff8ec !important; border-left: 3px solid #ff9f0a !important; }
.inbox-compose, .inbox-message, .inbox-reply { background: rgba(0,0,0,0.04) !important; border-radius: var(--r-sm); color: var(--ink) !important; }
.inbox-reply { border-left: 2px solid #248a3d !important; }
.admin-form-hint, .pf-contact-notice, .iq-join-hint { background: rgba(255,159,67, 0.07) !important; border: none !important; border-radius: var(--r-sm); color: var(--ink) !important; }

/* ---------- 칩·배지·구분선 ---------- */
.crew-role-badge, .status-badge, .skill-tag, .service-badge, .inbox-type, .inbox-status, .pending-badge { border-radius: 980px !important; }
.crew-role-badge { background: rgba(255,255,255,0.92) !important; color: var(--ink) !important; border: none !important; }
.service-badge { color: var(--blue); border: 1px solid rgba(255,159,67,0.4); }
hr, .section-divider { border-color: rgba(0,0,0,0.1) !important; }
.photo-zone, .upload-dropzone { border-radius: var(--r-md); background: #f5f5f7 !important; border: 1.5px dashed rgba(0,0,0,0.3) !important; }
* { scrollbar-color: rgba(0,0,0,0.3) transparent; }

/* ---------- 푸터: 작은 회색 글자 ---------- */
.footer { background: var(--page) !important; border-top: 1px solid rgba(0,0,0,0.12) !important; padding: 40px 0 28px !important; }
.footer, .footer p, .footer a { color: rgba(60, 60, 67, 0.8) !important; font-size: 0.78rem; }
.footer a:hover { text-decoration: underline; color: var(--ink) !important; }
.footer-nav { gap: 28px; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.12) !important; margin-top: 20px; padding-top: 16px; }

/* ---------- 크루 소개 ---------- */
.crew-hero { min-height: 0; padding: 130px 0 50px !important; text-align: center; background: var(--page) !important; }
.crew-hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem) !important; }
.crew-filter-section { background: rgba(251,251,253,0.85) !important; border: none !important; border-bottom: 1px solid rgba(0,0,0,0.1) !important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.crew-section .container { background: transparent !important; gap: 14px !important; }
.crew-card { overflow: hidden; }
.crew-img-wrap { border-radius: 0; }
.crew-name { color: var(--ink) !important; }
.crew-en-name, .crew-position, .crew-bio, .meta-item { color: rgba(var(--ink-rgb), 0.68) !important; }
.crew-card .skill-tag, .crew-skills span { background: rgba(0,0,0,0.06) !important; color: var(--ink) !important; border: none !important; }
.crew-cta { background: transparent !important; }
.cta-inner { padding: 60px 40px !important; }

/* ---------- 로그인 · 프로필 · 관리자 ---------- */
.verify-form { padding: 28px 26px; max-width: 420px; }
.state-icon, .admin-login-icon { background: #fff !important; border: none !important; border-radius: 50% !important; box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important; color: var(--blue) !important; }
.admin-login-box { padding: 48px 40px; }
.admin-topbar, .admin-panel-header { color: var(--ink); }
.admin-title, .admin-panel-header h2, .profile-editor-header h1, .pf-section-title { color: var(--ink) !important; }
.admin-crew-list { display: flex; flex-direction: column; gap: 12px !important; background: transparent !important; border: none !important; }
.admin-crew-item { padding: 18px 20px; }
.admin-crew-avatar { border-radius: var(--r-md) !important; background: #f5f5f7; }
.admin-crew-name, .crew-name-en { color: var(--ink) !important; }
.admin-crew-email, .admin-crew-meta { color: rgba(var(--ink-rgb), 0.68) !important; }
.crew-count { background: rgba(0,0,0,0.07) !important; color: var(--ink) !important; border: none !important; border-radius: 980px; }
.tab-badge { background: #ff3b30 !important; color: #fff !important; }
.signup-type label span { border-radius: var(--r-sm); background: #fff; border: 1px solid rgba(0,0,0,0.2); color: var(--ink); }
.signup-type input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.profile-page, .admin-page { background: var(--page) !important; }
.status-picker label, .category-option { color: var(--ink); }
.save-toast { background: #1d1d1f !important; color: #f5f5f7 !important; border-radius: 980px; }
.notify-toggle[data-state="on"] { background: rgba(36,138,61,0.12) !important; color: #248a3d !important; }
.notify-toggle[data-state="blocked"] { background: rgba(215,0,21,0.10) !important; color: #d70015 !important; }

@media (max-width: 768px) {
  .about, .services, .process, .contact { padding: 64px 0 !important; }
  .service-card, .stat-card, .process-step, .cap-item { padding: 32px 24px !important; }
  :root { --r-tile: 22px; }
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; text-decoration: none; }

.about-text .section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important; }
.about-grid { gap: 48px; align-items: center; }
.service-grid { align-items: stretch; }
.service-card { min-height: 340px; }

/* 흰색 타일 + 부드러운 그림자 */
:root { --tile-shadow: 0 6px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06); --tile-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08); }
.stat-card, .service-card, .feature-item, .process-step, .crew-card, .cap-item, .cta-inner, .cta-inner--form,
.admin-crew-item, .admin-login-box, .admin-form, .magic-link-box, .profile-editor-header, .pf-section, .verify-form,
.cp-head, .cp-block, .cp-film, .cp-stat, .cp-cta, .inbox-item, .signup-form, .film-entry, .category-card, .card, .pending-notice,
.contact-cta-box, .state-icon, .admin-login-icon {
  background: #fff !important; box-shadow: var(--tile-shadow) !important;
}
.service-card:hover, .stat-card:hover, .crew-card:hover, .cap-item:hover { box-shadow: var(--tile-shadow-hover) !important; }
.stat-card.highlight .stat-num { color: var(--blue) !important; }
.inbox-item { background: #fff !important; }
.inbox-item.st-new { background: #fff7f7 !important; }
.inbox-item.st-pending { background: #fffaf1 !important; }
.uc-modal-dialog, .uc-dialog, .uc-drawer, .iq-dialog, .iq-modal { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0,0,0,0.10) !important; }
.service-card.service-card-app .service-icon-img, .service-icon-img { box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
.contact { background: #fff !important; }

/* Capturless 카드: 카드 어디를 눌러도 바로 다운로드 */
.service-card-app { position: relative; cursor: pointer; }
.service-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: auto; }
.service-link-main::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.service-link-sub { position: relative; z-index: 2; color: rgba(var(--ink-rgb), 0.6) !important; font-size: 0.95rem; }
.service-link-sub:hover { color: var(--link) !important; text-decoration: underline; }

/* ---------- 오류 수정 (크루 소개 · 프로필) ---------- */
/* 크루 카드 뒷면(필모그래피): 어두운 막 → 흰색 반투명 + 진한 글자 */
.crew-hover-overlay {
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  --ink: #1d1d1f; --ink-rgb: 29, 29, 31;
}
.crew-hover-overlay .filmography-label { color: var(--blue) !important; }
.crew-filmography li { color: rgba(29, 29, 31, 0.82) !important; border-bottom-color: rgba(0, 0, 0, 0.1) !important; }
.crew-filmography li:last-child { border-bottom: none !important; }

/* 하단 문의 상자 */
.cta-inner::before { display: none !important; }
.cta-inner--form { align-items: center; gap: 48px; padding: 64px 56px !important; }
.cta-inner--form .cta-text { flex: 1 1 360px; position: static; }
.cta-text h2 { word-break: keep-all; color: var(--ink) !important; font-weight: 600; }
.cta-eyebrow { color: rgba(var(--ink-rgb), 0.6) !important; letter-spacing: -0.01em !important; font-size: 1rem !important; text-transform: none !important; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; min-width: 220px; }
.cta-actions .btn-primary { width: 100%; padding: 15px 28px; }
@media (max-width: 768px) { .cta-inner--form { padding: 40px 24px !important; } .cta-actions { width: 100%; } }

/* 필터 막대: 칩 사이 간격 */
.filter-bar { gap: 10px; }

/* 프로필 편집: 구역 카드 안쪽 여백 */
.pf-section { padding: 32px 36px 36px !important; margin-bottom: 20px !important; border-bottom: none !important; }
.pf-section-title { font-family: var(--font-ko) !important; font-size: 1.05rem !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--ink) !important; }
.profile-editor-header { padding: 28px 36px !important; margin-bottom: 20px; }
@media (max-width: 768px) { .pf-section { padding: 24px 20px 28px !important; } }
.crew-filter-section { top: 48px !important; }

/* ---------- 프로필 사진 칸 (클릭해서 업로드) ---------- */
.profile-avatar.upload-zone {
  position: relative; width: 104px; height: 104px; border-radius: 26px; cursor: pointer; overflow: hidden;
  font-size: 2.2rem; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  outline-offset: 3px; transition: box-shadow 0.2s, transform 0.2s;
}
.profile-avatar.upload-zone::after {
  content: '\f030'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; font-size: 1.4rem;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.42); color: #fff; opacity: 0; transition: opacity 0.2s;
}
.profile-avatar.upload-zone:hover::after, .profile-avatar.upload-zone:focus-visible::after, .profile-avatar.upload-zone.drag::after { opacity: 1; }
.profile-avatar.upload-zone.drag { box-shadow: 0 0 0 4px rgba(255,159,67, 0.45); transform: scale(1.03); }
.profile-avatar.upload-zone.is-uploading { opacity: 0.6; cursor: progress; }
.profile-avatar.upload-zone:not(.has-photo) { background: #f5f5f7; border: 2px dashed rgba(0,0,0,0.25); color: rgba(var(--ink-rgb), 0.45); }
.avatar-hint { margin-top: 10px; font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.62); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.avatar-hint i { color: var(--blue); }
.avatar-hint button { color: #d70015; background: none; font-size: 0.8rem; text-decoration: underline; padding: 0; }
.avatar-hint button[hidden] { display: none; }

/* ---------- 스킬 태그 입력칸: 글자가 칸 테두리에 붙던 문제 ---------- */
.skill-add-row { align-items: stretch; }
.skill-add-row input { flex: 1; height: 44px; padding: 0 16px !important; font-size: 0.95rem; }
.skill-add-btn { border-radius: var(--r-sm) !important; height: 44px; }
.skill-tags-preview:empty { min-height: 0; }
.skill-input-wrap { gap: 10px; }


/* ---------- 가시성(명암비) 보강 ---------- */
body { --white-60: rgba(var(--ink-rgb), 0.82) !important; --white-30: rgba(var(--ink-rgb), 0.64) !important; }
/* 상태 선택 알약: 흐리게 보이던 것을 또렷하게 */
.status-option .status-badge { opacity: 1 !important; }
.status-option:hover .status-badge { filter: brightness(0.96); }
.status-badge { font-weight: 700; }
.status-badge.available { background: rgba(36,138,61,0.12); border-color: rgba(36,138,61,0.5); color: #1d7a34; }
.status-badge.working   { background: rgba(255,159,10,0.16); border-color: rgba(178,80,0,0.5); color: #9a4300; }
.status-badge.hold      { background: rgba(0,102,204,0.10); border-color: rgba(0,102,204,0.45); color: #0a5cb8; }
.status-badge.hold::before { background: #0a5cb8 !important; }
.status-badge.rest      { background: rgba(94,92,230,0.12); border-color: rgba(94,92,230,0.5); color: #4c3fc4; }
.status-badge.rest::before { background: #4c3fc4 !important; }
.status-badge.hidden-status { background: rgba(60,60,67,0.10); border-color: rgba(60,60,67,0.4); color: #48484a; }
.status-badge.hidden-status::before { background: #6e6e73 !important; }
.status-option input:checked + .status-badge { box-shadow: 0 0 0 3px rgba(255,159,67,0.35); border-color: var(--blue); }
/* 분야 선택 카드 */
.category-card { background: #fff; border: 1.5px solid rgba(0,0,0,0.14) !important; box-shadow: none !important; }
.category-card i { color: rgba(var(--ink-rgb), 0.7); }
.category-card strong { color: var(--ink) !important; }
.category-card small { color: rgba(var(--ink-rgb), 0.68) !important; }
.category-option:hover .category-card { border-color: rgba(255,159,67,0.55) !important; }
.category-option input:checked + .category-card { background: rgba(255,159,67,0.08); border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(255,159,67,0.2) !important; }
.category-option input:checked + .category-card i, .category-option input:checked + .category-card small { color: #a15500 !important; }
/* 작은 안내 글자 */
.field-hint, .optional, .char-count, .pf-section-desc, .pf-save-note, .profile-last-updated, .admin-hint, .verify-hint { color: rgba(var(--ink-rgb), 0.7) !important; }
.field-hint i { color: var(--blue) !important; }
input::placeholder, textarea::placeholder { color: rgba(60, 60, 67, 0.62) !important; }
.skill-tag { background: rgba(255,159,67,0.10) !important; color: #a15500 !important; border: 1px solid rgba(255,159,67,0.3) !important; }
.media-tab { color: rgba(var(--ink-rgb), 0.75); }
.footer, .footer p, .footer a { color: rgba(60, 60, 67, 0.88) !important; }
.nav-link { color: rgba(29, 29, 31, 0.92) !important; }

/* ---------- 기존 자료로 자동 작성 (OCR) ---------- */
.ocr-banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; margin-bottom: 20px; border-radius: var(--r-tile); background: linear-gradient(135deg, rgba(255,159,67,0.10), rgba(255,122,61,0.10)); border: 1px solid rgba(255,159,67,0.25); }
.ocr-banner-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: var(--on-blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ocr-banner-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ocr-banner-text strong { font-size: 1.05rem; color: var(--ink); }
.ocr-banner-text span { font-size: 0.85rem; color: rgba(var(--ink-rgb), 0.75); }
.ocr-banner .btn-primary { flex-shrink: 0; padding: 11px 20px; font-size: 0.95rem; }
@media (max-width: 640px) { .ocr-banner { flex-wrap: wrap; } .ocr-banner .btn-primary { width: 100%; } }

.ocr-modal { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px 24px; overflow-y: auto; }
.ocr-dialog { position: relative; width: 100%; max-width: 680px; background: #fff; color: var(--ink); border-radius: var(--r-tile); box-shadow: 0 30px 80px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.1); padding: 36px 32px 28px; }
.ocr-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.06); color: var(--ink); font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.ocr-close:hover { background: rgba(0,0,0,0.12); }
.ocr-body h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 40px 10px 0; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.ocr-body h2 i { color: var(--blue); }
.ocr-desc { font-size: 0.92rem; line-height: 1.7; color: rgba(var(--ink-rgb), 0.78); margin-bottom: 18px; }
.ocr-notice { padding: 12px 14px; border-radius: 12px; font-size: 0.88rem; margin-bottom: 16px; }
.ocr-notice.err { background: rgba(215,0,21,0.08); color: #b3000f; }
.ocr-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 20px; border: 2px dashed rgba(0,0,0,0.25); border-radius: var(--r-md); background: #f5f5f7; cursor: pointer; transition: border-color .2s, background .2s; }
.ocr-drop:hover, .ocr-drop.drag, .ocr-drop:focus-visible { border-color: var(--blue); background: rgba(255,159,67,0.06); outline: none; }
.ocr-drop i { font-size: 2.2rem; color: var(--blue); margin-bottom: 6px; }
.ocr-drop strong { font-size: 1.05rem; } .ocr-drop small { color: rgba(var(--ink-rgb), 0.7); }
.ocr-points { list-style: none; margin: 18px 0 10px; display: grid; gap: 8px; font-size: 0.85rem; color: rgba(var(--ink-rgb), 0.8); }
.ocr-points i { color: var(--blue); width: 18px; text-align: center; margin-right: 4px; }
.ocr-link { background: none; color: var(--link); font-size: 0.9rem; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.ocr-progress { height: 10px; background: rgba(0,0,0,0.08); border-radius: 99px; overflow: hidden; margin: 18px 0 12px; }
.ocr-progress span { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, #ffb15c, #ff7a3d); border-radius: 99px; transition: width .3s; }
.ocr-status { font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; }
.ocr-rows { display: grid; gap: 10px; margin-bottom: 14px; }
.ocr-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 14px; background: #f5f5f7; border-radius: var(--r-sm); align-items: start; }
.ocr-row.empty { opacity: 0.6; }
.ocr-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; cursor: pointer; padding-top: 8px; }
.ocr-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.ocr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ocr-field input[type=text], .ocr-field input[type=number], .ocr-field select, .ocr-field textarea { width: 100%; padding: 9px 12px; font-size: 0.9rem; }
.ocr-existing { font-size: 0.78rem; color: rgba(var(--ink-rgb), 0.68); }
.ocr-films { display: grid; gap: 8px; }
.ocr-film { display: grid; grid-template-columns: 22px 1.6fr 1fr 84px 76px; gap: 6px; align-items: center; }
.ocr-film input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }
.ocr-raw { margin: 4px 0 16px; font-size: 0.88rem; }
.ocr-raw summary { cursor: pointer; color: var(--link); padding: 6px 0; }
.ocr-raw textarea { width: 100%; margin: 8px 0; padding: 10px 12px; font-size: 0.85rem; }
.ocr-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ocr-btn { padding: 12px 22px; border-radius: 980px; font-size: 0.98rem; font-weight: 500; }
.ocr-btn.primary { background: var(--blue); color: var(--on-blue); } .ocr-btn.primary:hover { background: var(--blue-hover); }
.ocr-btn.ghost { background: rgba(0,0,0,0.06); color: var(--ink); } .ocr-btn.ghost:hover { background: rgba(0,0,0,0.12); }
@media (max-width: 640px) {
  .ocr-dialog { padding: 28px 18px 22px; }
  .ocr-row { grid-template-columns: 1fr; gap: 4px; }
  .ocr-check { padding-top: 0; }
  .ocr-film { grid-template-columns: 22px 1fr 1fr; } .ocr-film .p, .ocr-film .y { grid-column: span 1; }
}

/* 사업 영역 카드: 두 카드의 아이콘·제목·본문·링크 줄을 같은 높이에 맞춤 */
.service-grid { align-items: stretch; }
.service-card { display: flex !important; flex-direction: column; gap: 16px; min-height: 360px; }
.service-card .service-num { margin: 0; line-height: 1; }
.service-card .service-icon-wrap { margin: 0; flex-shrink: 0; }
.service-card .service-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; line-height: 1.25; min-height: 2.4rem; margin: 0; }
.service-card .service-badge { line-height: 1.2; padding: 3px 10px; margin: 0; }
.service-card .service-desc { flex: 1 1 auto; margin: 0; }
.service-card > .service-link, .service-card > .service-actions { margin-top: auto; padding-top: 8px; }
.service-actions { min-height: 28px; }

/* ---------- 메인 컬러: 연한 오렌지 ---------- */
.service-icon-wrap, .feature-icon, .cap-icon, .step-circle { color: var(--gold) !important; background: rgba(255,159,67,0.16) !important; }
.service-link, .btn-ghost { color: var(--link) !important; }
.btn-ghost { border-color: #ff9d33 !important; }
.nav-link.nav-login, .btn-primary, .contact-btn, .iq-submit, .uc-btn.primary, .ocr-btn.primary, .ocr-banner-icon { box-shadow: 0 2px 10px rgba(255,159,67,0.35) !important; }
.stat-plus, .stat-card.highlight .stat-num { color: var(--gold) !important; }
a:focus-visible, button:focus-visible { outline-color: #ff9d33; }
input:focus, select:focus, textarea:focus { border-color: #ff9d33 !important; box-shadow: 0 0 0 4px rgba(255,159,67,0.3) !important; }
::selection { background: rgba(255,159,67,0.35); }
.status-option input:checked + .status-badge { box-shadow: 0 0 0 3px rgba(255,159,67,0.45); border-color: #ff9d33; }
.category-option input:checked + .category-card { background: rgba(255,159,67,0.12); border-color: #ff9d33 !important; box-shadow: 0 0 0 3px rgba(255,159,67,0.28) !important; }
.category-option input:checked + .category-card i, .category-option input:checked + .category-card small { color: #a15500 !important; }
.skill-tag { background: rgba(255,159,67,0.16) !important; color: #8a4700 !important; border-color: rgba(201,106,0,0.35) !important; }
.field-hint i, .avatar-hint i, .ocr-points i, .ocr-drop i, .ocr-body h2 i { color: var(--gold) !important; }
.ocr-check input, .ocr-film input[type=checkbox] { accent-color: #ff9d33; }
.ocr-drop:hover, .ocr-drop.drag, .ocr-drop:focus-visible { border-color: #ff9d33; background: rgba(255,159,67,0.08); }
.profile-avatar.upload-zone.drag { box-shadow: 0 0 0 4px rgba(255,159,67,0.5); }
.logo-accent { color: #f08a1c !important; }
.crew-hover-overlay .filmography-label { color: var(--gold) !important; }

/* 사업 영역 카드 링크 줄 높이 맞춤 */
.service-card > .service-link, .service-card > .service-actions { margin-top: auto; padding-top: 0; min-height: 36px; display: flex; align-items: center; }
.service-actions { gap: 22px; }

/* ---------- 문의 섹션: 간격·줄간격·모서리 통일 ---------- */
.contact .section-label { text-align: left; margin-bottom: 28px; }
.contact-grid { gap: 72px; align-items: center; }
.contact-info .section-title { line-height: 1.22 !important; margin-bottom: 24px; }
.contact-desc { line-height: 1.85; margin-bottom: 40px; font-size: 1rem; }
.contact-details { gap: 18px; }
.contact-item { gap: 14px; font-size: 0.95rem; line-height: 1.6; }
.contact-item i { width: 38px; height: 38px; border-radius: 12px !important; }
.contact-cta-box {
  background: #fff !important; border: none !important; border-radius: var(--r-tile) !important;
  padding: 64px 48px !important; display: flex; flex-direction: column; align-items: center; gap: 0;
}
.contact-cta-box::before { display: none !important; }
.contact-cta-label { margin: 0 0 14px !important; line-height: 1.4; }
.contact-cta-title { margin: 0 0 36px !important; line-height: 1.3 !important; font-size: 2rem; }
.contact-btn { width: 100%; max-width: 360px; padding: 16px 28px !important; }
@media (max-width: 900px) { .contact-grid { gap: 40px; } .contact-cta-box { padding: 44px 28px !important; } .contact-cta-title { font-size: 1.6rem; } }

/* ---------- 선택·호버 상태: 어두운 갈색 → 밝은 오렌지 ---------- */
.btn-primary::before { display: none !important; }              /* 호버 때 어두운 색이 밀려 들어오던 효과 제거 */
.btn-primary:hover, .contact-btn:hover, .iq-submit:hover, .nav-link.nav-login:hover { background: #ffb866 !important; color: var(--on-blue) !important; }
.btn-primary:active { background: #ff9d33 !important; }
.btn-primary:disabled, .btn-primary[disabled] { background: #ffd3a3 !important; color: rgba(43, 22, 0, 0.6) !important; cursor: not-allowed; }
.btn-ghost:hover { background: #ffe3c4 !important; color: #7a3d00 !important; border-color: #ff9d33 !important; }
.filter-btn.active, .admin-tab.active, .inbox-filter.active { background: var(--blue) !important; color: var(--on-blue) !important; box-shadow: 0 2px 10px rgba(255,159,67,0.35); }
.filter-btn:hover:not(.active), .admin-tab:hover:not(.active), .inbox-filter:hover:not(.active) { background: rgba(255,159,67,0.2) !important; }
.admin-action-btn:hover { background: rgba(255,159,67,0.2) !important; }
.nav-dropdown-item:hover { background: rgba(255,159,67,0.14) !important; }
.ocr-btn.primary:hover { background: #ffb866; }

/* ---------- 상단 메뉴(사업영역) 드롭다운: 마우스가 어디로 가도 닫히지 않게 ---------- */
.nav-dropdown { padding: 14px 0; margin: -14px 0; }                       /* 메뉴 글자 위아래로 반응 영역을 넓힘 */
.nav-dropdown-menu { top: 100% !important; padding-top: 8px; }           /* 글자와 메뉴 사이 틈 제거 */
.nav-dropdown-menu::before { content: ''; position: absolute; left: -24px; right: -24px; top: -20px; height: 24px; }   /* 이동 중 끊기지 않는 투명 다리 */
.nav-dropdown-menu { border-top: none !important; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.nav-dropdown-item { border-bottom: none !important; }
.nav-dropdown-item > i { color: var(--gold) !important; }
.nav-dropdown-item strong { color: var(--ink) !important; }

/* ---------- 푸터: 메뉴 아래 연락처 ---------- */
.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer-contact { font-style: normal; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-contact a, .footer-contact span { font-size: 0.82rem !important; line-height: 1.6; color: rgba(60, 60, 67, 0.9) !important; display: inline-flex; align-items: center; gap: 8px; }
.footer-contact i { width: 14px; text-align: center; color: var(--gold) !important; font-size: 0.78rem; }
.footer-contact a:hover { color: var(--ink) !important; text-decoration: underline; }
@media (max-width: 768px) { .footer-side, .footer-contact { align-items: flex-start; } .footer-contact span { align-items: flex-start; } }

/* ---------- 경력 리스트(크레딧) 바로가기 ---------- */
.credits-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.credits-share a, .credits-share button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 980px; background: rgba(255,159,67,0.18); color: #7a3d00; font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.credits-share a:hover, .credits-share button:hover { background: rgba(255,159,67,0.34); }
.credits-share small { flex-basis: 100%; font-size: 0.78rem; color: rgba(var(--ink-rgb), 0.7); }
.credits-share small:empty { display: none; }
.cp-credit-actions { margin: 0 0 14px; }
.cp-credit-actions .btn-ghost { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- 크루 카드: 눌러서 전체 경력 보기 ---------- */
.crew-card.has-credits { cursor: pointer; }
.crew-card.has-credits:focus-visible { outline: 3px solid #ff9d33; outline-offset: 3px; }
.crew-credits-cta { margin-top: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.crew-card.has-credits:hover .crew-credits-cta i { transform: translateX(3px); }
.crew-credits-cta i { transition: transform .2s; }

/* ---------- 포스터 자동 찾기 ---------- */
.poster-auto-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r-sm); background: rgba(255,159,67,0.14); }
.poster-auto-bar span { font-size: 0.82rem; color: rgba(var(--ink-rgb), 0.78); flex: 1 1 260px; }
.poster-auto-btn { padding: 9px 18px; border-radius: 980px; background: var(--blue); color: var(--on-blue); font-size: 0.88rem; font-weight: 600; box-shadow: 0 2px 10px rgba(255,159,67,0.35); }
.poster-auto-btn:hover { background: #ffb866; } .poster-auto-btn:disabled { opacity: 0.6; cursor: progress; }
.film-find-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.film-find-btn { padding: 6px 14px; border-radius: 980px; background: rgba(0,0,0,0.06); color: var(--ink); font-size: 0.8rem; }
.film-find-btn:hover { background: rgba(255,159,67,0.28); } .film-find-btn:disabled { opacity: 0.6; }
.film-find-msg { font-size: 0.78rem; color: rgba(var(--ink-rgb), 0.72); } .film-find-msg.err { color: #b3000f; }
.film-find-cands { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.film-find-cands:empty { display: none; }
.film-cand { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: #fff; border: 1.5px solid rgba(0,0,0,0.14); text-align: left; font-size: 0.8rem; max-width: 220px; }
.film-cand:hover { border-color: #ff9d33; box-shadow: 0 0 0 3px rgba(255,159,67,0.25); }
.film-cand img { width: 40px; height: 58px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.film-cand span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; } .film-cand small { font-weight: 400; color: rgba(var(--ink-rgb), 0.65); }
.footer-credit { font-size: 0.7rem !important; color: rgba(60,60,67,0.6) !important; margin-top: 6px; flex-basis: 100%; }
#verifyDesc:empty { display: none; }

/* ---------- 사업영역 · 문의: 하나의 메뉴 창으로 합침 ---------- */
.nav-mega { display: flex; align-items: center; gap: 28px; }
.nav-mega-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: rgba(var(--ink-rgb), 0.55); padding: 4px 16px 6px; margin: 0; }
@media (min-width: 1081px) {
  .nav-mega .nav-dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; min-width: 580px; padding: 12px !important; }
  .nav-mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .nav-mega-col + .nav-mega-col { border-left: 1px solid rgba(0,0,0,0.08); padding-left: 10px; }
}
@media (max-width: 1080px) {
  .nav-mega { flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
  .nav-mega .nav-dropdown-menu { position: static !important; min-width: 0 !important; width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: transparent !important; border: none !important; transform: none !important; }
  .nav-mega .nav-dropdown-menu::before { display: none; }
  .nav-mega-col { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
  .nav-mega-title { padding: 0 0 4px 4px; }
  .nav-mega .nav-dropdown-item { padding: 10px 4px !important; }
}
.film-sort-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r-sm); background: rgba(0,0,0,0.04); }
.film-sort-bar span { font-size: 0.82rem; color: rgba(var(--ink-rgb), 0.78); flex: 1 1 260px; }
.film-en-row { margin-top: 8px; }
.film-en-row input { width: 100%; padding: 9px 12px; font-size: 0.85rem; }
.cp-film-en { display: block; margin-top: 2px; font-size: 0.78rem; font-weight: 400; color: rgba(var(--ink-rgb), 0.62); }
/* 로그인된 상태의 상단 버튼: 눈에 띄는 오렌지 대신 차분한 흰색 알약 + 초록 점 */
.nav-link.nav-login.is-signed-in { background: #fff !important; color: var(--ink) !important; box-shadow: 0 0 0 1.5px rgba(36,138,61,0.55), 0 2px 10px rgba(0,0,0,0.08) !important; position: relative; }
.nav-link.nav-login.is-signed-in i { color: #248a3d; }
.nav-link.nav-login.is-signed-in::after { content: ''; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 2px #fff; display: block !important; }
.nav-link.nav-login.is-signed-in:hover { background: #f5f5f7 !important; }

/* ---------- 크루 검색 ---------- */
.crew-section .container .crew-card.search-out { display: none !important; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filter-row .filter-bar { flex: 0 1 auto; }
.crew-search { position: relative; flex: 1 1 280px; max-width: 420px; margin: 8px 0; }
.crew-search > i.fa-magnifying-glass { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: rgba(var(--ink-rgb), 0.5); font-size: 0.85rem; pointer-events: none; }
.crew-search input { width: 100%; padding: 11px 40px 11px 40px; border-radius: 980px !important; font-size: 0.9rem; background: #fff !important; border: 1px solid rgba(0,0,0,0.16) !important; }
.crew-search input::-webkit-search-cancel-button { display: none; }
.crew-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.07); color: var(--ink); font-size: 0.75rem; }
.crew-search button:hover { background: rgba(255,159,67,0.3); }
.crew-search button[hidden] { display: none; }
.crew-search-status { font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.7); min-height: 0; margin: 0 0 8px; }
.crew-search-status:empty { display: none; }
.crew-search-hit { align-self: flex-start; font-size: 0.74rem; font-weight: 600; color: #7a3d00; background: rgba(255,159,67,0.2); padding: 3px 10px; border-radius: 980px; margin: 0; }
.crew-search-empty { text-align: center; padding: 60px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(var(--ink-rgb), 0.78); }
.crew-search-empty[hidden] { display: none; }
.crew-search-empty i { font-size: 2rem; color: var(--gold); }
.crew-search-empty strong { color: var(--ink); }
@media (max-width: 700px) { .crew-search { max-width: none; flex-basis: 100%; } }

/* ---- 프로필 사진 편집 창 (배경 지우기) ---- */
.pe-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.35); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pe-dialog { box-sizing: border-box; background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.25); width: min(420px, 100%); padding: 24px; color: var(--ink); }
.pe-dialog h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.pe-stage { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(var(--ink-rgb), .1); display: grid; place-items: center; min-height: 200px; }
.pe-stage canvas { display: block; max-width: 100%; max-height: 52vh; width: auto; height: auto; }
.pe-stage.is-transparent, .pe-checker { background: conic-gradient(#e6e6ea 25%, #fff 0 50%, #e6e6ea 0 75%, #fff 0) 0 0 / 16px 16px; }
.pe-busy { position: absolute; inset: 0; background: rgba(255,255,255,.88); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: .85rem; }
.pe-busy[hidden] { display: none; }
.pe-busy i { font-size: 1.4rem; color: var(--gold); }
.pe-toggle { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; font-weight: 600; cursor: pointer; }
.pe-toggle input { width: 18px; height: 18px; accent-color: var(--blue); }
.pe-bgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pe-bgs[hidden] { display: none; }
.pe-bgs button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #f5f5f7; font-size: .8rem; border: 1.5px solid transparent; }
.pe-bgs button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb), .2); display: block; }
.pe-bgs button.on { border-color: var(--blue); background: #fff4e6; }
.pe-note { margin-top: 12px; font-size: .78rem; color: rgba(var(--ink-rgb), .62); line-height: 1.5; }
.pe-note.err { color: #d70015; }
.pe-actions { display: flex; gap: 10px; margin-top: 18px; }
.pe-actions button { flex: 1; padding: 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.pe-cancel { background: #f5f5f7; color: var(--ink); }
.pe-ok { background: var(--blue); color: var(--on-blue); }
.pe-ok:disabled { opacity: .5; cursor: wait; }

/* ---- 상단바: 회사소개 · 사업영역 · 문의를 화면 가운데에, 로그인 버튼은 오른쪽 끝에 ---- */
@media (min-width: 1081px) {
  .navbar .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; justify-items: start; }
  .navbar .nav-links { grid-column: 2; justify-self: center; position: static; }
  .navbar .nav-links .nav-login { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; }
}

/* ---- 크루 개인 페이지: 타일 안쪽 여백·간격 ---- */
.cp-main { padding: 112px 0 88px !important; }
.cp-back { display: inline-flex; margin-bottom: 24px; }
.cp-profile { display: flex; flex-direction: column; gap: 20px; }
.cp-head { padding: 36px 40px !important; gap: 36px; align-items: center; border: none !important; }
.cp-head .crew-avatar { border-radius: var(--r-md) !important; flex-shrink: 0; overflow: hidden; }
.cp-head .crew-avatar span { color: rgba(255,255,255,0.9) !important; }
.cp-head-status { margin-bottom: 12px; }
.cp-en { margin-top: 6px; color: rgba(var(--ink-rgb), 0.55) !important; }
.cp-stats { background: transparent !important; border: none !important; gap: 16px !important; margin: 0 !important; }
.cp-stat { padding: 26px 28px !important; gap: 6px !important; }
.cp-block { padding: 36px 40px !important; margin: 0 !important; }
.cp-block .section-label { text-align: left !important; margin: 0 0 18px !important; }
.cp-bio { margin: 0; line-height: 1.85; }
.cp-skills { margin: 0; }
.cp-credit-actions { margin: 0 0 22px !important; }
.cp-films { gap: 16px !important; }
.cp-film { padding: 16px 18px !important; gap: 18px !important; }
.cp-cta { margin-top: 0 !important; padding: 36px 40px !important; }
.cp-updated { margin-top: 4px !important; }
@media (max-width: 768px) {
  .cp-main { padding: 92px 0 64px !important; }
  .cp-head { padding: 26px 22px !important; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cp-block, .cp-cta { padding: 26px 22px !important; }
  .cp-stat { padding: 20px !important; }
  .cp-film { padding: 14px !important; }
}

/* ---- 크루 카드: 사진은 이름 옆의 작은 원 ---- */
.crew-compact .crew-info { padding: 26px 30px 24px !important; }
.crew-headline { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.crew-mini { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #f2f2f4; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.crew-mini img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.crew-mini b { color: rgba(255,255,255,0.92); font-family: var(--font-en); font-size: 0.95rem; letter-spacing: 0.02em; }
.crew-headline .crew-name-wrap { margin: 0 !important; min-width: 0; flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.crew-headline .crew-role-badge { position: static !important; flex-shrink: 0; align-self: center; }
.crew-compact .crew-filmography { position: static !important; opacity: 1 !important; transform: none !important; background: none !important; padding: 0 !important; margin: 14px 0 0; }
.crew-compact .crew-filmography ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: 0.82rem; color: rgba(var(--ink-rgb), 0.78); }
.crew-compact .filmography-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; margin: 0; }
.crew-section .container { max-width: 1100px; margin: 0 auto; padding: 0 24px !important; gap: 20px !important; box-sizing: border-box; }
@media (max-width: 768px) { .crew-section .container { padding: 0 16px !important; } }
.crew-compact .crew-filmography ul li { text-align: left !important; border: none !important; padding: 0 !important; }
.crew-compact .crew-filmography { text-align: left !important; }
.film-poster-remove { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #d70015; border: 1px solid rgba(215,0,21,0.25); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; cursor: pointer; transition: background .15s; }
.film-poster-remove:hover { background: #fff0f1; }
.film-poster-remove[hidden] { display: none; }

/* ---- 상단 메뉴: 항목을 하나씩 띄우고, 항목 사이 간격을 넓혀 겹치지 않게 ---- */
@media (min-width: 1081px) {
  .navbar .nav-links { gap: 68px; }
  .nav-dropdown-menu { min-width: 0 !important; width: max-content; padding: 6px !important; }
  .nav-dropdown-menu .nav-dropdown-item { padding: 9px 14px 9px 12px !important; gap: 12px; }
}
@media (min-width: 1081px) {
  /* 문의 창만: 이전(넓음)과 지금(좁음)의 중간 */
  .nav-dropdown + .nav-dropdown .nav-dropdown-menu { min-width: 220px !important; width: 220px !important; box-sizing: border-box; padding: 8px !important; }
  .nav-dropdown + .nav-dropdown .nav-dropdown-menu .nav-dropdown-item { padding: 12px 16px 12px 14px !important; }
}
@media (min-width: 769px) and (max-width: 1080px) { .navbar .nav-links { gap: 28px; } }

/* ---- 푸터 경로: 회사 소개 · 사업 영역 · 문의 하기 (하위 항목 포함) ---- */
.footer-sitemap { display: flex !important; align-items: flex-start; gap: 56px !important; flex-wrap: wrap; }
.footer-sitemap .fs-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-sitemap .fs-title { font-weight: 700; color: var(--ink) !important; }
.footer-sitemap .fs-col a:not(.fs-title) { font-size: 0.85rem; color: rgba(var(--ink-rgb), 0.62) !important; }
.footer-sitemap a:hover { color: var(--link) !important; text-decoration: underline; }
@media (max-width: 768px) { .footer-sitemap { gap: 28px !important; } }

/* ---- 푸터 연락처: 하단 가운데 ---- */
.footer-contact-wrap { display: flex; justify-content: center; align-self: center; flex: 1 1 auto; padding: 0 24px; }
.footer-contact-wrap .footer-contact { display: flex; flex-direction: column; align-items: center !important; text-align: center; gap: 10px; font-style: normal; }
.footer-contact-wrap .footer-contact span, .footer-contact-wrap .footer-contact a { justify-content: center; align-items: center !important; }
@media (max-width: 768px) { .footer-contact-wrap { justify-content: flex-start; padding: 0; align-self: flex-start; } .footer-contact-wrap .footer-contact { align-items: flex-start !important; text-align: left; } }
@media (min-width: 1081px) {
  .footer-top { align-items: flex-start; }
  .footer-brand { flex: 0 0 auto; }
  .footer-side { flex: 0 0 auto; }
  .footer-sitemap { flex-wrap: nowrap !important; gap: 44px !important; }
  .footer-sitemap .fs-col a { white-space: nowrap; }
  .footer-contact-wrap { min-width: 0; }
  .footer-contact-wrap .footer-contact span, .footer-contact-wrap .footer-contact a { white-space: nowrap; }
}
@media (min-width: 1081px) {
  .footer-contact-wrap { justify-content: center; }
  .footer-contact-wrap .footer-contact { align-items: flex-start !important; text-align: left; }
  .footer-contact-wrap .footer-contact span, .footer-contact-wrap .footer-contact a { justify-content: flex-start; }
}
.footer-bizno { display: block; margin-top: 18px; }

/* ---- 푸터 정렬 정리: 로고 · 연락처 · 경로를 같은 윗선과 같은 줄 간격으로 ---- */
.footer-top { margin-bottom: 0 !important; padding-bottom: 36px !important; border-bottom: none !important; }
.footer-bottom { margin-top: 0 !important; padding-top: 20px !important; }
@media (min-width: 1081px) {
  .footer-top { display: grid !important; grid-template-columns: 1fr 1.25fr auto; column-gap: 56px; align-items: start; }
  .footer-brand { min-width: 0; }
  .footer-contact-wrap { justify-content: flex-start !important; align-self: start !important; padding: 5px 0 0 !important; }
  .footer-contact-wrap .footer-contact { gap: 10px !important; align-items: flex-start !important; text-align: left; }
  .footer-contact-wrap .footer-contact a, .footer-contact-wrap .footer-contact span { line-height: 22px !important; min-height: 22px; }
  .footer-side { justify-self: end; padding-top: 5px; }
  .footer-sitemap { align-items: flex-start; }
  .footer-sitemap .fs-col { gap: 10px !important; }
  .footer-sitemap .fs-col a { line-height: 22px !important; }
}
@media (min-width: 1081px) {
  .footer-top { grid-template-columns: auto auto 1fr !important; column-gap: 40px !important; }
  .footer-brand { white-space: nowrap; }
}
/* 크루 개인 페이지 상단 사진도 작은 원으로 */
.cp-head { gap: 22px !important; padding: 28px 32px !important; }
.cp-head .crew-avatar, .cp-head .crew-avatar.lg { width: 64px !important; height: 64px !important; border-radius: 50% !important; font-size: 1.1rem !important; }
.cp-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem) !important; }

/* ---- 상단 메뉴창: 사업 영역은 오른쪽 끝 정렬(왼쪽으로 펼침), 문의 하기는 왼쪽 끝 정렬(오른쪽으로 펼침) → 서로 겹치지 않음 ---- */
@media (min-width: 1081px) {
  .nav-links > .nav-dropdown:first-of-type .nav-dropdown-menu { left: auto !important; right: 0 !important; transform: translateY(-8px) !important; }
  .nav-links > .nav-dropdown + .nav-dropdown .nav-dropdown-menu { left: 0 !important; right: auto !important; transform: translateY(-8px) !important; }
  .nav-links > .nav-dropdown:first-of-type:hover .nav-dropdown-menu, .nav-links > .nav-dropdown:first-of-type.open .nav-dropdown-menu,
  .nav-links > .nav-dropdown + .nav-dropdown:hover .nav-dropdown-menu, .nav-links > .nav-dropdown + .nav-dropdown.open .nav-dropdown-menu { transform: translateY(0) !important; }
}
/* 두 메뉴창의 세로 길이를 같게 */
@media (min-width: 1081px) {
  .nav-links .nav-dropdown-menu { padding: 8px !important; box-sizing: border-box; height: 150px; }
  .nav-links .nav-dropdown-menu .nav-dropdown-item { padding: 12px 16px 12px 14px !important; }
}
.cp-credit-actions[hidden], .cr-btn[hidden] { display: none !important; }

/* Capturless 안내 페이지: 사이트 공통 상단바(고정) 아래로 내용 시작 */
body.capturless-page { padding-top: 48px; }
body.capturless-page .navbar { position: fixed; }

/* 사진 편집 창: 앵글(이동·확대·회전) 조절 */
.pe-stage { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 1 / 1; touch-action: none; }
.pe-stage canvas { width: 100%; height: 100% !important; max-height: none !important; cursor: grab; touch-action: none; }
.pe-stage canvas.grab { cursor: grabbing; }
.pe-guide { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 999px rgba(255,255,255,0.62), inset 0 0 0 2px rgba(255,169,77,0.9); }
.pe-stage { overflow: hidden; }
.pe-hint { margin: 10px 2px 0; font-size: 0.78rem; color: rgba(var(--ink-rgb), 0.62); text-align: center; }
.pe-ctl { display: grid; gap: 10px; margin-top: 12px; }
.pe-ctl label { display: grid; grid-template-columns: 18px 36px 1fr auto; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; }
.pe-ctl label i { color: var(--gold); text-align: center; }
.pe-ctl input[type=range] { width: 100%; accent-color: var(--blue); }
.pe-ctl output { min-width: 40px; text-align: right; font-size: 0.78rem; font-weight: 500; color: rgba(var(--ink-rgb), 0.7); }
.pe-ctl-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-ctl-btns button { padding: 6px 12px; border-radius: 999px; background: #f5f5f7; font-size: 0.78rem; font-weight: 600; }
.pe-ctl-btns button:hover { background: #fff4e6; }
.pe-dialog { max-height: calc(100vh - 32px); overflow-y: auto; }

/* 필모그래피 카드: 연도 옆에 「종류」 알약, 아래 줄에 「역할」 작은 라벨 */
.cp-film-top { display: flex; align-items: center; gap: 8px; }
.cp-film-kind { padding: 1px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; background: rgba(var(--ink-rgb), 0.08); color: rgba(var(--ink-rgb), 0.7); }
.cp-film-kind.k-영화 { background: rgba(255,169,77,0.22); color: #9a4a00; }
.cp-film-kind.k-OTT { background: rgba(0,113,227,0.12); color: #0057b8; }
.cp-film-kind.k-드라마 { background: rgba(36,138,61,0.14); color: #1b6e30; }
.cp-film-kind.k-광고 { background: rgba(120,120,128,0.16); color: #4a4a50; }
.cp-film-role { margin: 8px 0 0; font-size: 0.92rem; font-weight: 700; color: var(--ink); }

/* 입력 칸이 카드 밖으로 넘치지 않게: 글상자는 위아래로만 늘릴 수 있고 칸 폭을 넘지 않음 */
textarea, .form-group textarea { resize: vertical; max-width: 100%; box-sizing: border-box; }
.form-group input, .form-group select { max-width: 100%; box-sizing: border-box; }

/* 내 프로필: 현재 상태 바로 기입 */
.quick-status { margin: 14px 0 6px; padding: 14px 16px; background: #fafafa; border-radius: 16px; max-width: 560px; }
.qs-label { font-size: 0.82rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.qs-label small { font-weight: 400; color: rgba(var(--ink-rgb), 0.55); margin-left: 6px; }
.qs-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.qs-btn { padding: 3px; border-radius: 999px; background: none; border: 2px solid transparent; cursor: pointer; transition: border-color .15s, transform .1s; }
.qs-btn:hover { transform: translateY(-1px); }
.qs-btn.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(255,169,77,0.28); }
.qs-btn .status-badge { pointer-events: none; }
.qs-note { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qs-note input { flex: 1 1 260px; padding: 9px 12px; font-size: 0.85rem; }
.qs-msg { font-size: 0.78rem; color: #1d7a34; min-height: 1em; }
.qs-msg.err { color: #d70015; }

/* 상단바 「내 프로필」 메뉴 (현재 상태 바로 기입) */
.me-menu { position: fixed; z-index: 1500; background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08); padding: 14px; box-sizing: border-box; }
.me-menu[hidden] { display: none; }
.me-menu .me-status { padding: 4px 4px 10px; margin-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.me-menu .qs-note input { flex: 1 1 100%; }
.me-loading { margin: 6px 4px 10px; font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.55); }
.me-loading[hidden] { display: none; }
.me-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 8px; border-radius: 10px; background: none; border: 0; font: inherit; font-size: 0.88rem; color: var(--ink) !important; text-align: left; text-decoration: none; cursor: pointer; }
.me-link i { width: 16px; text-align: center; color: var(--gold); }
.me-link:hover { background: rgba(0,0,0,0.05); text-decoration: none !important; }

/* 크루 카드: 현재 상태 (의뢰 가능 · 작업 중 · 협의 중 · 휴식) */
.crew-statusline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -2px 0 12px; }
.crew-state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; border: 1px solid transparent; }
.crew-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.crew-state.available { background: rgba(36,138,61,0.12); border-color: rgba(36,138,61,0.45); color: #1d7a34; }
.crew-state.working   { background: rgba(255,159,10,0.16); border-color: rgba(178,80,0,0.45); color: #9a4300; }
.crew-state.hold      { background: rgba(0,102,204,0.10); border-color: rgba(0,102,204,0.4); color: #0a5cb8; }
.crew-state.rest      { background: rgba(94,92,230,0.12); border-color: rgba(94,92,230,0.45); color: #4c3fc4; }
.crew-state-note { font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.7); }
/* 「내 프로필」 메뉴의 상태 버튼: 처음(작게)과 확대(크게)의 중간 크기 */
.me-menu .qs-label { font-size: 0.88rem; }
.me-menu .qs-label small { font-size: 0.74rem; }
.me-menu .qs-btns { gap: 6px; }
.me-menu .qs-btn { padding: 2px; }
.me-menu .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 0.875rem; font-weight: 700; line-height: 1.2; border: 1px solid transparent; border-radius: 999px !important; white-space: nowrap; }
.me-menu .status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.me-menu .qs-note input { font-size: 0.88rem; padding: 9px 12px; }
.me-menu .qs-msg { font-size: 0.78rem; }
.me-menu .me-link { font-size: 0.9rem; padding: 10px 8px; }
/* 사진 안내 줄: 안내 글자가 없으면 아이콘도 숨기고, 아무것도 없으면 줄 자체를 숨김 */
.avatar-hint:has(#avatarHintText:empty) > i { display: none; }
.avatar-hint:has(#avatarHintText:empty) { display: none; }

/* 프로필 상단 카드: 「내 공개 페이지 보기」는 우측 상단으로 */
.profile-editor-header { position: relative; }
@media (min-width: 641px) {
  .profile-editor-header #editorPublicLink { position: absolute; top: 26px; right: 30px; margin: 0 !important; padding: 8px 16px; border-radius: 999px; background: #fff7ec; font-size: 0.85rem !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .profile-editor-header #editorPublicLink:hover { background: #ffecd2; text-decoration: none; }
}
/* 마지막 업데이트: 프로필 저장 버튼 아래 */
.pf-actions + .profile-last-updated { text-align: center; margin: 12px 0 0; font-size: 0.82rem; color: rgba(var(--ink-rgb), 0.6); }
.profile-last-updated:empty { display: none; }
.nav-login .nav-name { display: inline-block; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* 프로필 상단: 사진 제거는 사진 칸 안으로, 버튼들은 오른쪽·작게 */
.avatar-wrap { position: relative; flex: 0 0 auto; }
.avatar-remove { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,0.92); color: #d70015; font-size: 0.72rem; font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,0.25); white-space: nowrap; cursor: pointer; z-index: 2; }
.avatar-remove[hidden] { display: none; }
.avatar-remove:hover { background: #fff0f1; }
@media (min-width: 641px) {
  .profile-editor-header #editorPublicLink { top: 22px; right: 28px; padding: 5px 12px; font-size: 0.75rem !important; }
  .profile-editor-header .credits-share { position: absolute; top: 62px; right: 28px; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .profile-editor-header .credits-share a, .profile-editor-header .credits-share button { padding: 5px 12px; font-size: 0.75rem; }
  .profile-editor-header .credits-share small { flex-basis: auto; text-align: right; font-size: 0.7rem; }
}
/* 프로필 상단 버튼 3개: 같은 폭 · 같은 왼쪽 선, 글자는 왼쪽 정렬 */
@media (min-width: 641px) {
  .profile-editor-header #editorPublicLink, .profile-editor-header .credits-share a, .profile-editor-header .credits-share button { width: 150px; box-sizing: border-box; justify-content: flex-start; text-align: left; }
  .profile-editor-header .credits-share { align-items: flex-start; }
}
/* 프로필 상단 버튼 3개: 글자 크기 · 굵기 동일 (굵지 않게) */
.profile-editor-header #editorPublicLink, .profile-editor-header .credits-share a, .profile-editor-header .credits-share button { font-size: 0.78rem !important; font-weight: 400 !important; line-height: 1.4; }
/* 프로필 상단 버튼 3개: 배경색도 동일 */
.profile-editor-header #editorPublicLink, .profile-editor-header .credits-share a, .profile-editor-header .credits-share button { background: #fdebd8 !important; color: #8a4b00 !important; }
.profile-editor-header #editorPublicLink:hover, .profile-editor-header .credits-share a:hover, .profile-editor-header .credits-share button:hover { background: #fbdcba !important; }
/* 프로필 상단 버튼 3개: 위아래 간격 동일 (8px) */
@media (min-width: 641px) {
  .profile-editor-header .credits-share { top: 57.5px; gap: 8px; }
}

/* 부드러운 나타남: 프로필 업로드 창 · 내 프로필 메뉴 */
@keyframes ucFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ucRise { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.ocr-modal { animation: ucFade 0.22s ease both; }
.ocr-dialog { animation: ucRise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.me-menu:not([hidden]) { animation: ucFade 0.16s ease both; }
html.uc-upload-boot .profile-main, html.uc-upload-boot .footer { opacity: 0; }
.profile-main, .footer { transition: opacity 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .ocr-modal, .ocr-dialog, .me-menu:not([hidden]) { animation: none; } }
/* 로딩 화면은 0.3초 이상 걸릴 때만 보이게 (빨리 열리는 페이지에서는 아예 보이지 않음) */
#cpLoading, #crLoading { opacity: 0; animation: ucFade 0.25s ease 0.3s forwards; }

/* 역할 칸을 누르면 열리는 선택 창: 「종류」(기본 선택 창)과 같은 모양 — 촘촘한 줄 · 가운데 글자 · 선택 항목은 파란 강조와 체크 */
.role-pop { position: fixed; z-index: 1600; min-width: 132px; background: rgba(250,250,250,0.98); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.08); padding: 5px; box-sizing: border-box; animation: ucFade 0.12s ease both; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.role-pop[hidden] { display: none; }
.role-pop button { position: relative; display: block; width: 100%; text-align: center; padding: 5px 22px 5px 24px; border-radius: 7px; background: none; border: 0; font: inherit; font-size: 0.95rem; line-height: 1.5; font-weight: 400; color: #1d1d1f; cursor: pointer; }
.role-pop button .role-check { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 500; font-size: 0.9rem; visibility: hidden; }
.role-pop button.on { background: #5e9bff; color: #fff; }
.role-pop button.on .role-check { visibility: visible; }
.role-pop button:not(.on):hover { background: rgba(0,0,0,0.06); }

/* 프로필 상단 버튼 묶음: 카드 오른쪽에서 위·아래 여백이 같도록 세로 가운데 */
@media (min-width: 641px) {
  .profile-editor-header .header-actions { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .profile-editor-header .header-actions #editorPublicLink { position: static; margin: 0 !important; }
  .profile-editor-header .header-actions .credits-share { position: static; margin: 0; gap: 8px; }
}
@media (max-width: 640px) {
  .profile-editor-header .header-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
  .profile-editor-header .header-actions #editorPublicLink { margin: 0 !important; }
  .profile-editor-header .header-actions .credits-share { margin: 0; }
}

/* 프로필 상단: 이름 옆 현재 상태 태그 + 이름·직책 아래 스케줄 메모 */
.name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.name-row h1 { margin: 0; }
.status-tag-wrap { position: relative; }
.status-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; line-height: 1.3; }
.status-tag .st-caret { font-size: 0.6rem; opacity: 0.7; }
.status-tag:hover { filter: brightness(0.97); }
.status-tag.st-available, .status-menu .st-available { background: rgba(36,138,61,0.12); border-color: rgba(36,138,61,0.45); color: #1d7a34; }
.status-tag.st-working,   .status-menu .st-working   { background: rgba(255,159,10,0.16); border-color: rgba(178,80,0,0.45); color: #9a4300; }
.status-tag.st-hold,      .status-menu .st-hold      { background: rgba(0,102,204,0.10); border-color: rgba(0,102,204,0.4); color: #0a5cb8; }
.status-tag.st-rest,      .status-menu .st-rest      { background: rgba(94,92,230,0.12); border-color: rgba(94,92,230,0.45); color: #4c3fc4; }
.status-tag.st-hidden,    .status-menu .st-hidden    { background: rgba(60,60,67,0.10); border-color: rgba(60,60,67,0.4); color: #48484a; }
.status-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08); min-width: 150px; animation: ucFade 0.14s ease both; }
.status-menu[hidden] { display: none; }
.status-menu button { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid transparent; font-size: 0.85rem; font-weight: 700; cursor: pointer; text-align: left; white-space: nowrap; }
.status-menu button i { width: 16px; text-align: center; }
.status-menu button.on { box-shadow: 0 0 0 2px var(--blue); }
.status-menu button:hover { filter: brightness(0.96); }
.header-memo { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 460px; }
.header-memo input { flex: 1 1 280px; padding: 8px 12px; font-size: 0.85rem; }
.header-memo-msg { font-size: 0.78rem; color: #1d7a34; min-height: 1em; }
.header-memo-msg.err { color: #d70015; }


/* 알림 창: 넓혀서 필터 · 알림 단추를 한 줄로 */
.uc-drawer { width: min(640px, 100vw) !important; }
.uc-drawer .inbox-filters { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: thin; }
.uc-drawer .inbox-filter { flex: 0 0 auto; white-space: nowrap; padding: 6px 12px; }
.uc-drawer .notify-toggle-wrap { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.uc-drawer .notify-toggle-wrap .notify-toggle { white-space: nowrap; }
.uc-drawer .notify-toggle-wrap .notify-help { flex-basis: 100%; margin: 0; }

/* 크루 카드 주요 필모그래피: 구분 · 작품명 · 역할 · 연도가 세로 일직선으로 정렬 */
.crew-compact .crew-filmography ul { display: grid !important; grid-template-columns: max-content minmax(0, max-content) max-content max-content; justify-content: start; column-gap: 14px; row-gap: 5px; }
.crew-compact .crew-filmography ul li { display: contents; }
.crew-compact .crew-filmography ul li > span { white-space: nowrap; line-height: 1.5; }
.crew-compact .crew-filmography .f-title { overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 600; }
.crew-compact .crew-filmography .f-plat, .crew-compact .crew-filmography .f-year { color: rgba(var(--ink-rgb), 0.6); }
@media (max-width: 480px) { .crew-compact .crew-filmography ul { column-gap: 10px; font-size: 0.78rem; } }
/* 역할은 오른쪽 열로: 구분 · 작품명(남는 폭) ··· 역할(오른쪽 맞춤) · 연도 */
.crew-compact .crew-filmography ul { grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important; justify-content: stretch !important; }
.crew-compact .crew-filmography .f-role { justify-self: end; text-align: right; color: rgba(var(--ink-rgb), 0.85); }
.crew-compact .crew-filmography .f-year { justify-self: end; }
/* 열 순서: 연도 먼저 → 구분 → 작품명 → 역할(오른쪽) */
.crew-compact .crew-filmography ul { grid-template-columns: max-content max-content minmax(0, 1fr) max-content !important; column-gap: 12px; }
.crew-compact .crew-filmography .f-year { justify-self: start !important; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.crew-compact .crew-filmography .f-plat { color: rgba(var(--ink-rgb), 0.6); }
/* 연도는 괄호로 먼저: (2027) OTT 〈작품명〉 ··· 역할 */
.crew-compact .crew-filmography .f-year { font-weight: 400 !important; color: rgba(var(--ink-rgb), 0.65) !important; }
/* 역할: 같은 열 위치에서 왼쪽 정렬 (왼쪽 시작점이 모든 줄에서 같음) */
.crew-compact .crew-filmography .f-role { justify-self: start !important; text-align: left !important; }
/* 역할 위치: 20px 왼쪽으로 */
.crew-compact .crew-filmography .f-role { margin-right: 20px; }

/* 관리자 「새 크루 멤버 추가」 창: 겹침 정리 + 칸 사이 간격 */
.uc-modal-dialog .admin-form { box-shadow: none !important; background: none !important; border: none !important; padding: 0 !important; border-radius: 0 !important; display: flex; flex-direction: column; gap: 20px; }
.uc-modal-dialog .admin-form .admin-form-hint { margin: 0 !important; padding: 16px 18px 16px 44px !important; border-radius: 14px; box-shadow: none !important; line-height: 1.75; }
.uc-modal-dialog .admin-form .admin-form-hint > i:first-child { left: 18px; top: 19px; }
.uc-modal-dialog .admin-form .form-group { margin: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.uc-modal-dialog .admin-form .form-group label { margin: 0; line-height: 1.4; }
.uc-modal-dialog .admin-form .form-group label small { display: block; margin-top: 2px; color: rgba(var(--ink-rgb), 0.6) !important; font-size: 0.76rem; }
.uc-modal-dialog .admin-form .btn-primary { margin-top: 6px; }
.uc-modal-dialog .admin-panel-header { margin-bottom: 22px !important; }
.uc-modal-dialog .admin-panel-header .admin-desc { margin-top: 8px; line-height: 1.7; }

/* 관리자 추가 창: 선택 칸(분야)도 입력 칸과 같은 높이·모양으로 */
.uc-modal-dialog .admin-form .form-group select {
  -webkit-appearance: none; appearance: none;
  height: auto; min-height: 0; line-height: 1.2; padding: 12px 44px 12px 16px !important; font-size: 0.9rem; font-family: inherit;
  background-color: #fff !important; border: 1px solid rgba(0,0,0,0.22) !important; border-radius: var(--r-sm) !important; color: var(--ink) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1.5l6 6 6-6' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px 9px;
  cursor: pointer;
}

/* 관리자 상단 바: 알림(🔔) 옆의 추가 버튼 (탭에 따라 이름이 바뀜) */
.admin-add-top { padding: 8px 16px !important; font-size: 0.82rem !important; border-radius: 999px !important; gap: 6px !important; }
@media (max-width: 600px) { .admin-add-top span { display: none; } .admin-add-top { padding: 9px 12px !important; } }
/* 관리자 상단 바: 로그아웃도 추가 버튼과 같은 크기·높이 */
#adminLogoutBtn { display: inline-flex; align-items: center; gap: 6px; font-weight: 400 !important; padding: 8px 16px !important; font-size: 0.82rem !important; line-height: 1.3 !important; border-radius: 999px !important; min-height: 0 !important; white-space: nowrap; }
.admin-add-top { line-height: 1.3 !important; }
@media (max-width: 600px) { #adminLogoutBtn { padding: 9px 12px !important; font-size: 0 !important; gap: 0; } #adminLogoutBtn i { font-size: 0.9rem; } }

/* 관리자 로그인 화면: 칸 사이 간격 (휴대폰에서 이름표가 윗 칸에 붙던 문제) */
#adminLoginForm { display: flex; flex-direction: column; gap: 18px; text-align: left; }
#adminLoginForm .form-group { margin: 0 !important; display: flex; flex-direction: column; gap: 8px; }
#adminLoginForm .form-group label { margin: 0; text-align: left; }
#adminLoginForm .btn-primary { margin-top: 4px; width: 100%; justify-content: center; }
.admin-login-box .admin-hint { margin-top: 14px; min-height: 1.2em; }
.admin-login-box h2 { margin-bottom: 8px; }
.admin-login-box > p { margin-bottom: 22px; }
@media (max-width: 600px) { .admin-login-box { padding: 32px 22px !important; } }

/* ===== 관리자 페이지: 휴대폰 화면 (보기 쉽게 다시 배치) ===== */
@media (max-width: 700px) {
  .admin-main { padding-left: 16px !important; padding-right: 16px !important; }
  /* 상단: 제목 + 오른쪽 아이콘 단추 / 아래 줄에 탭 두 개를 꽉 차게 */
  .admin-topbar { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "title actions" "tabs tabs"; align-items: center; gap: 14px 10px !important; margin-bottom: 20px !important; }
  .admin-title { grid-area: title; font-size: 1.12rem !important; gap: 8px !important; min-width: 0; }
  .admin-topbar-actions { grid-area: actions; margin-left: 0 !important; gap: 6px !important; }
  .admin-tabs { grid-area: tabs; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; width: 100%; }
  .admin-tab { white-space: nowrap; text-align: center; justify-content: center; padding: 11px 8px !important; font-size: 0.92rem !important; }
  .admin-panel-header .admin-desc { font-size: 0.82rem; line-height: 1.6; }
  .admin-panel-header h2 { font-size: 1.15rem; }

  /* 크루·파트너 카드: 위에 사진+정보, 아래에 단추를 두 칸씩 크게 */
  .admin-crew-item { grid-template-columns: 64px minmax(0, 1fr) !important; gap: 12px 14px !important; padding: 16px !important; }
  .admin-crew-avatar { width: 64px !important; height: 64px !important; }
  .admin-crew-name { font-size: 1.02rem; }
  .admin-crew-meta { flex-wrap: wrap; gap: 6px 8px !important; }
  .admin-crew-email { word-break: break-all; }
  .admin-crew-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; justify-content: stretch !important; }
  .admin-crew-actions .admin-action-btn { width: 100%; justify-content: center; min-height: 42px; font-size: 0.86rem !important; padding: 9px 10px !important; }
  .admin-crew-actions .admin-action-btn.approve, .admin-crew-actions .admin-action-btn.make-account { grid-column: 1 / -1; }
  .admin-crew-actions .admin-action-btn.delete { grid-column: 1 / -1; }
  .edit-form-row { grid-template-columns: 1fr !important; }
}

/* ===== 홈: 파트너사 영역 ===== */
.partners { background: #fff !important; padding: 96px 0 !important; }
.partners[hidden] { display: none; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.pt-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: #fff; box-shadow: var(--tile-shadow); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
a.pt-card:hover { transform: translateY(-2px); box-shadow: var(--tile-shadow-hover); }
.pt-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: #f5f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 1.4rem; color: var(--gold); }
.pt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.pt-body { min-width: 0; flex: 1; }
.pt-cat { display: inline-block; font-size: 0.72rem; font-weight: 700; color: #8a4b00; background: #fdebd8; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.pt-name { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.pt-en { margin: 2px 0 0; font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.55); }
.pt-desc { margin: 8px 0 0; font-size: 0.88rem; line-height: 1.6; color: rgba(var(--ink-rgb), 0.75); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pt-tags span { font-size: 0.72rem; padding: 2px 9px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.06); color: rgba(var(--ink-rgb), 0.7); }
.pt-go { position: absolute; top: 18px; right: 18px; font-size: 0.8rem; color: rgba(var(--ink-rgb), 0.35); }
a.pt-card:hover .pt-go { color: var(--gold); }
@media (max-width: 600px) { .partners { padding: 64px 0 !important; } .partner-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; } }
/* 로그아웃: 상단 「관리자」 표시 바로 옆 */
.admin-nav-right { display: flex; align-items: stretch; gap: 8px; }
.admin-nav-right #adminLogoutBtn { align-self: stretch; padding-top: 0 !important; padding-bottom: 0 !important; }

/* ---- 모바일 메뉴 서랍: 위에서부터 정돈된 목록, 하위 메뉴는 아래로 펼침 ---- */
@media (max-width: 1080px) {
  .navbar .nav-links {
    width: min(340px, 86vw) !important; justify-content: flex-start !important; align-items: stretch !important;
    gap: 0 !important; padding: 84px 24px 32px !important; overflow-y: auto; box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  }
  .navbar .nav-links > .nav-link, .navbar .nav-links .nav-dropdown > .nav-link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 16px 4px !important; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 1.1rem !important;
  }
  .navbar .nav-links .nav-dropdown { display: block !important; width: 100%; }
  .navbar .nav-links .nav-dropdown-menu {
    position: static !important; display: none; width: 100% !important; margin: 4px 0 8px !important; padding: 4px 0 !important;
    height: auto !important; border: none !important; border-left: 2px solid var(--blue) !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important; opacity: 1 !important; visibility: inherit !important; transform: none !important;
  }
  .navbar .nav-links .nav-dropdown.open .nav-dropdown-menu { display: block !important; }
  .navbar .nav-links .nav-dropdown-item { padding: 12px 14px !important; }
  .navbar .nav-links .nav-login {
    margin-top: 22px; justify-content: center !important; border-bottom: none !important; padding: 13px 20px !important;
    border-radius: 999px; width: 100%; position: static !important; transform: none !important;
  }
}

/* ---- 모바일 메뉴 v2: 전체 화면, 큰 글씨, 카드형 하위 메뉴, 하단 고정 로그인 ---- */
@media (max-width: 1080px) {
  .navbar .nav-links {
    width: 100vw !important; max-width: none !important; height: 100dvh !important; border-left: none !important; box-shadow: none !important;
    background: #fff !important; padding: 96px 22px calc(96px + env(safe-area-inset-bottom)) !important;
  }
  .navbar .nav-links > .nav-link, .navbar .nav-links .nav-dropdown > .nav-link {
    border-bottom: none !important; padding: 10px 2px !important; font-size: 1.9rem !important; font-weight: 700 !important; letter-spacing: -0.03em;
  }
  .navbar .nav-links .nav-caret { font-size: 0.9rem; opacity: .45; }
  .navbar .nav-links .nav-dropdown-menu {
    margin: 6px 0 14px !important; padding: 0 !important; border: none !important; display: none; gap: 10px;
  }
  .navbar .nav-links .nav-dropdown.open .nav-dropdown-menu { display: grid !important; }
  .navbar .nav-links .nav-dropdown-item {
    background: #f5f5f7 !important; border: none !important; border-radius: 16px !important; padding: 16px 18px !important;
  }
  .navbar .nav-links .nav-dropdown-item strong { font-size: 1.02rem; }
  .navbar .nav-links .nav-login {
    position: fixed !important; left: 22px; right: 22px; bottom: calc(24px + env(safe-area-inset-bottom)); width: auto !important; margin: 0 !important;
    padding: 16px 20px !important; font-size: 1.05rem; box-shadow: 0 10px 28px rgba(255,169,77,0.35);
  }
}

/* ---- 모바일 메뉴 v3: 작은 카드형, 상단 바로 아래에 열림 ---- */
@media (max-width: 1080px) {
  .navbar .nav-links {
    top: 56px !important; right: -120% !important; left: auto !important; width: min(300px, calc(100vw - 24px)) !important; height: auto !important; max-height: calc(100dvh - 72px);
    padding: 10px 14px 14px !important; border: 1px solid rgba(0,0,0,0.06) !important; border-radius: 20px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.16) !important;
  }
  .navbar .nav-links.open { right: 12px !important; }
  .navbar .nav-links > .nav-link, .navbar .nav-links .nav-dropdown > .nav-link { font-size: 1.02rem !important; font-weight: 600 !important; padding: 12px 6px !important; letter-spacing: -0.01em; }
  .navbar .nav-links .nav-dropdown-menu { margin: 0 0 8px !important; gap: 6px; }
  .navbar .nav-links .nav-dropdown-item { border-radius: 12px !important; padding: 10px 12px !important; }
  .navbar .nav-links .nav-dropdown-item strong { font-size: 0.92rem; }
  .navbar .nav-links .nav-login {
    position: static !important; left: auto; right: auto; bottom: auto; width: 100% !important; margin: 8px 0 0 !important;
    padding: 11px 16px !important; font-size: 0.95rem; box-shadow: none;
  }
}

/* ---- 모바일 메뉴 v4: 애플 스타일 — 전체 화면, 큰 글씨 목록만 ---- */
@media (max-width: 1080px) {
  .navbar .nav-links {
    top: 0 !important; left: auto !important; right: -110% !important; width: 100vw !important; max-width: none !important; height: 100dvh !important; max-height: none !important;
    background: #fbfbfd !important; border: none !important; border-radius: 0 !important; box-shadow: none !important;
    padding: 92px 36px 40px !important; gap: 0 !important; justify-content: flex-start !important; align-items: stretch !important; overflow-y: auto;
  }
  .navbar .nav-links.open { right: 0 !important; }
  .navbar .nav-links > .nav-link, .navbar .nav-links .nav-dropdown > .nav-link {
    padding: 11px 0 !important; font-size: 1.75rem !important; font-weight: 600 !important; letter-spacing: -0.02em; line-height: 1.25;
    justify-content: flex-start !important; gap: 10px; border: none !important; color: var(--ink);
  }
  .navbar .nav-links .nav-caret { font-size: 0.7rem; opacity: .4; margin: 0; }
  .navbar .nav-links .nav-dropdown-menu { margin: 0 0 6px !important; padding: 0 0 0 2px !important; border: none !important; gap: 0; }
  .navbar .nav-links .nav-dropdown-item { background: transparent !important; border-radius: 0 !important; padding: 8px 0 !important; display: flex; align-items: center; gap: 12px; }
  .navbar .nav-links .nav-dropdown-item > i { font-size: 1rem; width: 22px; text-align: center; }
  .navbar .nav-links .nav-dropdown-item strong { font-size: 1.2rem; font-weight: 500; color: rgba(29,29,31,0.72); }
  .navbar .nav-links .nav-dropdown-item small { display: none; }
  .navbar .nav-links .nav-login {
    background: transparent !important; box-shadow: none !important; color: var(--ink) !important; border-radius: 0 !important;
    width: auto !important; margin: 0 !important; padding: 11px 0 !important; font-size: 1.75rem !important; font-weight: 600 !important; justify-content: flex-start !important; letter-spacing: -0.02em;
  }
  .navbar .nav-links .nav-login i { display: none; }
}

/* 모바일 메뉴: 하위 메뉴는 항상 펼쳐진 상태가 기본 */
@media (max-width: 1080px) {
  .navbar .nav-links .nav-dropdown-menu { display: grid !important; }
  .navbar .nav-links .nav-caret { display: none; }
}

/* 모바일 메뉴: 아이콘 제거 */
@media (max-width: 1080px) {
  .navbar .nav-links .nav-dropdown-item > i, .navbar .nav-links .nav-login i { display: none !important; }
}

@media (max-width: 1080px) { .navbar .nav-links:not(.open) { visibility: hidden; } .navbar .nav-links { transition: right .3s ease, visibility 0s linear .3s; } .navbar .nav-links.open { visibility: visible; transition: right .3s ease, visibility 0s; } }

/* 사업 영역 카드: 링크를 없앤 뒤 아래 빈 공간 제거 — 위·아래 여백을 같게 */
.service-card { min-height: 0 !important; }
.service-card .service-desc { flex: 0 1 auto !important; }
.service-card-app, a.service-card { cursor: pointer !important; color: inherit; }

/* ---- 모바일 회원가입/로그인: 애플 스타일 — 큰 제목 + 줄 단위 목록 ---- */
@media (max-width: 600px) {
  #profileMain { padding: 72px 0 0 !important; background: #fbfbfd !important; min-height: 100dvh; }
  #stateEmailVerify { max-width: none !important; width: 100%; padding: 8px 28px 28px !important; text-align: left !important; background: transparent !important; box-shadow: none !important; border: none !important; }
  #stateEmailVerify .state-icon { display: none !important; }
  #stateEmailVerify h2 { font-size: 1.75rem !important; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px !important; text-align: left !important; }
  #stateEmailVerify > p { font-size: 0.9rem !important; color: rgba(29,29,31,0.6) !important; text-align: left !important; margin: 0 0 14px !important; line-height: 1.5; }
  #stateEmailVerify .verify-form { max-width: none !important; width: 100%; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; }
  #stateEmailVerify .signup-type { display: flex !important; flex-direction: column; gap: 0 !important; margin: 0 0 6px !important; border-bottom: 1px solid rgba(0,0,0,0.12); }
  #stateEmailVerify .signup-type label span { display: flex !important; align-items: center; gap: 10px; border: none !important; border-radius: 0 !important; background: transparent !important; color: rgba(29,29,31,0.35) !important; font-size: 1.5rem !important; font-weight: 700; letter-spacing: -0.02em; padding: 8px 0 !important; text-align: left; }
  #stateEmailVerify .signup-type input:checked + span { color: var(--ink) !important; background: transparent !important; }
  #stateEmailVerify .signup-type span i { display: none; }
  #stateEmailVerify .form-group { margin: 0 !important; padding: 10px 0 0; border-bottom: 1px solid rgba(0,0,0,0.12); }
  #stateEmailVerify .form-group label { font-size: 0.78rem !important; color: rgba(29,29,31,0.55) !important; text-align: left !important; display: block; margin: 0 !important; }
  #stateEmailVerify .form-group input { border: none !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 0 10px !important; font-size: 1.1rem !important; font-weight: 500; width: 100%; }
  #stateEmailVerify .form-group input::placeholder { color: rgba(29,29,31,0.3); font-weight: 400; }
  #stateEmailVerify .su-submit { margin-top: 18px; padding: 15px 16px; font-size: 1.05rem; }
  #stateEmailVerify .signup-note { font-size: 0.7rem !important; text-align: left !important; }
  #stateEmailVerify .signup-switch { text-align: left !important; font-size: 0.85rem; }
}
@media (max-width: 600px) {
  #stateEmailVerify .signup-type label { display: block; width: 100%; }
  #stateEmailVerify .signup-type label span { justify-content: flex-start !important; width: 100%; }
}
@media (max-width: 600px) {
  #stateEmailVerify { display: flex; flex-direction: column; align-items: stretch !important; }
  #stateEmailVerify h2 { align-self: flex-start; }
  #stateEmailVerify > p { margin-bottom: 8px !important; font-size: 0.82rem !important; }
  #stateEmailVerify .signup-type label span { font-size: 1.35rem !important; padding: 6px 0 !important; }
  #stateEmailVerify .su-submit { margin-top: 14px; }
}

/* 관리자 상단: 오른쪽 끝 정렬, 순서는 「로그아웃 | 관리자」 */
.admin-nav-right { justify-content: flex-end; margin-left: auto; }
.admin-nav-right #adminLogoutBtn { order: 1; }
.admin-nav-right .admin-badge { order: 2; }

/* 추가 버튼: 「등록된 크루 / 파트너사」 제목과 같은 줄, 오른쪽 끝 */
.admin-panel-header.with-action { flex-wrap: nowrap !important; align-items: center !important; }
.admin-panel-header.with-action > div { min-width: 0; }
.admin-panel-header.with-action .admin-add-btn { flex-shrink: 0; margin-left: auto; white-space: nowrap; }
@media (max-width: 600px) { .admin-panel-header.with-action .admin-add-top span { display: inline !important; } }
.admin-panel-header.with-action { align-items: flex-start !important; }
.admin-panel-header.with-action .admin-add-btn { margin-top: -3px; }

/* 탭(크루 목록 · 파트너 목록)과 추가 버튼을 같은 줄에 */
.admin-tabrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 24px; }
.admin-tabrow .admin-tabs { flex: 0 1 auto; }
.admin-tabrow .admin-add-btn { flex-shrink: 0; white-space: nowrap; margin: 0 !important; }
.admin-panel-header.with-action { flex-wrap: wrap !important; }
@media (max-width: 700px) {
  .admin-topbar { grid-template-areas: "title actions" !important; margin-bottom: 14px !important; }
  .admin-tabrow { margin-bottom: 18px; gap: 8px; }
  .admin-tabrow .admin-tabs { display: flex !important; gap: 6px !important; width: auto; flex: 1 1 auto; min-width: 0; }
  .admin-tabrow .admin-tab { flex: 1 1 0; padding: 10px 6px !important; font-size: 0.86rem !important; }
  .admin-tabrow .admin-add-top { padding: 10px 12px !important; }
  .admin-tabrow .admin-add-top span { display: none; }
}

/* 관리자 상단바(웹): 「로그아웃 | 관리자」를 맨 오른쪽 끝에 */
.navbar .nav-inner > #adminNavRight { grid-column: 3; justify-self: end; margin-left: auto; }

/* 크루·파트너 목록 위 제목/설명 제거 (숫자 배지는 화면 밖에서 유지) */
.admin-panel-header.with-action[hidden] { display: none !important; }

/* ---- 모바일 프로필 편집: 애플 스타일 — 카드 없이 큰 글씨 목록 ---- */
@media (max-width: 700px) {
  #profileMain { padding: 72px 0 40px !important; background: #fbfbfd !important; }
  #stateEditor { padding: 0 24px !important; max-width: none !important; }
  #stateEditor .profile-editor-header { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; padding: 8px 0 18px !important; position: static !important; }
  #stateEditor .profile-editor-header > div { width: 100%; min-width: 0; }
  #stateEditor .profile-editor-header h1 { font-size: 1.9rem !important; font-weight: 700; letter-spacing: -0.02em; }
  #stateEditor .header-memo input { border-radius: 0 !important; border: none !important; border-bottom: 1px solid rgba(0,0,0,0.15) !important; background: transparent !important; padding: 8px 0 !important; font-size: 1rem !important; }
  /* 공개 페이지 보기 · 내려받기 · 링크 복사 → 큰 글씨 목록 */
  #stateEditor .profile-editor-header .header-actions { position: static !important; transform: none !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; width: 100%; margin: 6px 0 0 !important; }
  #stateEditor .profile-editor-header .credits-share { position: static !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; margin: 0 !important; }
  #stateEditor .profile-editor-header #editorPublicLink,
  #stateEditor .profile-editor-header .credits-share a,
  #stateEditor .profile-editor-header .credits-share button {
    width: 100% !important; justify-content: flex-start !important; background: transparent !important; color: var(--ink) !important; border-radius: 0 !important; box-shadow: none !important;
    font-size: 1.3rem !important; font-weight: 600 !important; letter-spacing: -0.01em; padding: 14px 0 !important; margin: 0 !important; border-bottom: 1px solid rgba(0,0,0,0.1) !important; text-align: left; gap: 12px !important;
  }
  #stateEditor .profile-editor-header .credits-share i, #stateEditor .profile-editor-header #editorPublicLink i { color: rgba(29,29,31,0.45); font-size: 1rem; width: 20px; text-align: center; }
  #stateEditor .credits-share small { padding: 6px 0 0; }

  /* 섹션: 카드 없이 */
  #stateEditor .profile-form { padding: 0 !important; }
  #stateEditor .pf-section { background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; padding: 26px 0 8px !important; }
  #stateEditor .pf-section-title { font-size: 1.6rem !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 0 0 12px !important; }
  #stateEditor .pf-section-title i { display: none; }
  #stateEditor .pf-section-desc { font-size: 0.85rem; }
  /* 입력칸: 줄 단위 */
  #stateEditor .pf-section:nth-of-type(-n+2) .form-group { border-bottom: 1px solid rgba(0,0,0,0.12); padding-top: 10px; margin-bottom: 4px !important; }
  #stateEditor .pf-section:nth-of-type(-n+2) .form-group label { font-size: 0.78rem !important; color: rgba(29,29,31,0.55) !important; }
  #stateEditor .pf-section:nth-of-type(-n+2) input:not([type=radio]):not([type=checkbox]), #stateEditor .pf-section:nth-of-type(-n+2) textarea { border: none !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 0 10px !important; font-size: 1.1rem !important; font-weight: 500; }
  #stateEditor .form-row.two-col { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  #stateEditor .category-picker { grid-template-columns: 1fr !important; gap: 0 !important; border-bottom: 1px solid rgba(0,0,0,0.12); }
  #stateEditor .category-card { display: flex !important; align-items: baseline; gap: 10px; border: none !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 8px 0 !important; color: rgba(29,29,31,0.35); }
  #stateEditor .category-card i, #stateEditor .category-card small { display: none; }
  #stateEditor .category-card strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
  #stateEditor .category-option input:checked + .category-card { color: var(--ink) !important; }
}
@media (max-width: 700px) {
  #stateEditor .category-card strong { color: inherit !important; }
  #stateEditor .category-option input:checked + .category-card strong { color: var(--ink) !important; }
}

/* 모바일 메뉴: 로그인 상태 점이 화면 모서리로 튀지 않게 — 이름 옆에 작게 표시 */
@media (max-width: 1080px) {
  .navbar .nav-links .nav-login.is-signed-in { position: relative !important; }
  .navbar .nav-links .nav-login.is-signed-in::after { position: static !important; display: inline-block; flex-shrink: 0; margin-left: 8px; width: 8px; height: 8px; box-shadow: none !important; align-self: center; }
}

/* 모바일: 내 프로필 메뉴는 화면 아래에서 올라오는 큰 글씨 목록(바텀시트) — 메뉴 단추 위치와 상관없이 항상 보임 */
@media (max-width: 1080px) {
  .me-menu {
    position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: 100% !important; max-width: none !important;
    max-height: 86dvh; overflow-y: auto; z-index: 3000 !important; box-sizing: border-box;
    border-radius: 24px 24px 0 0 !important; padding: 22px 26px calc(22px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -12px 48px rgba(0,0,0,0.22) !important; background: #fbfbfd !important;
  }
  .me-menu .me-link { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; padding: 14px 2px; border-radius: 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .me-menu .me-link:last-child { border-bottom: none; }
  .me-menu .me-link i { display: none; }
  .me-menu .me-status { padding: 2px 0 14px; }
  .me-menu .qs-label { font-size: 0.95rem; }
  .me-menu .qs-note input { font-size: 1rem; }
}

/* 모바일 v2: 내 프로필 메뉴 — 전체 화면, 큰 글씨 목록만 */
.me-x { display: none; }
@media (max-width: 1080px) {
  .me-menu { top: 0 !important; bottom: 0 !important; height: 100dvh; max-height: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 92px 36px calc(28px + env(safe-area-inset-bottom)) !important; }
  .me-menu .me-x { display: flex; position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }
  .me-menu .me-status { padding: 0 0 6px !important; margin: 0 0 6px !important; border-bottom: none !important; }
  .me-menu .qs-label { font-size: 0.8rem !important; color: rgba(29,29,31,0.55); margin: 0 0 8px; }
  .me-menu .qs-label small { display: none; }
  .me-menu .qs-btns { display: flex !important; flex-direction: column; gap: 0 !important; }
  .me-menu .qs-btn { background: none !important; border: 0 !important; box-shadow: none !important; padding: 6px 0 !important; text-align: left; border-radius: 0 !important; }
  .me-menu .qs-btn .status-badge { background: none !important; padding: 0 !important; font-size: 1.5rem !important; font-weight: 700 !important; letter-spacing: -0.02em; color: rgba(29,29,31,0.3) !important; }
  .me-menu .qs-btn[aria-checked="true"] .status-badge, .me-menu .qs-btn.on .status-badge, .me-menu .qs-btn.active .status-badge, .me-menu .qs-btn.selected .status-badge { color: var(--ink) !important; }
  .me-menu .qs-note input { border: none !important; border-bottom: 1px solid rgba(0,0,0,0.15) !important; border-radius: 0 !important; background: transparent !important; padding: 10px 0 !important; font-size: 1.05rem !important; }
  .me-menu .me-link { font-size: 1.5rem !important; font-weight: 700 !important; padding: 12px 0 !important; border-bottom: none !important; }
}

/* 자기소개(300자): 처음부터 300자가 들어갈 만큼 넉넉하게, 글이 늘면 더 커짐 */
#pfBio { min-height: 11.5em !important; overflow: hidden; resize: none; line-height: 1.55; }
@media (max-width: 700px) { #stateEditor #pfBio { min-height: 15em !important; } }

/* 모바일: 내 프로필 메뉴에서 「현재 상태」 설정 제거 (프로필 화면의 상태 태그로 바꿀 수 있음) */
@media (max-width: 1080px) { .me-menu .me-status, .me-menu .me-loading { display: none !important; } }

/* 모바일 카테고리(편집/협력): 선택 여부가 한눈에 보이게 — 오른쪽 원형 표시 + 선택 줄 강조 */
@media (max-width: 700px) {
  #stateEditor .category-picker { gap: 10px !important; border-bottom: none !important; }
  #stateEditor .category-option { display: block; }
  #stateEditor .category-card { position: relative; display: flex !important; align-items: center !important; justify-content: flex-start; padding: 16px 56px 16px 18px !important; border: 2px solid rgba(0,0,0,0.12) !important; border-radius: 16px !important; background: #fff !important; color: rgba(29,29,31,0.45) !important; transition: border-color .15s, background .15s; }
  #stateEditor .category-card::after { content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.25); box-sizing: border-box; background: #fff; }
  #stateEditor .category-option input:checked + .category-card { border-color: var(--blue) !important; background: rgba(255,169,77,0.14) !important; color: var(--ink) !important; }
  #stateEditor .category-option input:checked + .category-card::after { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
}

/* 모바일 필모그래피 입력: 화면 밖으로 넘치지 않게 정리 */
@media (max-width: 700px) {
  #stateEditor, #profileForm { max-width: 100%; overflow-x: clip; }
  #stateEditor .film-entry { padding: 14px !important; min-width: 0; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  #stateEditor .film-entry-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 8px !important; }
  #stateEditor .film-entry-main .form-group { min-width: 0; margin: 0 !important; }
  #stateEditor .film-entry-main input, #stateEditor .film-entry-main select { width: 100% !important; min-width: 0; box-sizing: border-box; font-size: 1rem !important; }
  #stateEditor .film-entry-remove { grid-column: 1 / -1; width: 100% !important; height: 40px !important; border-radius: 12px !important; }
  #stateEditor .film-en-row input { width: 100%; box-sizing: border-box; }
  #stateEditor .film-poster-row { flex-wrap: wrap; gap: 8px 10px; }
  #stateEditor .film-poster-row .film-poster-box { order: 0; }
  #stateEditor .film-poster-row .film-poster-upload-btn { order: 1; flex: 1 1 auto; justify-content: center; min-width: 0; }
  #stateEditor .film-poster-row .film-poster-remove { order: 2; }
  #stateEditor .film-poster-row .film-poster-url-input { order: 3; flex: 1 1 100% !important; width: 100%; min-width: 0; box-sizing: border-box; font-size: 0.9rem !important; }
  #stateEditor .film-find-row { min-width: 0; }
  #stateEditor .film-find-msg { flex: 1 1 100%; }
}

/* 모바일: 비밀번호 변경 — 전체 화면, 큰 제목 + 줄 단위 입력 */
@media (max-width: 700px) {
  #ucPwDialog { background: #fbfbfd !important; padding: 0 !important; align-items: stretch !important; justify-content: stretch !important; z-index: 3500 !important; overflow-y: auto; }
  #ucPwDialog form { width: 100% !important; max-width: none !important; min-height: 100dvh; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: calc(84px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom)) !important; gap: 0 !important; box-sizing: border-box; }
  #ucPwDialog h3 { font-size: 1.75rem !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 0 0 14px !important; }
  #ucPwDialog input { border: none !important; border-bottom: 1px solid rgba(0,0,0,0.15) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 16px 0 12px !important; font-size: 1.15rem !important; font-weight: 500; width: 100%; box-sizing: border-box; }
  #ucPwDialog input::placeholder { color: rgba(29,29,31,0.35); font-weight: 400; }
  #ucPwDialog .pw-msg { margin: 12px 0 0 !important; font-size: 0.9rem !important; min-height: 1.4em !important; }
  #ucPwDialog form > div { flex-direction: column-reverse; gap: 4px !important; margin-top: auto; padding-top: 22px; }
  #ucPwDialog form > div button { width: 100%; padding: 15px 16px !important; font-size: 1.05rem !important; font-weight: 600; text-align: center; }
  #ucPwDialog .pw-cancel { background: transparent !important; color: rgba(29,29,31,0.6) !important; }
}
@media (max-width: 700px) { #ucPwDialog form > div button[type=submit] { background: var(--blue) !important; color: var(--on-blue) !important; } }

/* 모바일: 프로필 업로드(글자 읽기) — 전체 화면, 큰 글씨 목록 */
@media (max-width: 700px) {
  .ocr-modal { padding: 0 !important; background: #fbfbfd !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; align-items: stretch !important; }
  .ocr-dialog { max-width: none !important; width: 100% !important; height: 100dvh; max-height: none !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; padding: calc(80px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom)) !important; overflow-y: auto; box-sizing: border-box; }
  .ocr-close { top: 14px; right: 16px; width: 44px; height: 44px; background: none !important; font-size: 1.5rem; }
  .ocr-body h2 { font-size: 1.75rem !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 0 0 12px !important; }
  .ocr-body h2 i { display: none !important; }
  .ocr-desc { font-size: 0.88rem !important; color: rgba(29,29,31,0.6) !important; line-height: 1.6; margin-bottom: 14px !important; }
  /* 올리기 */
  .ocr-drop { flex-direction: row !important; justify-content: flex-start; text-align: left !important; gap: 12px !important; border: none !important; border-top: 1px solid rgba(0,0,0,0.1) !important; border-bottom: 1px solid rgba(0,0,0,0.1) !important; border-radius: 0 !important; background: transparent !important; padding: 18px 0 !important; flex-wrap: wrap; }
  .ocr-drop i { display: none !important; }
  .ocr-drop strong { font-size: 1.5rem !important; font-weight: 700; letter-spacing: -0.02em; flex: 1 1 100%; }
  .ocr-drop small { flex: 1 1 100%; font-size: 0.8rem; }
  .ocr-points { margin: 14px 0 6px !important; gap: 6px !important; font-size: 0.8rem !important; color: rgba(29,29,31,0.55) !important; }
  .ocr-points i { display: none !important; }
  .ocr-link { display: block; width: 100%; text-align: left; font-size: 1.25rem !important; font-weight: 600; letter-spacing: -0.01em; text-decoration: none !important; color: var(--ink) !important; padding: 16px 0 !important; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .ocr-link i { display: none; }
  /* 진행 */
  .ocr-status { font-size: 1.15rem !important; font-weight: 600; }
  /* 읽은 내용 확인 */
  .ocr-rows { gap: 0 !important; }
  .ocr-row { background: transparent !important; border-radius: 0 !important; padding: 16px 0 !important; border-bottom: 1px solid rgba(0,0,0,0.1); grid-template-columns: 1fr !important; gap: 6px !important; }
  .ocr-check { font-size: 1.25rem !important; font-weight: 700 !important; letter-spacing: -0.02em; padding-top: 0 !important; }
  .ocr-check input { width: 22px !important; height: 22px !important; }
  .ocr-field input[type=text], .ocr-field input[type=number], .ocr-field select, .ocr-field textarea { border: none !important; border-bottom: 1px solid rgba(0,0,0,0.15) !important; border-radius: 0 !important; background: transparent !important; padding: 8px 0 !important; font-size: 1.05rem !important; }
  .ocr-film { grid-template-columns: 24px minmax(0,1fr) minmax(0,1fr) !important; gap: 8px 10px !important; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .ocr-actions { flex-direction: column-reverse; gap: 4px !important; margin-top: 18px; }
  .ocr-btn { width: 100%; padding: 15px 16px !important; font-size: 1.05rem !important; font-weight: 600 !important; text-align: center; }
  .ocr-btn.ghost { background: transparent !important; color: rgba(29,29,31,0.6) !important; }
}

/* 모바일/아이폰: 「사진 제거」가 사진 아래쪽 가운데에 붙도록 — 사진 영역을 사진 크기만큼만 */
#stateEditor .profile-editor-header > .avatar-wrap { width: fit-content !important; max-width: 100%; align-self: flex-start; }

/* 푸터(웹): 원래 배치 — 로고 · 회사 정보 · 사이트맵(오른쪽 끝). 모바일 순서는 아래 블록에서 따로 지정 */

/* 모바일 푸터 순서: 사이트맵 → 회사명(로고) → 회사 정보 */
@media (max-width: 1080px) {
  .footer-top { display: flex !important; flex-direction: column; }
  .footer-top .footer-side { order: 1; margin-bottom: 26px; }
  .footer-top .footer-brand { order: 2; }
  .footer-top .footer-contact-wrap { order: 3; margin-top: 4px; }
}

/* 크루 목록: 불러오는 동안 자리를 잡아 화면이 튀지 않게 */
.crew-loading { grid-column: 1 / -1; min-height: 46vh; display: flex; align-items: center; justify-content: center; color: rgba(var(--ink-rgb), 0.55); font-size: 0.95rem; margin: 0; }

/* ---- 페이지 이동 효과: 화면이 부드럽게 겹쳐 바뀜 (상단바는 그대로 고정) ---- */
@view-transition { navigation: auto; }
.navbar { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation-duration: 0s; }
::view-transition-old(root) { animation: uc-vt-out .28s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: uc-vt-in .42s cubic-bezier(.2,0,.2,1) both; }
@keyframes uc-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes uc-vt-in { from { opacity: 0; transform: translateY(10px); } }
/* 위 기능이 없는 브라우저(파이어폭스 등): 열릴 때 부드럽게 나타나고, 떠날 때 살짝 사라짐 */
@supports not (view-transition-name: x) {
  body { animation: uc-page-in .4s ease both; }
  @keyframes uc-page-in { from { opacity: 0; transform: translateY(8px); } }
  body.page-leaving { opacity: 0; transition: opacity .25s ease; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .01s; }
  body, body.page-leaving { animation: none !important; transition: none !important; }
}

/* 문의 창: 열릴 때 배경이 서서히 어두워지고 창이 부드럽게 떠오름 (모바일 전체 화면은 아래에서 올라옴) */
.iq-backdrop:not([hidden]) { animation: uc-iq-bg .28s ease both; }
.iq-backdrop:not([hidden]) .iq-dialog, .iq-backdrop:not([hidden]) .iq-done { animation: uc-iq-pop .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes uc-iq-bg { from { opacity: 0; } }
@keyframes uc-iq-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 600px) {
  .iq-backdrop:not([hidden]) .iq-dialog, .iq-backdrop:not([hidden]) .iq-done { animation-name: uc-iq-sheet; animation-duration: .42s; }
  @keyframes uc-iq-sheet { from { opacity: 0; transform: translateY(40px); } }
}
@media (prefers-reduced-motion: reduce) { .iq-backdrop:not([hidden]), .iq-backdrop:not([hidden]) .iq-dialog, .iq-backdrop:not([hidden]) .iq-done { animation: none !important; } }

/* 로그인 · 회원가입 · 프로필 화면: 단계가 바뀔 때(불러오기 → 로그인 ↔ 회원가입 → 편집) 부드럽게 나타남 */
.profile-state:not(.hidden), .profile-editor:not(.hidden), .verify-form:not([hidden]), .admin-login-box { animation: uc-state-in .42s cubic-bezier(.2,.8,.2,1) both; }
.profile-state:not(.hidden) .state-icon { animation: uc-state-pop .5s cubic-bezier(.2,.9,.3,1.2) .05s both; }
.verify-form:not([hidden]) .form-group, .verify-form:not([hidden]) .signup-type, .verify-form:not([hidden]) .su-submit, .verify-form:not([hidden]) .btn-primary { animation: uc-state-in .45s cubic-bezier(.2,.8,.2,1) both; }
.verify-form:not([hidden]) > :nth-child(2) { animation-delay: .04s; } .verify-form:not([hidden]) > :nth-child(3) { animation-delay: .08s; }
.verify-form:not([hidden]) > :nth-child(4) { animation-delay: .12s; } .verify-form:not([hidden]) > :nth-child(5) { animation-delay: .16s; }
.verify-form:not([hidden]) > :nth-child(6) { animation-delay: .2s; }
@keyframes uc-state-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes uc-state-pop { from { opacity: 0; transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) { .profile-state, .profile-editor, .verify-form, .admin-login-box, .state-icon, .verify-form * { animation: none !important; } }

/* 프로필(로그인) 화면 첫 표시: 건너뛰기 없이 바로 로그인 화면, 페이지 전환 효과와 겹쳐 또 움직이지 않게 */
html.uc-guest #stateLoading { display: none !important; }
/* 편집 화면(또는 오류 화면)이 나타나면 이 강제 표시는 자동으로 꺼짐 — 자바스크립트가 낡은 버전이어도 로그인 폼이 겹쳐 남지 않게 */
html.uc-guest #profileMain:not(:has(#stateEditor:not(.hidden), #stateError:not(.hidden))) #stateEmailVerify.hidden { display: block !important; }
html.uc-guest #stateError.hidden, html.uc-guest #stateEditor.hidden { display: none; }
html.uc-first .profile-state, html.uc-first .profile-state *, html.uc-first .verify-form, html.uc-first .verify-form * { animation: none !important; }

/* 내려받기(경력 리스트) · 내 공개 페이지: 불러오는 화면은 잠깐 뒤에 서서히, 내용은 아래에서 부드럽게 나타남 */
.cr-state, .cp-state { animation: uc-late-in .35s ease .18s both; }
.cr-sheet:not(.hidden), .cp-profile:not(.hidden) { animation: uc-state-in .5s cubic-bezier(.2,.8,.2,1) both; }
.cr-bar { animation: uc-late-in .3s ease both; }
.cr-actions:not([hidden]) { animation: uc-late-in .35s ease both; }
@keyframes uc-late-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cr-state, .cp-state, .cr-sheet, .cp-profile, .cr-bar, .cr-actions { animation: none !important; } }

/* 현재 상태 메뉴: 눌렀을 때 단추 아래에서 부드럽게 펼쳐지고, 항목이 차례로 나타남 / 화살표는 돌아감 */
.status-menu:not([hidden]) { transform-origin: 18px 0; animation: uc-menu-pop .26s cubic-bezier(.2,.9,.3,1.1) both; }
.status-menu:not([hidden]) button { animation: uc-menu-item .3s cubic-bezier(.2,.8,.2,1) both; }
.status-menu:not([hidden]) button:nth-child(1) { animation-delay: .03s; } .status-menu:not([hidden]) button:nth-child(2) { animation-delay: .06s; }
.status-menu:not([hidden]) button:nth-child(3) { animation-delay: .09s; } .status-menu:not([hidden]) button:nth-child(4) { animation-delay: .12s; }
.status-menu:not([hidden]) button:nth-child(5) { animation-delay: .15s; }
.status-tag .st-caret { transition: transform .25s ease; }
.status-tag[aria-expanded="true"] .st-caret { transform: rotate(180deg); }
.status-tag { transition: filter .15s ease, transform .15s ease; } .status-tag:active { transform: scale(.97); }
@keyframes uc-menu-pop { from { opacity: 0; transform: translateY(-8px) scale(.92); } }
@keyframes uc-menu-item { from { opacity: 0; transform: translateY(-6px); } }
/* 상단 「내 프로필」 작은 팝업(웹)도 같은 방식으로 */
@media (min-width: 1081px) { .me-menu:not([hidden]) { transform-origin: 90% 0; animation: uc-menu-pop .26s cubic-bezier(.2,.9,.3,1.1) both; } }
@media (prefers-reduced-motion: reduce) { .status-menu, .status-menu button, .me-menu, .status-tag .st-caret { animation: none !important; transition: none !important; } }

/* 모바일 관리자 알림: 한 화면 안에 들어오게 촘촘하게 — 서랍 전체는 스크롤하지 않고, 알림 목록만 필요할 때 안에서 스크롤 */
@media (max-width: 700px) {
  .uc-drawer { width: 100vw !important; border-radius: 0 !important; height: 100dvh; overflow: hidden !important; padding: 0 14px 10px !important; }
  .uc-drawer-head { padding: 12px 0 8px !important; margin: 0 !important; }
  .uc-drawer .inbox-header { margin: 6px 0 8px !important; gap: 6px !important; flex: 0 0 auto; }
  .uc-drawer .inbox-header .admin-desc { display: none !important; }
  .uc-drawer .notify-toggle-wrap { gap: 6px !important; flex-wrap: wrap; }
  .uc-drawer .notify-toggle { padding: 6px 12px !important; font-size: 0.74rem !important; }
  .uc-drawer .notify-help { font-size: 0.7rem !important; line-height: 1.45; margin: 0 !important; flex: 1 1 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .uc-drawer .inbox-filters { flex: 0 0 auto; margin-bottom: 8px !important; padding-bottom: 2px !important; min-height: 34px; }
  .uc-drawer .inbox-filter { padding: 5px 11px !important; font-size: 0.75rem !important; }
  .uc-drawer .inbox-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; gap: 8px !important; padding-bottom: 6px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .uc-drawer .inbox-item { padding: 10px 12px !important; flex: 0 0 auto; }
  .uc-drawer .inbox-item header { margin-bottom: 4px !important; gap: 6px !important; }
  .uc-drawer .inbox-item header strong { font-size: 0.95rem; }
  .uc-drawer .inbox-item time { font-size: 0.7rem !important; width: auto !important; margin-left: auto !important; }
  .uc-drawer .inbox-contact { margin-bottom: 6px !important; gap: 4px 12px !important; font-size: 0.76rem !important; }
  .uc-drawer .inbox-message { font-size: 0.82rem !important; line-height: 1.5 !important; padding: 8px 10px !important; margin-bottom: 8px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .uc-drawer .inbox-actions { gap: 6px !important; }
  .uc-drawer .inbox-actions .admin-action-btn { padding: 6px 12px !important; font-size: 0.76rem !important; }
}
@media (max-width: 700px) {
  body:has(.uc-drawer.open) { overflow: hidden; }
  .uc-drawer .inbox-item { padding: 8px 12px !important; }
  .uc-drawer .inbox-item header { margin-bottom: 2px !important; }
  .uc-drawer .inbox-message { -webkit-line-clamp: 1 !important; background: none !important; padding: 0 !important; margin-bottom: 6px !important; font-size: 0.78rem !important; color: rgba(29,29,31,0.7) !important; }
  .uc-drawer .inbox-contact { margin-bottom: 4px !important; flex-wrap: nowrap !important; overflow: hidden; white-space: nowrap; }
  .uc-drawer .inbox-contact > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .uc-drawer .inbox-actions .admin-action-btn { padding: 5px 11px !important; }
}
@media (max-width: 700px) {
  .uc-drawer .notify-help { display: none !important; }
  .uc-drawer .notify-toggle-wrap { flex-wrap: nowrap !important; }
  .uc-drawer .notify-toggle { flex: 1 1 0; justify-content: center; white-space: nowrap; min-width: 0; }
  .uc-drawer .inbox-item time { flex-basis: auto !important; }
  .uc-drawer .inbox-item header { flex-wrap: wrap; }
}

/* 모바일 문의창 「문의 보내기」: 다른 주황 버튼과 같은 크기·모양 (좁은 화면에서 눌려 가늘어지지 않게 높이 고정) */
@media (max-width: 600px) {
  .iq-dialog .iq-submit { flex: 0 0 auto !important; min-height: 54px; padding: 15px 28px !important; font-size: 1.05rem !important; font-weight: 500; border-radius: 980px !important; margin-top: 14px !important; gap: 10px; align-items: center; }
  .iq-dialog { gap: 0; }
  .iq-dialog > * { flex-shrink: 0; }
  .iq-dialog .iq-msg { margin: 6px 0 0 !important; }
}
@media (max-width: 600px) {
  .iq-dialog { padding-top: calc(46px + env(safe-area-inset-top)) !important; padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
  .iq-dialog h3 { margin-bottom: 2px !important; }
  .iq-dialog textarea { min-height: 48px !important; }
  .iq-dialog .iq-submit { margin-top: 10px !important; }
  .iq-agree { margin: 8px 0 0 !important; }
}
@media (max-width: 600px) {
  .iq-dialog label:not(.iq-agree) { padding-top: 5px !important; }
  .iq-dialog input:not([type=radio]):not([type=checkbox]), .iq-dialog textarea { padding-bottom: 6px !important; }
  .iq-dialog .iq-submit { min-height: 52px; padding-top: 13px !important; padding-bottom: 13px !important; }
}

/* 로그인 화면 아래 두 줄 — 「비밀번호 재설정 메일 받기」와 「처음이신가요? 회원가입」을 같은 왼쪽 선·같은 글자 크기로 정렬 */
#stateEmailVerify #forgotPwBtn { display: block; align-self: flex-start; width: auto; margin: 14px 0 0 !important; padding: 0 !important; font-size: 0.85rem !important; line-height: 1.5; text-align: left; }
#stateEmailVerify .signup-switch { align-self: flex-start; margin: 8px 0 0 !important; padding: 0; text-align: left !important; font-size: 0.85rem !important; line-height: 1.5; width: 100%; }
#stateEmailVerify .signup-switch .signup-link { padding: 0 2px 0 4px; font-size: inherit; }
@media (min-width: 601px) {
  /* 웹: 회원가입 줄을 카드(입력칸) 폭과 같은 상자에 넣어 「재설정」 링크와 같은 왼쪽 선에 */
  #stateEmailVerify .signup-switch { width: 368px; max-width: 100%; align-self: center !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
}

/* 푸터(웹): 왼쪽에 「회사명 → 그 아래 회사 정보」를 세로로, 사이트맵은 오른쪽 끝 */
@media (min-width: 1081px) {
  .footer-top { display: grid !important; grid-template-columns: 1fr auto !important; grid-template-rows: auto auto; column-gap: 56px !important; row-gap: 22px; align-items: start; }
  .footer-top .footer-brand { grid-column: 1; grid-row: 1; white-space: normal; }
  .footer-top .footer-contact-wrap { grid-column: 1; grid-row: 2; order: 0; justify-self: start; padding: 0 !important; }
  .footer-top .footer-side { grid-column: 2; grid-row: 1 / span 2; order: 0; justify-self: end; padding-top: 5px; }
}

/* 크루 공개 프로필 통계 카드: 위 줄 「경력 · 참여 작품 · 분야」, 아래 줄 「15년 · 30+ · 편집」 — 카드마다 같은 높이·같은 줄에 맞춤 */
.cp-stats { align-items: stretch; }
.cp-stat { flex-direction: column-reverse !important; justify-content: flex-end !important; gap: 8px !important; }
.cp-stat span { font-size: 0.85rem !important; line-height: 1.3; min-height: 1.3em; display: block; }
.cp-stat strong, .cp-stat.text strong { font-size: 1.8rem !important; line-height: 1.2 !important; min-height: 1.2em; display: block; font-weight: 800; }
.cp-stat.text strong { font-family: var(--font-ko, inherit) !important; }

/* 상단 「내 이름」 단추: 테두리·아이콘·점 색이 현재 상태를 따라 바뀜 (부드럽게 전환) */
.nav-link.nav-login.is-signed-in { transition: box-shadow .35s ease, background .2s ease; }
.nav-link.nav-login.is-signed-in i { transition: color .35s ease; }
.nav-link.nav-login.is-signed-in::after { transition: background .35s ease; }
.nav-link.nav-login.is-signed-in[data-status="working"] { box-shadow: 0 0 0 1.5px rgba(255,159,10,0.8), 0 2px 10px rgba(0,0,0,0.08) !important; }
.nav-link.nav-login.is-signed-in[data-status="working"] i { color: #c26a00; }
.nav-link.nav-login.is-signed-in[data-status="working"]::after { background: #ff9f0a; }
.nav-link.nav-login.is-signed-in[data-status="hold"] { box-shadow: 0 0 0 1.5px rgba(10,92,184,0.65), 0 2px 10px rgba(0,0,0,0.08) !important; }
.nav-link.nav-login.is-signed-in[data-status="hold"] i { color: #0a5cb8; }
.nav-link.nav-login.is-signed-in[data-status="hold"]::after { background: #0a84ff; }
.nav-link.nav-login.is-signed-in[data-status="rest"] { box-shadow: 0 0 0 1.5px rgba(94,92,230,0.65), 0 2px 10px rgba(0,0,0,0.08) !important; }
.nav-link.nav-login.is-signed-in[data-status="rest"] i { color: #4c3fc4; }
.nav-link.nav-login.is-signed-in[data-status="rest"]::after { background: #7d7aff; }
.nav-link.nav-login.is-signed-in[data-status="hidden"] { box-shadow: 0 0 0 1.5px rgba(120,120,128,0.7), 0 2px 10px rgba(0,0,0,0.08) !important; }
.nav-link.nav-login.is-signed-in[data-status="hidden"] i { color: #6e6e73; }
.nav-link.nav-login.is-signed-in[data-status="hidden"]::after { background: #8e8e93; }
@media (max-width: 1080px) {      /* 모바일 전체 화면 메뉴에서는 테두리 대신 점 색으로만 표시 */
  .navbar .nav-links .nav-login.is-signed-in[data-status="working"]::after { background: #ff9f0a; }
  .navbar .nav-links .nav-login.is-signed-in[data-status="hold"]::after { background: #0a84ff; }
  .navbar .nav-links .nav-login.is-signed-in[data-status="rest"]::after { background: #7d7aff; }
  .navbar .nav-links .nav-login.is-signed-in[data-status="hidden"]::after { background: #8e8e93; }
}
@media (prefers-reduced-motion: reduce) { .nav-link.nav-login.is-signed-in, .nav-link.nav-login.is-signed-in i, .nav-link.nav-login.is-signed-in::after { transition: none !important; } }

/* ---- 서비스 이용약관 · 개인정보처리방침 페이지 ---- */
.legal-main { padding: 120px 0 72px; background: transparent; }
.legal-doc { max-width: 860px; margin: 0 auto; padding: 0 24px; color: var(--ink); font-size: 0.98rem; line-height: 1.85; }
.legal-doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 10px; }
.legal-meta { color: rgba(var(--ink-rgb), 0.55); font-size: 0.88rem; margin: 0 0 18px; }
.legal-lead { margin: 0 0 26px; color: rgba(var(--ink-rgb), 0.85); }
.legal-doc h2 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,0.08); }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ol, .legal-doc ul { margin: 0 0 14px; padding-left: 1.4em; }
.legal-doc li { margin: 6px 0; }
.legal-doc ul ul, .legal-doc ol ul { margin: 6px 0 4px; }
.legal-doc a { color: var(--link, #b45f06); text-decoration: underline; text-underline-offset: 3px; }
.legal-company { list-style: none; padding-left: 0 !important; }
.legal-company li { margin: 4px 0; }
.legal-summary { background: #fff; border-radius: 18px; box-shadow: 0 6px 24px rgba(0,0,0,0.06); padding: 20px 24px; margin: 0 0 8px; }
.legal-summary > b { display: block; margin-bottom: 6px; }
.legal-summary ul { margin: 0; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 16px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); background: #fff; -webkit-overflow-scrolling: touch; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.88rem; line-height: 1.65; }
.legal-table th { background: #f5f5f7; text-align: left; font-weight: 700; padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.1); white-space: nowrap; }
.legal-table td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid rgba(0,0,0,0.06); }
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 700px) { .legal-main { padding-top: 96px; } .legal-doc { padding: 0 20px; font-size: 0.95rem; } .legal-doc h2 { margin-top: 30px; padding-top: 20px; } }
/* 푸터의 약관 링크 */
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 0; font-size: 0.82rem; }
.footer-legal a { color: rgba(var(--ink-rgb), 0.7); text-decoration: none; }
.footer-legal a:hover { color: var(--link, #b45f06); text-decoration: underline; }
.footer-legal span { color: rgba(var(--ink-rgb), 0.3); }

/* ---- Capturless 다운로드 안내 창 (가입 후 다운로드) ---- */
.cd-backdrop { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: ucFade .22s ease both; }
.cd-dialog { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 34px 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.28); color: var(--ink, #1d1d1f); animation: uc-iq-pop .38s cubic-bezier(.2,.8,.2,1) both; }
.cd-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,0.06); font-size: 1rem; color: var(--ink, #1d1d1f); display: flex; align-items: center; justify-content: center; }
.cd-dialog h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 28px 10px 0; line-height: 1.3; }
.cd-body { font-size: 0.95rem; line-height: 1.7; color: rgba(29,29,31,0.75); margin: 0 0 22px; }
.cd-actions { display: grid; gap: 10px; }
.cd-btn { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 20px; border-radius: 980px; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.cd-btn.primary { background: var(--blue, #ffa94d); color: var(--on-blue, #2b1600); font-weight: 500; box-shadow: 0 2px 10px rgba(255,159,67,0.35); }
.cd-btn.primary:hover { background: #ffb866; }
.cd-btn.primary:disabled { background: #ffd3a3; cursor: wait; }
.cd-btn.ghost { background: rgba(0,0,0,0.06); color: var(--ink, #1d1d1f); }
.cd-btn.text { background: none; color: rgba(29,29,31,0.55); padding: 8px; font-size: 0.9rem; }
.cd-msg { min-height: 1.3em; margin: 14px 0 0; font-size: 0.86rem; line-height: 1.55; color: rgba(29,29,31,0.7); text-align: center; }
@media (max-width: 600px) {
  .cd-backdrop { padding: 0; background: #fbfbfd; align-items: stretch; }
  .cd-dialog { max-width: none; border-radius: 0; box-shadow: none; background: transparent; padding: calc(84px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .cd-close { top: 14px; right: 16px; width: 44px; height: 44px; background: none; font-size: 1.5rem; }
  .cd-dialog h3 { font-size: 1.75rem; margin-right: 0; }
  .cd-actions { margin-top: auto; }
}
@media (prefers-reduced-motion: reduce) { .cd-backdrop, .cd-dialog { animation: none !important; } }

/* ---- 관리자 「한 번 더 확인」 창 ---- */
.ac-backdrop { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: ucFade .2s ease both; }
.ac-dialog { width: 100%; max-width: 400px; background: #fff; border-radius: 24px; padding: 28px 26px 22px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.3); animation: uc-iq-pop .32s cubic-bezier(.2,.8,.2,1) both; color: var(--ink, #1d1d1f); }
.ac-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(255,159,10,0.16); color: #c26a00; }
.ac-dialog.danger .ac-icon { background: rgba(215,0,21,0.1); color: #d70015; }
.ac-dialog h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.35; word-break: keep-all; }
.ac-msg { font-size: 0.92rem; line-height: 1.65; color: rgba(29,29,31,0.68); margin: 0 0 20px; white-space: pre-wrap; word-break: break-word; }
.ac-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-btn { padding: 13px 16px; border-radius: 980px; font-size: 1rem; font-weight: 500; cursor: pointer; border: 1px solid transparent; }
.ac-cancel { background: rgba(0,0,0,0.07); color: var(--ink, #1d1d1f); }
.ac-cancel:hover { background: rgba(0,0,0,0.12); }
.ac-cancel:focus-visible, .ac-ok:focus-visible { outline: 3px solid rgba(255,159,10,0.55); outline-offset: 2px; }
.ac-ok { background: var(--blue, #ffa94d); color: var(--on-blue, #2b1600); }
.ac-ok:hover { background: #ffb866; }
.ac-dialog.danger .ac-ok { background: #d70015; color: #fff; }
.ac-dialog.danger .ac-ok:hover { background: #b3000f; }
@media (max-width: 480px) { .ac-actions { grid-template-columns: 1fr; } .ac-ok { order: -1; } }
@media (prefers-reduced-motion: reduce) { .ac-backdrop, .ac-dialog { animation: none !important; } }

/* ---- 깜박임 줄이기: 로그인·회원가입 버튼을 누를 때 ---- */
/* (1) 페이지 이동: 옛 화면은 새 화면이 덮을 때까지 그대로 두고, 새 화면만 가볍게 나타남
       (이전에는 옛 화면이 사라지는 동안 새 화면이 아직 투명해 배경만 잠깐 보였음) */
::view-transition-old(root) { animation: none !important; }
::view-transition-new(root) { animation: uc-vt-fade .26s ease both !important; }
@keyframes uc-vt-fade { from { opacity: 0; } }
/* (2) 같은 페이지 안에서 로그인 ↔ 회원가입 전환: 투명(0)에서 시작해 입력칸이 하나씩 나타나던 것을,
       반쯤 보이는 상태에서 짧게 한꺼번에 나타나도록 (움직임·순차 등장 없음) */
.profile-state:not(.hidden), .profile-editor:not(.hidden), .verify-form:not([hidden]), .admin-login-box { animation: uc-soft-in .2s ease both !important; }
.profile-state:not(.hidden) .state-icon,
.verify-form:not([hidden]) .form-group, .verify-form:not([hidden]) .signup-type,
.verify-form:not([hidden]) .su-submit, .verify-form:not([hidden]) .btn-primary { animation: none !important; }
@keyframes uc-soft-in { from { opacity: .4; } }

/* 작품 입력: 포스터가 없을 때도 있을 때와 같은 간격 */
.film-entry .film-poster-row { min-height: 52px; }
@media (max-width: 768px) {
  #stateEditor .film-entry .film-poster-row { min-height: 0; margin-top: 8px; }
}

/* 업로드 영역: 모바일에서도 '눌러서 올리는 곳'이 한눈에 보이게 */
.ocr-drop .ocr-m { display: none; }
@media (max-width: 768px) {
  .ocr-drop .ocr-d { display: none; }
  .ocr-drop .ocr-m { display: inline; }
  .ocr-drop { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; gap: 8px !important; border: 2px dashed rgba(255,159,67,0.7) !important; border-radius: 20px !important; background: rgba(255,159,67,0.07) !important; padding: 30px 18px 24px !important; margin: 18px 0 !important; }
  .ocr-drop i { display: block !important; font-size: 2.4rem !important; margin: 0 0 2px !important; }
  .ocr-drop strong { flex: 0 0 auto !important; font-size: 1.2rem !important; text-align: center; }
  .ocr-drop small { flex: 0 0 auto !important; text-align: center; }
  .ocr-drop::after { content: "파일 선택하기"; display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; min-height: 46px; padding: 0 28px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 1rem; font-weight: 600; }
  .ocr-drop:active { background: rgba(255,159,67,0.15) !important; }
  .ocr-link { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 14px; border: 1px solid rgba(0,0,0,0.15) !important; border-radius: 999px; background: transparent; font-size: 0.95rem !important; font-weight: 600; text-align: center !important; }
}

/* 삭제 버튼 위계: 작품(경력) 삭제 = 진한 빨강 휴지통, 포스터 제거 = 연한 휴지통 */
.film-entry-remove { width: 34px !important; height: 34px !important; border-radius: 50% !important; background: #fff !important; color: #d70015 !important; border: 1px solid rgba(215,0,21,0.35) !important; font-size: 0.85rem !important; }
.film-entry-remove:hover { background: #fff0f1 !important; border-color: #d70015 !important; }
.film-poster-remove { background: transparent !important; color: rgba(215,0,21,0.5) !important; border: 1px solid rgba(215,0,21,0.2) !important; font-size: 0.75rem !important; }
.film-poster-remove:hover { background: rgba(215,0,21,0.06) !important; color: #d70015 !important; }
@media (max-width: 768px) {
  #stateEditor .film-entry-remove { border-radius: 12px !important; width: 100% !important; height: 40px !important; }
}

/* 포스터 휴지통은 이미지 안(모서리), 작품 삭제 버튼은 포스터 찾기 줄 오른쪽 끝 (PC·모바일 공통) */
.film-poster-box { position: relative; display: inline-flex; flex-shrink: 0; order: -1; }
.film-poster-box .film-poster-remove { position: absolute; top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: 30px !important; height: 30px !important; font-size: 0.75rem !important; background: rgba(255,255,255,0.92) !important; z-index: 2; }
.film-poster-box .film-poster-remove { opacity: 0.5; }
.film-poster-box .film-poster-remove:hover, .film-poster-box .film-poster-remove:focus-visible { opacity: 0.9; }
.film-poster-box .film-poster-remove[hidden] { display: none !important; }
.film-find-row .film-find-msg { order: 1; }
.film-find-row .film-find-cands { order: 3; }
.film-find-row .film-entry-remove { order: 2; margin-left: auto; width: 34px !important; height: 34px !important; border-radius: 50% !important; }
@media (max-width: 768px) {
  #stateEditor .film-poster-thumb { cursor: pointer; }
  #stateEditor .film-poster-row .film-poster-box { order: 0; }
  #stateEditor .film-find-row .film-find-msg { order: 2; }
  #stateEditor .film-find-row .film-entry-remove { order: 1; }
  #stateEditor .film-find-row .film-entry-remove { grid-column: auto; width: 34px !important; height: 34px !important; border-radius: 50% !important; }
}

/* 모바일: 포스터 영역을 「이 작품 포스터 찾기」 줄까지 길게 (왼쪽 큰 포스터 + 오른쪽 업로드·URL·찾기) */
@media (max-width: 768px) {
  #stateEditor .film-poster-row { display: grid !important; grid-template-columns: 92px minmax(0, 1fr); gap: 8px 12px; align-items: stretch; }
  #stateEditor .film-poster-row .film-poster-upload-btn { grid-column: 2; grid-row: 1; order: 0; min-width: 0; }
  #stateEditor .film-poster-row .film-poster-url-input { grid-column: 2; grid-row: 2; order: 0; width: 100% !important; min-width: 0; }
}

/* 웹(PC): 포스터 영역을 「이 작품 포스터 찾기」 줄까지 길게 */
@media (min-width: 769px) {
  .film-entry .film-poster-row { align-items: center; }
}

/* 작품 수정: 「구분」 선택칸 높이를 다른 입력칸과 동일하게 */
.film-entry-main .form-group select.film-platform { box-sizing: border-box; height: 33.5px; margin: 0; }
@media (max-width: 768px) {
  #stateEditor .film-entry-main select.film-platform { height: 37px; }
}

/* ===== 작품 입력 칸 재배치 =====
   포스터(왼쪽, 세로로 길게) | 한글 작품명 · 영문 작품명
                            | 연도 · 구분 · 역할
                            | 포스터 업로드 · URL · 이 작품 포스터 찾기 · 삭제            */
#stateEditor .film-entry { display: grid !important; grid-template-columns: auto minmax(0, 1fr); column-gap: 0; align-items: stretch; }
#stateEditor .film-entry .film-poster-box { grid-column: 1; grid-row: 1; position: relative; width: 68px; height: auto !important; margin: 0 12px 0 0 !important; align-self: stretch !important; order: 0; }
#stateEditor .film-entry .film-poster-box .film-poster-thumb { width: 100% !important; height: 100% !important; min-height: 100px; object-fit: cover; border-radius: 8px; display: block; }
#stateEditor .film-entry .film-poster-box .film-poster-remove { top: 50% !important; left: 50% !important; right: auto !important; position: absolute !important; }
#stateEditor .film-entry .film-entry-body { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: center; min-width: 0; padding: 0 !important; }
#stateEditor .film-entry .film-entry-main, #stateEditor .film-entry .film-poster-row, #stateEditor .film-entry .film-find-row { display: contents !important; }
#stateEditor .film-entry .film-entry-body .form-group { margin: 0 !important; min-width: 0; }
#stateEditor .film-entry .film-entry-body input:not([type="hidden"]):not([type="file"]), #stateEditor .film-entry .film-entry-body select { width: 100% !important; min-width: 0; box-sizing: border-box; flex: none !important; }
#stateEditor .film-entry .film-entry-body .form-group:has(.film-title) { grid-column: span 6 !important; grid-row: auto !important; }
#stateEditor .film-entry .film-entry-body .film-en-row { grid-column: span 6 !important; grid-row: auto !important; margin: 0 !important; min-width: 0; }
#stateEditor .film-entry .film-entry-body .form-group:has(.film-year) { grid-column: span 3 !important; grid-row: auto !important; }
#stateEditor .film-entry .film-entry-body .form-group:has(.film-platform) { grid-column: span 3 !important; grid-row: auto !important; }
#stateEditor .film-entry .film-entry-body .form-group:has(.film-role) { grid-column: span 6 !important; grid-row: auto !important; }
#stateEditor .film-entry .film-poster-upload-btn { grid-column: span 3 !important; grid-row: auto !important; min-width: 0; justify-content: center; white-space: nowrap; padding-left: 4px; padding-right: 4px; order: 0 !important; flex: none !important; }
#stateEditor .film-entry .film-poster-url-input { grid-column: span 5 !important; grid-row: auto !important; order: 0 !important; padding: 0.5rem !important; font-size: 0.85rem !important; }
#stateEditor .film-entry .film-find-btn { grid-column: span 3 !important; grid-row: auto !important; min-width: 0; white-space: nowrap; justify-self: stretch; padding-left: 8px; padding-right: 8px; }
#stateEditor .film-entry .film-entry-remove { grid-column: span 1 !important; grid-row: auto !important; justify-self: end; margin: 0 !important; order: 0 !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; }
#stateEditor .film-entry .film-find-msg { grid-column: 1 / -1 !important; grid-row: auto !important; order: 0 !important; }
#stateEditor .film-entry .film-find-msg:empty { display: none; }
#stateEditor .film-entry .film-find-cands { grid-column: 1 / -1 !important; grid-row: auto !important; }
@media (max-width: 768px) {
  #stateEditor .film-entry .film-entry-body .form-group:has(.film-title), #stateEditor .film-entry .film-entry-body .film-en-row { grid-column: span 6 !important; grid-row: auto !important; }
  #stateEditor .film-entry .film-entry-body .film-title, #stateEditor .film-entry .film-entry-body .film-title-en { font-size: 0.9rem !important; padding-left: 8px !important; padding-right: 6px !important; }
  #stateEditor .film-entry .film-entry-body .form-group:has(.film-year) { grid-column: span 4 !important; grid-row: auto !important; }
  #stateEditor .film-entry .film-entry-body .form-group:has(.film-platform) { grid-column: span 4 !important; grid-row: auto !important; }
  #stateEditor .film-entry .film-entry-body .form-group:has(.film-role) { grid-column: span 4 !important; grid-row: auto !important; }
  #stateEditor .film-entry .film-entry-body .film-year, #stateEditor .film-entry .film-entry-body .film-platform, #stateEditor .film-entry .film-entry-body .film-role { font-size: 0.9rem !important; padding-left: 8px !important; padding-right: 6px !important; }
  #stateEditor .film-entry .film-poster-upload-btn { grid-column: span 6 !important; }
  #stateEditor .film-entry .film-poster-url-input { grid-column: span 6 !important; order: 2 !important; }
  #stateEditor .film-entry .film-find-btn { grid-column: span 6 !important; grid-row: auto !important; }
  #stateEditor .film-entry .film-entry-remove { grid-column: span 6 !important; grid-row: auto !important; justify-self: end; width: 34px !important; height: 34px !important; order: 2 !important; }
  #stateEditor .film-entry .film-find-msg { order: 3 !important; } #stateEditor .film-entry .film-find-cands { order: 4; }
}
#stateEditor .film-entry .film-entry-body .film-title-en { box-sizing: border-box; height: 33.5px; padding: 8px 10px !important; font-size: 0.82rem !important; }
@media (max-width: 768px) { #stateEditor .film-entry .film-entry-body .film-title-en { height: 35px; } }
/* 포스터 업로드 버튼도 「포스터 찾기」처럼 둥글게 (웹·모바일 공통) */
#stateEditor .film-entry .film-poster-upload-btn { border-radius: 980px !important; }

/* 모바일: 포스터를 URL 줄까지 원래 비율(약 2:3)로 크게 */
@media (max-width: 768px) {
}

/* 프로필 머리말: 이름 | 역할 한 줄, 그 아래 현재 상태 */
.name-row { align-items: baseline; }
.name-row #editorPosition { margin: 0; align-self: baseline; }
.name-row .status-tag-wrap { flex: 0 0 100%; display: flex; }
/* 「포스터 찾기」와 「업로드」 버튼 높이 동일 */
#stateEditor .film-entry .film-find-btn, #stateEditor .film-entry .film-poster-upload-btn { box-sizing: border-box; height: 34px; display: inline-flex; align-items: center; justify-content: center; margin: 0; }

/* 계정 메뉴 「현재 상태」(PC): 의뢰가능 | 작업중 / 협의 중 | 휴식 | 비공개 — 버튼 크기 모두 동일 */
@media (min-width: 1081px) {
  .me-menu .qs-btns { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .me-menu .qs-btn { grid-column: auto; display: flex; justify-content: stretch; }
  .me-menu .qs-btn:nth-child(3) { grid-column-start: 1; }
  .me-menu .qs-btn .status-badge { flex: 1 1 auto; justify-content: center; text-align: center; white-space: nowrap; }
  .me-menu .qs-btns { margin-left: -4px; margin-right: -4px; }   /* 버튼의 보이는 왼쪽 끝을 제목·메모칸 선에 맞춤 */
  .me-menu .me-status { padding-left: 8px !important; padding-right: 8px !important; }   /* 아래 메뉴 항목(아이콘)과 왼쪽 선 맞춤 */
}

/* ===== 포스터 고정 크기(80×120) + 빈 포스터 박스(찾기·업로드 아이콘) · URL 칸 숨김 ===== */
#stateEditor .film-entry { grid-template-columns: auto minmax(0, 1fr) !important; }
#stateEditor .film-entry .film-entry-body { grid-column: 2 !important; }
#stateEditor .film-entry .film-poster-box { grid-column: 1; grid-row: 1; display: block !important; position: relative; flex: none; width: 80px !important; height: 120px !important; min-height: 0 !important; margin: 0 12px 0 0 !important; align-self: start !important; border-radius: 10px; overflow: hidden; background: #f3f3f5; order: 0; }
#stateEditor .film-entry .film-poster-box .film-poster-thumb { width: 100% !important; height: 100% !important; min-height: 0 !important; object-fit: cover; border-radius: 10px; display: block; }
#stateEditor .film-entry .film-poster-box .film-poster-thumb[src=""] { display: none !important; }
.film-poster-box .fpe { display: none; }
.film-poster-box .film-poster-thumb[src=""] ~ .fpe { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed rgba(0,0,0,0.25); border-radius: 10px; background: #f5f5f7; }
.film-poster-box .fpe button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); background: #fff; color: var(--ink); font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .1s; padding: 0; }
.film-poster-box .fpe button:hover { background: rgba(255,159,67,0.2); }
.film-poster-box .fpe button:active { transform: scale(.94); }
.film-poster-box .fpe .fpe-upload { color: #b86a14; }
#stateEditor .film-entry .film-poster-url-input { display: none !important; }
/* 세 번째 줄: 포스터 찾기 · 업로드 · (오른쪽 끝) 삭제 */
#stateEditor .film-entry .film-find-btn { grid-column: span 3 !important; }
#stateEditor .film-entry .film-poster-upload-btn { grid-column: span 3 !important; }
#stateEditor .film-entry .film-entry-remove { grid-column: span 6 !important; justify-self: end; }
@media (max-width: 768px) {
  #stateEditor .film-entry .film-find-btn { grid-column: span 5 !important; }
  #stateEditor .film-entry .film-poster-upload-btn { grid-column: span 5 !important; }
  #stateEditor .film-entry .film-entry-remove { grid-column: span 2 !important; order: 2 !important; }
}
/* 기존 「포스터 찾기」·「업로드」 글자 버튼은 숨김 — 빈 포스터 박스의 아이콘으로 대신함 (클릭 동작은 아이콘이 그대로 연결) */
#stateEditor .film-entry .film-find-btn, #stateEditor .film-entry .film-poster-upload-btn { display: none !important; }
#stateEditor .film-entry .film-entry-remove { grid-column: 1 / -1 !important; justify-self: end; }
@media (max-width: 768px) { #stateEditor .film-entry .film-entry-remove { grid-column: 1 / -1 !important; order: 2 !important; } }
/* 설명 글(자동으로 채웠어요 …)은 삭제 버튼과 같은 줄 왼쪽에, 삭제 버튼은 오른쪽 끝에 */
#stateEditor .film-entry .film-find-msg { grid-column: 1 / 10 !important; order: 1 !important; align-self: center; margin: 0; font-size: 0.8rem; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
#stateEditor .film-entry .film-entry-remove { grid-column: 10 / -1 !important; order: 2 !important; justify-self: end; }
#stateEditor .film-entry .film-find-cands { order: 3 !important; }
@media (max-width: 768px) {
  #stateEditor .film-entry .film-find-msg { grid-column: 1 / 10 !important; order: 1 !important; }
  #stateEditor .film-entry .film-entry-remove { grid-column: 10 / -1 !important; order: 2 !important; }
}

/* ===== 포스터 후보 고르기 창 (간단한 팝업) ===== */
.pc-backdrop { position: fixed; inset: 0; z-index: 9850; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.35); animation: ucFade .15s ease both; }
.pc-dialog { position: relative; width: auto; max-width: 340px; max-height: 80vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 34px 14px 14px; box-shadow: 0 18px 48px rgba(0,0,0,0.25); }
.pc-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: rgba(var(--ink-rgb), 0.6); cursor: pointer; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 88px); gap: 10px; justify-content: center; }
.pc-cand { display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; border-radius: 10px; }
.pc-cand img { width: 88px; height: 132px; object-fit: cover; border-radius: 8px; background: #f0f0f2; display: block; border: 2px solid transparent; box-sizing: border-box; transition: border-color .15s; }
.pc-cand:hover img, .pc-cand:focus-visible img { border-color: #ff9d33; }
.pc-cand:focus-visible { outline: none; }
.pc-cand .pc-t { font-size: 0.72rem; line-height: 1.3; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 380px) { .pc-grid { grid-template-columns: repeat(3, 80px); } .pc-cand img { width: 80px; height: 120px; } }
@media (prefers-reduced-motion: reduce) { .pc-backdrop { animation: none !important; } }

/* ===== 공개 프로필 머리말: 현재 상태(상태 태그 + 일정 메모) =====
   · 웹(900px 이상): 머리말 오른쪽 빈 공간  · 모바일: 머리말 맨 아래(직책 아래) */
.cp-head-text .cp-head-status { display: none; }
.cp-head-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; align-self: flex-start; margin-top: 4px; text-align: left; }
@media (min-width: 900px) {
  .cp-head-side { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 10px; margin: 0 0 0 auto; align-self: center; text-align: right; max-width: 40%; }
  .cp-head-side .cp-schedule { justify-content: flex-end; text-align: right; }
}
/* 프로필 관리 머리말: 현재 상태 태그는 스케줄 메모 바로 아래 (웹·모바일 공통) */
.status-tag-wrap.st-bottom { display: block; width: fit-content; margin-top: 10px; }
.profile-editor-header > div:has(#editorName) { width: min(100%, 460px); }
@media (min-width: 769px) { .profile-editor-header > div:has(#editorName) { width: auto; flex: 1 1 0; min-width: 0; padding-right: 180px; box-sizing: border-box; } }   /* 오른쪽 위 링크 단추와 겹치지 않게 */
.header-memo-msg:empty { display: none; }
@media (min-width: 769px) {   /* 웹: 이름~상태 태그 묶음 높이를 아바타(104px)와 거의 같게 */
  .profile-editor-header .header-memo { margin-top: 6px; }
  .profile-editor-header .status-tag-wrap.st-bottom { margin-top: 6px; }
}

/* ===== 웹(769px 이상): 「내 공개 페이지 보기 | 내려받기 | 링크 복사」를 한 줄로, 현재 상태 아래에 ===== */
@media (min-width: 769px) {
  .profile-editor-header { display: grid !important; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .profile-editor-header > .avatar-wrap { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .profile-editor-header > div:has(#editorName) { grid-column: 2; grid-row: 1; width: auto; min-width: 0; padding-right: 0; }
  .profile-editor-header .header-actions { position: static !important; transform: none !important; grid-column: 2; grid-row: 2; display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 10px; margin: 12px 0 0 !important; }
  .profile-editor-header .header-actions #editorPublicLink { position: static !important; margin: 0 !important; }
  .profile-editor-header .header-actions .credits-share { position: static !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 10px !important; margin: 0 !important; }
  .profile-editor-header .header-actions .credits-share small { flex-basis: 100%; text-align: left; }  .profile-editor-header .header-actions #editorPublicLink, .profile-editor-header .header-actions .credits-share a, .profile-editor-header .header-actions .credits-share button { width: auto !important; justify-content: center; white-space: nowrap; }
  .profile-editor-header .header-actions { flex-wrap: nowrap; }
  .profile-editor-header .header-actions .credits-share { flex-wrap: nowrap; }
}

/* 웹(769px 이상): 현재 상태 태그는 머리말 오른쪽 위(예전 「내 공개 페이지 보기」 자리) */
@media (min-width: 769px) {
  .profile-editor-header .status-tag-wrap.st-bottom { position: absolute; top: 29px; right: 36px; margin: 0; }   /* 위: 이름 줄 가운데 · 오른쪽 끝: 메모 칸 오른쪽 끝에 맞춤 */
  .profile-editor-header .status-tag-wrap.st-bottom .status-menu { left: auto; right: 0; }
}
/* 웹: 아바타 · 이름~링크 묶음의 위·아래 끝을 같은 선에 맞춤 (아바타 104px = 이름 31 + 6 + 메모 34 + 6 + 링크 27) */
@media (min-width: 769px) {
  .profile-editor-header { row-gap: 0 !important; }
  .profile-editor-header .header-actions { margin-top: 6px !important; }
}

/* 스케줄 메모 박스 선: 투명도 50% 진하게 (0.22 → 0.33, 모바일 밑줄 0.15 → 0.225) */
.header-memo input { border-color: rgba(0,0,0,0.33) !important; }
@media (max-width: 768px) { #stateEditor .header-memo input { border-bottom-color: rgba(0,0,0,0.225) !important; } }

/* 웹: 스케줄 메모 박스 오른쪽 끝 = 「링크 복사」 오른쪽 끝 (현재 상태 태그는 카드 오른쪽 끝 그대로) */
@media (min-width: 769px) {
  .profile-editor-header { grid-template-columns: auto max-content !important; justify-content: start; }
  .profile-editor-header .status-tag-wrap.st-bottom { top: 29px; right: 36px; }   /* 현재 상태 태그는 원래 자리(카드 오른쪽 끝)에 그대로 */
}

/* 현재 상태 목록(프로필 관리): 흰 배경 상자만 반투명(50%) — 단추는 불투명 그대로 */
.status-menu { background: rgba(255,255,255,0.5) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important; padding: 10px !important; border-radius: 16px !important; }
.status-menu button.st-available { background: linear-gradient(rgba(36,138,61,0.12), rgba(36,138,61,0.12)), #fff; }
.status-menu button.st-working   { background: linear-gradient(rgba(255,159,10,0.16), rgba(255,159,10,0.16)), #fff; }
.status-menu button.st-hold      { background: linear-gradient(rgba(0,102,204,0.10), rgba(0,102,204,0.10)), #fff; }
.status-menu button.st-rest      { background: linear-gradient(rgba(94,92,230,0.12), rgba(94,92,230,0.12)), #fff; }
.status-menu button.st-hidden    { background: linear-gradient(rgba(60,60,67,0.10), rgba(60,60,67,0.10)), #fff; }

/* 웹(769px 이상): 현재 상태를 원형 아이콘 하나로 (글자·화살표는 숨김, 이름은 마우스를 올리면 말풍선으로) */
@media (min-width: 769px) {
  .profile-editor-header #statusTag { width: 38px; height: 38px; padding: 0; gap: 0; justify-content: center; border-radius: 50%; border-width: 1.5px; }
  .profile-editor-header #statusTag #statusTagText, .profile-editor-header #statusTag .st-caret { display: none; }
  .profile-editor-header #statusTag #statusTagIcon { font-size: 1rem; }
  .profile-editor-header .status-tag-wrap.st-bottom { top: 25px; }   /* 원 높이 38px → 이름 줄과 가운데 맞춤 */
}

/* 사진 제거: 글자 단추 대신 사진 박스 안 오른쪽 아래의 반투명 휴지통 아이콘 */
.avatar-wrap .avatar-remove { left: auto; right: 8px; bottom: 8px; transform: none; width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; background: rgba(255,255,255,0.55); color: #d70015; box-shadow: 0 1px 4px rgba(0,0,0,0.2); opacity: 0.85; transition: opacity .15s, background .15s; }
.avatar-wrap .avatar-remove:hover, .avatar-wrap .avatar-remove:focus-visible { background: rgba(255,255,255,0.92); opacity: 1; }
.avatar-wrap .avatar-remove[hidden] { display: none; }

/* 현재 상태·메모 저장 안내: 자리를 차지하지 않고 떠서 나옴 (웹: 상태 원 왼쪽 옆 / 모바일: 상태 태그 오른쪽 옆) */
.header-memo-msg { position: absolute; z-index: 5; margin: 0; font-size: 0.78rem; line-height: 1.3; white-space: nowrap; pointer-events: none; animation: ucFade .18s ease both; }
@media (min-width: 769px) {
  .profile-editor-header .header-memo-msg { top: 36px; right: 82px; text-align: right; }   /* 상태 원 바로 왼쪽, 이름 줄 높이 */
}
@media (max-width: 768px) {
  .profile-editor-header .header-memo { position: relative; }
  .profile-editor-header .header-memo-msg { top: calc(100% + 15px); left: 124px; }
}

/* ===== 모바일 메뉴 한 화면: 계정 이름 아래에 계정 항목이 바로 펼쳐짐 ===== */
.nav-acc-list { display: none; }
@media (max-width: 1080px) {
  .navbar .nav-links .nav-acc-list:not([hidden]) { display: block; width: 100%; margin: 2px 0 8px; padding: 0 0 0 2px; }
  .navbar .nav-links .nav-acc-item { display: block; width: 100%; padding: 9px 0; border: 0; background: none; text-align: left; font: inherit; font-size: 1.2rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); cursor: pointer; text-decoration: none; }
  .navbar .nav-links .nav-acc-item[hidden] { display: none; }
  .navbar .nav-links .nav-acc-item:active { color: var(--blue); }
}

/* ===== 모바일: 「내 공개 페이지 보기 · 내려받기 · 링크 복사」를 아이콘만으로, 사진 줄 오른쪽 끝에 ===== */
@media (max-width: 768px) {
  #stateEditor .profile-editor-header { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  #stateEditor .profile-editor-header > .avatar-wrap { grid-column: 1; grid-row: 1; }
  #stateEditor .profile-editor-header .header-actions { grid-column: 2; grid-row: 1; position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end; gap: 8px !important; margin: 0 !important; transform: none !important; align-self: start; }
  #stateEditor .profile-editor-header > div:has(#editorName) { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  #stateEditor .profile-editor-header .credits-share { position: static !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; margin: 0 !important; }
  #stateEditor .profile-editor-header #editorPublicLink,
  #stateEditor .profile-editor-header .credits-share a,
  #stateEditor .profile-editor-header .credits-share button { width: 44px !important; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #fdebd8 !important; color: #8a4b00 !important; justify-content: center !important; align-items: center !important; font-size: 0 !important; gap: 0 !important; overflow: hidden; }
  #stateEditor .profile-editor-header #editorPublicLink i,
  #stateEditor .profile-editor-header .credits-share a i,
  #stateEditor .profile-editor-header .credits-share button i { font-size: 1.1rem !important; width: auto !important; color: #8a4b00 !important; margin: 0; }
  #stateEditor .profile-editor-header .credits-share small { position: absolute; right: 0; top: calc(100% + 6px); flex-basis: auto; white-space: nowrap; padding: 0 !important; font-size: 0.75rem; }
}

/* 회원가입: 연락처 칸 안내 · 관리자 목록의 연락처 표시 */
.su-hint { display: block; margin-top: 4px; font-size: 0.78rem; color: rgba(var(--ink-rgb), 0.6); }
.admin-crew-phone, .admin-crew-company { font-size: 0.75rem; color: rgba(var(--ink-rgb), 0.68); white-space: nowrap; }
.admin-crew-phone em, .admin-crew-company em { font-size: inherit; }
/* 관리자: 파트너사 올리기 창 */
.admin-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 0.9rem; }
.admin-details { margin: 6px 0 16px; padding: 10px 14px; border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; }
.admin-details summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.admin-details .form-group { margin-top: 12px; }

/* 작품 구분 「기타」 직접 입력 */
.film-platform-otherwrap { position: relative; display: block; }
.film-platform-otherwrap[hidden], .film-entry select.film-platform[hidden] { display: none !important; }
.film-platform-otherwrap input { width: 100%; box-sizing: border-box; padding-right: 30px !important; }
.film-platform-back { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,0.07); color: rgba(var(--ink-rgb), 0.7); font-size: 0.65rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.film-platform-back:hover { background: rgba(0,0,0,0.13); }
.film-entry-main .form-group .film-platform-other { height: 33.5px; }
@media (max-width: 768px) { #stateEditor .film-entry-main .film-platform-other { height: 37px; } }
/* 관리자 파트너 올리기 창: 라벨 옆 보조 설명은 한 줄로 (예: 태그 (쉼표로 구분)) */
#addPartnerForm .form-group > label small { display: inline !important; margin-left: 4px; white-space: nowrap; }

/* 크루 목록: 현재 상태로 검색 (검색창 옆) */
.crew-status-select { flex: 0 0 auto; margin: 8px 0; }
.crew-status-select select { appearance: none !important; -webkit-appearance: none !important; padding: 11px 40px 11px 18px !important; border-radius: 980px !important; border: 1px solid rgba(var(--ink-rgb), 0.15) !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center !important; font: inherit; font-size: 0.9rem !important; color: var(--ink) !important; cursor: pointer; width: auto; }
.crew-status-select select:focus { outline: none; border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(255,159,67,0.25) !important; }
.crew-status-select select { padding-top: 9px !important; padding-bottom: 9px !important; }

/* 크루 필터 줄: 웹은 한 줄에 촘촘히, 모바일은 [전체|편집] 아래에 [검색창 + 상태]를 한 줄로 */
.filter-row { justify-content: flex-start; gap: 12px; }
.filter-row .crew-search { flex: 0 1 340px; max-width: 340px; }
@media (max-width: 700px) {
  .filter-row { gap: 0 8px; flex-wrap: wrap; }
  .filter-row .filter-bar { flex: 1 1 100%; }
  .filter-row .crew-search { flex: 1 1 0; min-width: 0; max-width: none; }
  .crew-status-select { flex: 0 0 auto; }
  .crew-status-select select { width: auto !important; max-width: 118px; padding-left: 14px !important; padding-right: 32px !important; background-position: right 12px center !important; font-size: 0.85rem !important; }
  .crew-search input { font-size: 0.85rem; }
}
@media (min-width: 701px) {   /* 웹: [전체|편집] 왼쪽, [현재 상태 | 검색창] 오른쪽 정렬 */
  .filter-row { flex-wrap: nowrap; }
  .filter-row .crew-status-select { order: 1; margin-left: auto; }
  .filter-row .crew-search { order: 2; }
}
@media (max-width: 700px) {   /* 모바일: [전체|편집] + 검색창 + 상태를 한 줄에 */
  .filter-row { flex-wrap: nowrap; gap: 6px; align-items: center; }
  .filter-row .filter-bar { flex: 0 0 auto; gap: 6px; }
  .filter-row .filter-btn { padding: 9px 14px !important; font-size: 0.82rem !important; min-height: 0; }
  .filter-row .crew-search { flex: 1 1 0; min-width: 0; margin: 0; }
  .filter-row .crew-search input { padding: 9px 26px 9px 32px !important; font-size: 0.82rem; }
  .filter-row .crew-search > i.fa-magnifying-glass { left: 12px; font-size: 0.78rem; }
  .filter-row .crew-search button { right: 4px; width: 22px; height: 22px; }
  .filter-row .crew-status-select { margin: 0; }
  .filter-row .crew-status-select select { max-width: 92px; padding: 9px 24px 9px 10px !important; font-size: 0.78rem !important; background-position: right 8px center !important; text-overflow: ellipsis; }
}
/* 검색 결과 안내문: 레이아웃을 밀지 않도록 필터 줄 아래 여백에 겹쳐 표시 */
.crew-filter-section .container { position: relative; }
.crew-filter-section .crew-search-status { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding-inline: inherit; pointer-events: none; z-index: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-filter-section .crew-search-status { padding-inline: 40px; }
@media (max-width: 700px) { .crew-filter-section .crew-search-status { padding-inline: 20px; } }
/* 크루 검색·상태 선택 시 카드가 부드럽게 나타나고 사라지도록 */
.crew-section .crew-card.search-anim { transition: opacity 0.22s ease, transform 0.22s ease !important; transition-delay: 0s !important; }
.crew-section .crew-card.search-fade { opacity: 0 !important; transform: translateY(8px) scale(0.985) !important; }
.crew-search-status { transition: opacity 0.2s ease; }

/* 포스터 후보가 하나일 때: 「이 작품이 맞나요?」 작은 확인 창 */
.pc-dialog.pc-single { width: 240px; max-width: calc(100vw - 40px); padding: 18px 18px 16px; text-align: center; }
.pc-dialog.pc-single .pc-x { top: 8px; right: 8px; }
.pc-one { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pc-one .pc-q { margin: 0; align-self: stretch; text-align: left; font-size: 0.95rem; font-weight: 700; color: var(--ink); padding-right: 26px; }
.pc-one > img { width: 120px; height: 180px; object-fit: cover; border-radius: 8px; background: #f0f0f2; display: block; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.pc-one .pc-t1 { margin: 0; font-size: 0.85rem; line-height: 1.35; color: var(--ink); word-break: keep-all; }
.pc-btns { display: flex; gap: 8px; align-self: stretch; margin-top: 2px; }
.pc-btns button { flex: 1 1 0; padding: 10px 0; border-radius: 980px; border: 1px solid rgba(var(--ink-rgb), 0.15); background: #fff; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.pc-btns .pc-yes { background: #ff9d33; border-color: #ff9d33; color: #1d1d1f; }
.pc-btns button:focus-visible { outline: 2px solid #ff9d33; outline-offset: 2px; }

/* 공개 프로필 머리말: 「이름 | 역할」 한 줄, 영문 이름은 그 아래 */
.cp-titleline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; min-width: 0; }
.cp-titleline h1 { margin: 0; }
.cp-titleline .cp-position { margin: 0 !important; font-size: 1.05rem; font-weight: 600; color: var(--cr-accent-dark, #b45f06); }
.cp-titleline .cp-position::before { content: ''; display: inline-block; width: 1px; height: 0.95em; background: rgba(var(--ink-rgb), 0.25); margin: 0 14px; vertical-align: -0.1em; }

/* 하단(푸터) 좁은 화면: 사이트맵 · 회사 소개 · 연락처를 구분선으로 나누고 모두 왼쪽 정렬 */
@media (max-width: 1080px) {
  .footer-top { gap: 0 !important; padding-bottom: 28px !important; }
  .footer-top .footer-side, .footer-top .footer-brand, .footer-top .footer-contact-wrap { align-self: stretch !important; width: 100%; box-sizing: border-box; }
  .footer-top .footer-side { order: 1; margin: 0 !important; padding: 4px 0 28px !important; border-bottom: 1px solid rgba(0,0,0,0.12); }
  .footer-top .footer-brand { order: 2; padding: 28px 0 !important; border-bottom: 1px solid rgba(0,0,0,0.12); }
  .footer-top .footer-contact-wrap { order: 3; margin: 0 !important; padding: 28px 0 0 !important; justify-content: flex-start !important; }
  .footer-contact-wrap .footer-contact { align-items: flex-start !important; text-align: left !important; }
  .footer-contact-wrap .footer-contact span, .footer-contact-wrap .footer-contact a { justify-content: flex-start !important; }
}
@media (max-width: 1080px) {
  .footer-top .footer-side { align-items: flex-start !important; }
  .footer-sitemap { justify-content: flex-start; }
  .footer-bottom { text-align: left !important; align-items: flex-start !important; }
  .footer-bottom p, .footer-bottom .footer-legal { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; margin-right: auto !important; }
}
/* 하단 「Film Editing · Capturless」: 각 화면으로 이동하는 링크 */
.footer-right a { color: inherit; text-decoration: none; transition: color .15s; }
.footer-right a:hover, .footer-right a:focus-visible { color: var(--link, #b45f06) !important; text-decoration: underline; }
