:root {
    --container: 1200px;
    --gutter: 24px;
    --radius-xl: 18px;
    --radius-lg: 14px;
    --border: rgba(15, 23, 42, 0.10);
    --muted: rgba(15, 23, 42, 0.60);
    --text: #0f172a;
    --bg: #ffffff;
    --soft: #f5f7fb;
    --brand: #2563eb;
    --primary: #2563eb;
    --primary-dark: #1e4ad8;
    --bg-gray: #f8fafc;
    --border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --footer-bg: #1e293b; /* 추가 */
    --footer-text: #94a3b8; /* 추가 */
}
.container { width: min(var(--container), 100% - 32px); margin: 0 auto; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { height: 72px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.logo { font-weight: 900; letter-spacing: .5px; font-size: 32px; color: var(--primary); }
.search { display: flex; justify-content: center; }
.search-box { width: min(520px, 100%); display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; background: #fff; }
.search-box input { width: 100%; border: 0; outline: 0; font-size: 15px; }
.search-box .icon { width: 18px; height: 18px; opacity: .65; flex: 0 0 auto; }
.right { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.right-links { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.btn { border: 1px solid var(--border); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.btn-primary { border-color: transparent; background: var(--brand); color: #fff; padding: 9px 14px; font-weight: 700; }
.nav-row { padding: 10px 0 14px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hamburger { width: 40px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
.hamburger span { width: 18px; height: 2px; background: rgba(15, 23, 42, .75); display: block; position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; width: 18px; height: 2px; background: rgba(15, 23, 42, .75); position: absolute; left: 0; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 16px; color: rgba(15, 23, 42, .80); flex-wrap: wrap; }
.nav a { padding: 6px 2px; }
.nav .badge { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: #ef4444; display: inline-block; }
.join { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.join a { font-size: 13px; color: rgba(15, 23, 42, .72); }
.join a.active { font-weight: 700; color: rgba(15, 23, 42, .85); }

/* ===== Drawer ===== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: none; z-index: 60; }
.drawer { position: fixed; top: 0; left: 0; width: min(340px, 88vw); height: 100%; background: #fff; transform: translateX(-105%); transition: transform .25s ease; z-index: 61; border-right: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column;
    gap: 14px; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.drawer-nav { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.drawer-nav a { padding: 10px 10px; border-radius: 10px; border: 1px solid transparent; }
.drawer-nav a:hover { border-color: var(--border); background: var(--soft); }
.drawer-open .drawer-overlay { display: block; }
.drawer-open .drawer { transform: translateX(0); }

/* ===== Main ===== */
.main { padding: 16px 0 60px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--gutter); align-items: stretch; margin: 10px 0 30px; }
.hero-card { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); min-height: 398px; position: relative; background: #0b1b7a; }
.hero-card.secondary { background: #2b2f36; }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.hero-content .banner { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-title { font-weight: 900; line-height: 1.05; letter-spacing: .2px; font-size: clamp(22px, 2.2vw, 36px); }
.hero-title-sm { font-size: clamp(18px, 1.7vw, 28px); }
.hero-sub { margin-top: 10px; font-size: 15px; opacity: .9; line-height: 1.4; }
.hero-sub-sm { opacity: .8; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; opacity: .85; padding: 26px; position: absolute; left: 0; bottom: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); }

/* Grid */
.grid { margin: 10px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.grid  .card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; min-height: 360px; }
.grid  .poster { aspect-ratio: 3 / 4; background: #e5e7eb; overflow: hidden; }
.grid  .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid  .card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.grid  .card-title { font-size: 18px; font-weight: 800; line-height: 1.35; min-height: 43px; }
.grid  .meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.grid  .meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grid  .meta-badge { display: inline-flex; align-items: center; padding: 2px 8px 1px; border-radius: 999px; border: 1px solid var(--border); background: var(--soft); font-size: 13px; color: rgba(15, 23, 42, .78); font-weight: 700; }
.grid  .link-row { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.grid  .text-link { font-size: 13px; color: var(--brand); font-weight: 700; }

/* Grid2 */
.grid2 { margin: 10px 0 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.grid2 .card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; min-height: 250px; }
.grid2 .poster { aspect-ratio: 3 / 1.4; background: #e5e7eb; overflow: hidden; }
.grid2 .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid2 .card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.grid2 .card-title { font-size: 16px; font-weight: 800; line-height: 1.35; min-height: 43px; }
.grid2 .meta { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.grid2 .meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grid2 .meta-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--soft); font-size: 13px; color: rgba(15, 23, 42, .78); font-weight: 700; }
.grid2 .link-row { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.grid2 .text-link { font-size: 13px; color: var(--brand); font-weight: 700; }

/* Grid3 */
.grid3 { margin: 10px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.grid3 .card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; }
.grid3 .poster { aspect-ratio: 3 / 4; background: #e5e7eb; overflow: hidden; }
.grid3 .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid3 .card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.grid3 .card-title { font-size: 16px; font-weight: 800; line-height: 1.35; min-height: 34px; }
.grid3 .meta { font-size: 13px; color: var(--muted); display: flex; gap: 4px; }
.grid3 .meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grid3 .meta-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--soft); font-size: 13px; color: rgba(15, 23, 42, .78); font-weight: 700; }
.grid3 .link-row { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.grid3 .text-link { font-size: 13px; color: var(--brand); font-weight: 700; }

/* Bottom */
.section-bottom { margin-top: 70px; padding: 10px 0 40px; text-align: center; }
.section-bottom h2 { margin: 0; font-size: clamp(18px, 2vw, 28px); letter-spacing: -.2px; }
.section-bottom p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 전체보기 버튼을 링크처럼 보이게 */
.nav-all { background: transparent; border: 0; padding: 6px 2px; font-size: 13px; color: rgba(15, 23, 42, .80); cursor: pointer; }

/* 레이어 */
.all-layer { position: fixed; inset: 0; z-index: 70; display: none; }
.all-layer.is-open { display: block; }
.all-dim { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.all-panel { position: absolute; left: 50%; top: 90px; /* 헤더 아래로 */ transform: translateX(-50%); width: min(980px, calc(100% - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    overflow: hidden; }
.all-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.all-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.all-item { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--soft); font-weight: 700; font-size: 13px; }
.all-item:hover { background: #fff; }

/* --- [공통] 푸터 스타일 --- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0; margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-info .footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 20px; }
.footer-info p { font-size: 13px; line-height: 1.8; margin-bottom: 5px; }
.footer-contact { text-align: right; }
.footer-contact .cs-number { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-contact p { font-size: 13px; }
.footer-bottom { margin-top: 40px; padding-top: 30px; border-top: 1px solid #334155; font-size: 13px; }

/* ===== View Page ===== */
.breadcrumbs { display:flex; align-items:center; gap: 8px; font-size: 13px; color: rgba(15,23,42,.62); padding: 14px 0 10px; }
.breadcrumbs .sep { opacity:.5; }
.breadcrumbs .current { color: rgba(15,23,42,.86); font-weight: 700; }

.view { display:grid; grid-template-columns: 360px 1fr; gap: 28px; align-items:start; padding-top: 10px; }
.view-poster { border: 1px solid var(--border); border-radius: 16px; overflow:hidden; background: #e5e7eb; }
.view-poster img { width: 100%; height: auto; display:block; }
.view-actions { display:flex; gap: 10px; margin-top: 14px; }
.btn-wide { width: 100%; justify-content:center; display:inline-flex; }
.view-head { padding-bottom: 8px; }
.chip { display:inline-flex; align-items:center; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--soft); font-size: 13px; font-weight: 800; color: rgba(15,23,42,.78); }
.view-title { margin: 10px 0 8px; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.2px; line-height: 1.1; }
.tag-row { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { display:inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(37,99,235,.10); color: rgba(37,99,235,.95); font-size: 13px; font-weight: 800; border: 1px solid rgba(37,99,235,.14); }
.info-grid { margin-top: 16px; display:grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: #fff; }
.info-item { display:flex; gap: 10px; align-items:flex-start; }
.info-item .k { width: 72px; flex: 0 0 auto; font-size: 13px; color: rgba(15,23,42,.65); font-weight: 800; }
.info-item .v { font-size: 13px; color: rgba(15,23,42,.86); line-height: 1.5; }
.link { color: var(--brand); font-weight: 800; word-break: break-all; }
.view-tabs { margin-top: 18px; display:flex; gap: 8px; flex-wrap: wrap; }
.tab { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 20px; font-size: 13px; font-weight: 800; color: rgba(15,23,42,.75); }
.tab.is-active { border-color: rgba(37,99,235,.35); background: rgba(37,99,235,.10); color: rgba(37,99,235,.95); }
.tab-panels { margin-top: 12px; border: 1px solid var(--border); border-radius: 16px; padding: 14px; background:#fff; }
.panel { display:none; }
.panel.is-active { display:block; }
.desc { font-size: 13px; line-height: 1.8; color: rgba(15,23,42,.86); }
.schedule { display:flex; flex-direction: column; gap: 10px; font-size: 13px; color: rgba(15,23,42,.86); }
.schedule strong { display:inline-block; min-width: 56px; }
.map-box { display:grid; grid-template-columns: 1fr; gap: 12px; }
.map-placeholder { height: 220px; border-radius: 14px; border: 1px dashed rgba(15,23,42,.25); background: var(--soft); display:flex; align-items:center; justify-content:center; color: rgba(15,23,42,.55); font-size: 13px; font-weight: 800; }
.map-meta .muted { margin-top: 6px; color: rgba(15,23,42,.60); font-size: 13px; }
.map-actions { margin-top: 10px; }

/* Related */
.related { margin-top: 40px; }
.related-head { display:flex; align-items:flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.related-head h2 { margin:0; font-size: 18px; }
.related-head .more { font-size: 13px; color: var(--brand); font-weight: 800; }
.related-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { border: 1px solid var(--border); border-radius: 16px; overflow:hidden; background:#fff; }
.related-card .thumb { aspect-ratio: 3 / 2; background:#e5e7eb; }
.related-card img { width:100%; height:100%; object-fit: cover; }
.r-body { padding: 12px; }
.r-title { font-size: 13px; font-weight: 900; line-height: 1.35; }
.r-period { margin-top: 6px; font-size: 13px; color: rgba(15,23,42,.62); }

/* responsive */
.desktop-only { display:flex; }
.mobile-only { display:none; }

/* Smart Editor Section */
.editor-section { margin-top: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; }
.editor-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
.editor-head h2 { margin: 0; font-size: 16px; letter-spacing: -.2px; }
.editor-head p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 에디터 본문: 스마트에디터가 넣는 태그들을 자연스럽게 보이게 */
.editor-content { padding: 16px; font-size: 16px; line-height: 1.9; color: rgba(15,23,42,.88); }

/* 에디터 내부 요소 기본 스타일 */
.editor-content h1, .editor-content h2, .editor-content h3 { margin: 18px 0 10px; line-height: 1.25; font-size: 21px; }
.editor-content p { margin: 10px 0; font-size: 15px; }
.editor-content ul, .editor-content ol { margin: 10px 0 10px 18px; padding: 0; list-style: disc; font-size: 15px; }
.editor-content ol { list-style: decimal; }
.editor-content li { margin: 6px 0; }
.editor-content img{ max-width: 100%; height: auto; border-radius: 12px; }
.editor-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); margin: 12px 0; }
.editor-content th, .editor-content td { border: 1px solid var(--border); padding: 10px; vertical-align: top; }
.editor-content a { color: var(--brand); font-weight: 800; text-decoration: underline; }

/* Category Recruit */
.category-head { padding: 18px 0 10px; }
.category-head h1 { margin: 0; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.2px; }
.category-head p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.filter-bar { display:flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.filter { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 800; color: rgba(15,23,42,.75); cursor: pointer; }
.filter.is-active { background: rgba(37,99,235,.1); border-color: rgba(37,99,235,.35); color: rgba(37,99,235,.95); }

/* Biz Page */
.biz { padding-top: 8px; }
.biz-hero { margin-top: 10px; }
.biz-hero-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(15,23,42,.02)); display: grid; grid-template-columns: 1.35fr .65fr; gap: 0; }
.biz-hero-copy { padding: 22px; position: relative; }
.biz-hero-copy h1 { margin: 0; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.3; letter-spacing: -.3px; }
.biz-hero-copy p { margin-top: 12px; font-size: 13px; line-height: 1.75; color: rgba(15,23,42,.70); }
.biz-hero-copy .thumb { position: absolute; right: 50px; bottom: 50px; width: 35%;  }
.biz-hero-cta { display:flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.biz-hero-badges { display:flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.biz-badge { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(37,99,235,.18); background: rgba(37,99,235,.08); color: rgba(37,99,235,.95); }
.biz-hero-side { border-left: 1px solid var(--border); padding: 18px; display:flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.65); }
.biz-metric { border: 1px solid var(--border); background:#fff; border-radius: 14px; padding: 12px; }
.biz-metric .k { font-size: 13px; color: rgba(15,23,42,.65); font-weight: 800; }
.biz-metric .v { margin-top: 6px; font-size: 22px; font-weight: 900; letter-spacing: -.2px; color: var(--brand); }
.biz-note{ font-size: 13px; color: rgba(15,23,42,.55); margin-top: 2px; }
.biz-section { margin-top: 26px; }
.biz-section-head h2 { margin:0; font-size: 18px; }
.biz-section-head p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.biz-feature-grid { margin-top: 14px; display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.biz-feature { border: 1px solid var(--border); border-radius: 16px; background:#fff; padding: 16px; display:flex; flex-direction: column; gap: 12px; }
.biz-feature-title { font-size: 16px; font-weight: 900; }
.biz-feature-desc { margin-top: 8px; font-size: 13px; color: rgba(15,23,42,.70); line-height: 1.6; }
.biz-feature-list { margin: 0; padding-left: 16px; color: rgba(15,23,42,.72); font-size: 13px; line-height: 1.8; list-style: disc; }
.biz-feature-more { margin-top: auto; font-size: 13px; font-weight: 900; color: var(--brand); }
.biz-steps { margin-top: 14px; display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.biz-step { border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 14px; }
.biz-step-title { font-weight: 900; font-size: 13px; }
.biz-step-desc { margin-top: 8px; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.7; }
.biz-cta { margin-top: 26px; }
.biz-cta-card { border: 1px solid rgba(37,99,235,.18); background: rgba(37,99,235,.08); border-radius: 18px; padding: 18px; display:flex; align-items:center; justify-content: space-between; gap: 14px; }
.biz-cta-card h3 { margin:0; font-size: 16px; }
.biz-cta-card p { margin-top: 8px; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.6; }
.biz-cta-actions { display:flex; gap: 10px; flex-wrap: wrap; }
.biz-faq { margin-top: 14px; border: 1px solid var(--border); border-radius: 16px; overflow:hidden; background:#fff; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 14px 14px; font-size: 13px; font-weight: 900; display:flex; align-items:center; justify-content: space-between; gap: 12px; background:#fff; }
.faq-ico { font-size: 18px; font-weight: 900; color: rgba(15,23,42,.55); }
.faq-a { display:none; padding: 0 14px 14px; color: rgba(15,23,42,.72); font-size: 13px; line-height: 1.8; }


/* Auth Pages (login/signup) */
.auth { padding-top: 14px; }
.auth-wrap { display:grid; grid-template-columns: 1fr .55fr; gap: 18px; align-items: start; }
.auth-card { border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 18px; }
.auth-head h1 { margin:0; font-size: 20px; letter-spacing: -.2px; }
.auth-head p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-alert { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(239,68,68,.25); background: rgba(239,68,68,.08); color: rgba(127,29,29,.95); font-size: 13px; font-weight: 700; }
.auth-form { margin-top: 14px; display:flex; flex-direction: column; gap: 12px; }
.field { display:flex; flex-direction: column; gap: 8px; }
.label { font-size: 13px; font-weight: 900; color: rgba(15,23,42,.78); }
.input { border: 1px solid var(--border); border-radius: 14px; background:#fff; padding: 12px 12px; font-size: 16px; }
.help { font-size: 13px; color: rgba(15,23,42,.55); }
.help.ok { color: rgba(22,163,74,.95); font-weight: 800; }
.help.bad { color: rgba(220,38,38,.95); font-weight: 800; }
.text-link { font-size: 13px; }

.row { display:flex; justify-content: space-between; align-items:center; gap: 12px; flex-wrap: wrap; }
.check { display:inline-flex; align-items:center; gap: 8px; font-size: 13px; color: rgba(15,23,42,.70); }
.check input { width: 16px; height: 16px; }
.btn-full { width: 100%; display:inline-flex; justify-content:center; padding: 12px 14px; border-radius: 14px; font-size: 13px; font-weight: 900; }
.auth-foot { display:flex; justify-content:center; gap: 8px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: rgba(15,23,42,.65); }

/* Segmented */
.seg { display:flex; gap: 8px; }
.seg-item { flex: 1 1 0; border: 1px solid var(--border); border-radius: 14px; overflow:hidden; background:#fff; } 
.seg-item input { position:absolute; opacity:0; pointer-events:none; }
.seg-item span { display:flex; justify-content:center; padding: 10px; font-size: 13px; font-weight: 900; color: rgba(15,23,42,.72); }
.seg-item input:checked + span { background: rgba(37,99,235,.10); color: rgba(37,99,235,.95); border-color: rgba(37,99,235,.35); }

/* Terms */
.terms { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: #fff; display:flex; flex-direction: column; gap: 10px; }
.mini-link { margin-left: auto; font-size: 13px; font-weight: 900; color: var(--brand); }

/* Side */
.auth-side-box { border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(15,23,42,.02)); padding: 18px; }
.auth-side-box h2 { margin:0; font-size: 16px; }
.auth-side-box p { margin: 10px 0; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.7; }
.side-list { margin-top: 10px; padding-left: 18px; list-style: disc; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.8; }

/* Biz Contact */
.biz-form-head { padding: 18px 0 10px; }
.biz-form-head h1 { margin:0; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.2px; }
.biz-form-head p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; } 
.biz-form-wrap { display:grid; grid-template-columns: 1fr .55fr; gap: 16px; align-items: start; margin-top: 10px; }
.biz-form { display:flex; flex-direction: column; gap: 12px; }
.form-card { border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 16px; } 
.form-card-title { font-size: 16px; font-weight: 900; margin-bottom: 12px; }
.form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } 
.req { color: rgba(220,38,38,.95); margin-left: 4px; }
.checks { display:grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.form-actions { display:flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.biz-done { padding: 26px 0 40px; display:flex; justify-content:center; }
.biz-done-card { width: min(720px, 100%); border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 22px; text-align:center; }
.biz-done-card h1 { margin:0; font-size: 22px; }
.biz-done-card p { margin-top: 12px; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.8; }
.biz-done-actions { margin-top: 16px; display:flex; gap: 10px; justify-content:center; flex-wrap: wrap; }

/* Pricing Page */
.pricing-head { padding: 18px 0 10px; }
.pricing-head h1 { margin:0; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.2px; }
.pricing-head p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.pricing-head-cta { margin-top: 12px; display:flex; gap: 10px; flex-wrap: wrap; }
.pricing-plans { margin-top: 14px; display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 16px; display:flex; flex-direction: column; gap: 14px; position: relative; }
.plan.is-popular { border-color: rgba(37,99,235,.30); box-shadow: 0 18px 50px rgba(37,99,235,.10); }
.plan.is-popular::before { position:absolute; top: 14px; right: 14px; font-size: 13px; font-weight: 900; color: rgba(37,99,235,.95); background: rgba(37,99,235,.10); border: 1px solid rgba(37,99,235,.20); padding: 6px 10px; border-radius: 999px; }
.plan-name { display:flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-title { font-size: 16px; font-weight: 900; }
.plan-tag { font-size: 13px; font-weight: 900; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--soft); color: rgba(15,23,42,.72); }
.plan-price { margin-top: 8px; font-size: 22px; font-weight: 900; letter-spacing: -.2px; }
.plan-desc { margin-top: 6px; font-size: 13px; color: rgba(15,23,42,.70); line-height: 1.6; }
.plan-list { margin: 0; padding-left: 18px; list-style: disc; color: rgba(15,23,42,.72); font-size: 13px; line-height: 1.9; }
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; display:inline-flex; justify-content:center; padding: 12px 14px; border-radius: 14px; font-size: 13px; font-weight: 900; }
.pricing-compare { margin-top: 26px; }
.table-wrap { margin-top: 12px; border: 1px solid var(--border); border-radius: 18px; overflow:auto; background:#fff; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { border-bottom: 1px solid var(--border); padding: 12px 12px; font-size: 13px; text-align: center; white-space: nowrap; }
.compare thead th { background: var(--soft); font-weight: 900; }
.compare .td-label { text-align: left; font-weight: 900; color: rgba(15,23,42,.82); }
.compare .th-pop, .compare .td-pop { background: rgba(37,99,235,.06); font-weight: 900; }
.pricing-note { margin-top: 10px; font-size: 13px; color: rgba(15,23,42,.60); }
.compare tbody tr:last-child td { border-bottom: 0; }
.pricing-ad { border: 1px solid var(--border); border-radius: 18px; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 14px; position: relative; margin-top: 26px; }
.pricing-ad .ad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pricing-ad .ad .ad-thumb { padding: 26px; }
.pricing-ad .ad .ad-info > div { margin-bottom: 50px; padding: 26px; }
.pricing-ad .ad .ad-info h3 { font-size: 18px; font-weight: 900; color:  var(--primary); }
.pricing-ad .ad .ad-info p { font-size: 16px; font-weight: 900; }
.pricing-ad .ad .ad-info ul li { font-size: 13px; color: rgba(15, 23, 42, .70); line-height: 1.6; }

/* Search Page */
.search-head { padding: 18px 0 10px; }
.search-head h1 { margin:0; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.2px; }
.search-head-form { margin-top: 12px; display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.search-head-box { flex: 1 1 380px; display:flex; align-items:center; gap: 10px; border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; background:#fff; }
.search-head-box .icon { width: 18px; height: 18px; opacity: .65; flex: 0 0 auto; }
.search-head-box input { width: 100%; border: 0; outline: 0; font-size: 14px; }
.search-sort { width: 140px; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--border); background:#fff; }
.search-meta { margin-top: 10px; font-size: 13px; color: rgba(15,23,42,.72); }
.search-meta.muted{ color: var(--muted); }
.search-empty { padding: 16px 0 30px; }
.empty-card { border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 18px; text-align:center; }
.empty-card h2 { margin:0; font-size: 16px; }
.empty-card p { margin-top: 10px; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.7; } 
.empty-actions { margin-top: 14px; display:flex; gap: 10px; justify-content:center; flex-wrap: wrap; }
.pager { margin: 18px 0 40px; display:flex; justify-content:center; align-items:center; gap: 12px; }
.pg { border: 1px solid var(--border); background:#fff; padding: 10px 12px; border-radius: 12px; font-size: 12px; font-weight: 900; }
.pg.is-disabled { opacity: .45; pointer-events:none; }
.pg-num { font-size: 12px; color: rgba(15,23,42,.65); font-weight: 900; }


/* Apply Page */
.apply { padding-top: 8px; }
.apply-head { padding: 18px 0 10px; }
.apply-head h1 { margin:0; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.2px; }
.apply-head p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.apply-wrap { display:grid; grid-template-columns: 1fr .55fr; gap: 16px; align-items:start; margin-top: 10px; }
.apply-form { display:flex; flex-direction: column; gap: 12px; }
.ticket-list { display:flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ticket { display:flex; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 16px; padding: 12px; background:#fff; }
.ticket input { width: 16px; height: 16px; }
.ticket-main { display:flex; align-items:center; justify-content: space-between; gap: 12px; width: 100%; }
.ticket-name { font-size: 15px; font-weight: 900; }
.ticket-price { font-size: 13px; color: rgba(15,23,42,.70); font-weight: 900; }
.qty-row { margin-top: 12px; display:flex; align-items:flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.total-box { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: var(--soft); min-width: 220px; text-align:right; }
.total-box .k { font-size: 13px; color: rgba(15,23,42,.65); font-weight: 900; }
.total-box .v { margin-top: 6px; font-size: 18px; font-weight: 900; }
.pay-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.pay { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background:#fff; display:flex; align-items:center; gap: 10px; justify-content:center; font-size: 13px; font-weight: 900; color: rgba(15,23,42,.75); }
.pay input { width: 16px; height: 16px; }
.apply-side { display:flex; flex-direction: column; gap: 12px; }
.apply-summary { border: 1px solid var(--border); border-radius: 18px; overflow:hidden; background:#fff; }
.sum-poster { aspect-ratio: 3 / 2; background:#e5e7eb; }
.sum-poster img { width:100%; height:100%; object-fit: cover; }
.sum-body { padding: 14px; }
.sum-title { font-size: 16px; font-weight: 900; line-height: 1.35; }
.sum-meta { margin-top: 10px; font-size: 13px; color: rgba(15,23,42,.70); display:flex; flex-direction: column; gap: 6px; }
.sum-mini { margin-top: 10px; font-size: 13px; color: rgba(15,23,42,.60); line-height: 1.6; }
.apply-help { border: 1px solid var(--border); border-radius: 18px; background:#fff; padding: 16px; }
.apply-help h2 { margin:0; font-size: 16px; }
.apply-help ul { margin-top: 10px; padding-left: 18px; list-style: disc; color: rgba(15,23,42,.70); font-size: 13px; line-height: 1.8; }


