/* =====================================================================
   골프탑 PC 반응형 (gt-mobile.css 끝에 덧붙임)
   - 모든 규칙은 @media (min-width:1200px) 안에만 둔다 → 1199px 이하(모바일) 화면은 그대로.
   - HTML 은 바꾸지 않는다. 메뉴·로그인 링크처럼 HTML 에 없는 요소는 gt-ui.js 덧붙임분이 만든다.
   - 디자인 기준: 2026-11-09 PC 시안(라임·보라 대각 + BOOK NOW, 오른쪽 티타임 찾기)
   ===================================================================== */

/* 제목용 글꼴: PC 규칙에서만 쓰므로 모바일에서는 내려받지 않음 */
@font-face { font-family: Paperlogy; font-weight: 800; font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); }
@font-face { font-family: Paperlogy; font-weight: 600; font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); }

/* JS 가 만든 PC 전용 요소: 모바일에서는 숨김 */
.pc-nav, .pc-auth, .pc-sub-tabs { display: none; }

@media (min-width: 1200px) {
  :root {
    --pc-w: 1200px;
    --pc-x: max(24px, calc((100% - var(--pc-w)) / 2));  /* 화면 가운데 1200px 의 왼쪽 여백 (스크롤바로 좁아져도 최소 24px) */
    --pc-ink: #17122B;
    --pc-display: Paperlogy, "Pretendard Variable", sans-serif;
  }

  /* ---------- 앱 틀: 휴대폰 폭(480) 해제 ---------- */
  body { background: var(--g-50); }
  .gt-app { max-width: none; padding-bottom: 0; overflow-x: clip; background: var(--g-50); }
  .gt-tabbar { display: none; }

  /* ---------- 헤더: 흰 바탕 + 상단 메뉴 ---------- */
  .gt-header {
    height: 80px; padding: 0 var(--pc-x);
    background: #fff; border-bottom: 1px solid var(--g-200);
    justify-content: flex-start;
  }
  .gt-header.is-scrolled { box-shadow: 0 2px 12px rgba(23, 18, 43, .08); }
  /* 가로형 영문 로고(보라 #6200EA): CI 간판 원고 signage-GolfTop-horizontal-outline.ai 에서 추출 → 이미지 파일 없이 CSS 안에 */
  .gt-logo {
    width: 150px; height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1295.25 260.03' width='1295.25' height='260.03' role='img' aria-label='GOLFTOP'%3E%3Cg fill='%236200EA'%3E%3Cpath d='M104.25 147.55L159.72 147.55C158.23 153.64 155.15 159.4 150.47 164.82C145.78 170.23 139.74 174.58 132.31 177.84C124.9 181.12 116.65 182.73 107.58 182.73C96.75 182.73 86.94 180.21 78.2 175.17C69.43 170.11 62.57 163.11 57.59 154.13C52.62 145.15 50.14 135.08 50.14 123.94C50.14 112.8 52.62 102.83 57.59 93.99C62.57 85.15 69.43 78.24 78.2 73.27C86.94 68.29 96.75 65.82 107.58 65.82C118.3 65.82 127.75 68 136 72.37C144.23 76.76 150.37 82.44 154.38 89.42L198.92 89.42C195.36 77.98 189.3 67.66 180.77 58.45C172.23 49.25 161.6 41.99 148.89 36.63C136.21 31.28 122.15 28.62 106.7 28.62C88.29 28.62 71.69 32.72 56.91 40.97C42.15 49.22 30.55 60.57 22.17 75.06C13.79 89.53 9.6 105.82 9.6 123.94C9.6 142.06 13.79 158.35 22.17 172.83C30.55 187.32 42.15 198.66 56.91 206.91C62.74 210.16 68.88 212.77 75.27 214.74L106.25 260.03L137.13 214.9C143.64 212.91 149.86 210.26 155.83 206.91C170.44 198.66 181.95 187.32 190.34 172.83C198.73 158.35 202.93 142.06 202.93 123.94L202.93 113.25L104.25 113.25Z'/%3E%3Cpath d='M351.82 176.43C360.78 171.29 367.8 164.1 372.9 154.93C377.98 145.74 380.51 135.45 380.51 124.06C380.51 112.52 377.98 102.19 372.9 93.07C367.8 83.96 360.78 76.84 351.82 71.66C342.85 66.5 332.82 63.93 321.75 63.93C310.66 63.93 300.64 66.5 291.68 71.66C282.73 76.84 275.7 83.96 270.61 93.07C265.53 102.19 262.97 112.52 262.97 124.06C262.97 135.45 265.53 145.74 270.61 154.93C275.7 164.1 282.73 171.29 291.68 176.43C300.64 181.61 310.66 184.2 321.75 184.2C332.82 184.2 342.85 181.61 351.82 176.43M270.4 208.89C255.12 200.47 243.17 188.85 234.52 174.05C225.86 159.24 221.54 142.58 221.54 124.06C221.54 105.53 225.86 88.87 234.52 74.06C243.17 59.25 255.12 47.64 270.4 39.2C285.65 30.79 302.76 26.57 321.75 26.57C340.73 26.57 357.86 30.79 373.11 39.2C388.37 47.64 400.34 59.25 408.99 74.06C417.64 88.87 421.97 105.53 421.97 124.06C421.97 142.58 417.64 159.24 408.99 174.05C400.34 188.85 388.37 200.47 373.11 208.89C357.86 217.33 340.73 221.54 321.75 221.54C302.76 221.54 285.65 217.33 270.4 208.89'/%3E%3Cpath d='M488.02 31.35L488.02 180.32L580.73 180.32L580.73 216.99L446.57 216.99L446.57 31.35Z'/%3E%3Cpath d='M601.69 31.35L737.9 31.35L737.9 67.8L643.14 67.8L643.14 109.94L727.41 109.94L727.41 145.92L643.14 145.92L643.14 216.99L601.69 216.99Z'/%3E%3Cpath d='M0 0L0 62.88C24.29 36.52 62.85 19.48 106.25 19.48C149.67 19.48 188.22 36.52 212.5 62.88L212.5 0Z'/%3E%3Cpath d='M916.71 68.02L856.34 68.02L856.34 216.99L814.88 216.99L814.88 68.02L754.51 68.02L754.51 31.35L916.71 31.35Z'/%3E%3Cpath d='M1052.68 176.43C1061.64 171.29 1068.64 164.1 1073.76 154.93C1078.84 145.74 1081.37 135.45 1081.37 124.06C1081.37 112.52 1078.84 102.19 1073.76 93.07C1068.64 83.96 1061.64 76.84 1052.68 71.66C1043.73 66.5 1033.68 63.93 1022.6 63.93C1011.52 63.93 1001.5 66.5 992.55 71.66C983.59 76.84 976.55 83.96 971.47 93.07C966.38 102.19 963.84 112.52 963.84 124.06C963.84 135.45 966.38 145.74 971.47 154.93C976.55 164.1 983.59 171.29 992.55 176.43C1001.5 181.61 1011.52 184.2 1022.6 184.2C1033.68 184.2 1043.73 181.61 1052.68 176.43M971.26 208.89C955.98 200.47 944.03 188.85 935.38 174.05C926.72 159.24 922.39 142.58 922.39 124.06C922.39 105.53 926.72 88.87 935.38 74.06C944.03 59.25 955.98 47.64 971.26 39.2C986.5 30.79 1003.63 26.57 1022.6 26.57C1041.58 26.57 1058.72 30.79 1073.97 39.2C1089.24 47.64 1101.19 59.25 1109.84 74.06C1118.5 88.87 1122.84 105.53 1122.84 124.06C1122.84 142.58 1118.5 159.24 1109.84 174.05C1101.19 188.85 1089.24 200.47 1073.97 208.89C1058.72 217.33 1041.58 221.54 1022.6 221.54C1003.63 221.54 986.5 217.33 971.26 208.89'/%3E%3Cpath d='M1216.9 130.88C1228.6 130.88 1237.67 128.15 1244.12 122.68C1250.57 117.22 1253.8 109.41 1253.8 99.22C1253.8 89.05 1250.57 81.31 1244.12 75.99C1237.67 70.69 1228.6 68.02 1216.9 68.02L1188.88 68.02L1188.88 130.88ZM1147.43 31.35L1218.72 31.35C1234.68 31.35 1248.37 34.16 1259.83 39.77C1271.31 45.39 1280.07 53.3 1286.15 63.46C1292.22 73.65 1295.25 85.56 1295.25 99.22C1295.25 113.05 1292.22 125.08 1286.15 135.34C1280.07 145.58 1271.31 153.51 1259.83 159.12C1248.37 164.75 1234.68 167.56 1218.72 167.56L1188.88 167.56L1188.88 216.99L1147.43 216.99Z'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
  }
  .gt-logo img, .gt-logo .logo-txt { opacity: 0; }  /* 흰 로고는 숨기고(대체텍스트 유지) 보라 로고를 배경으로 */
  .pc-nav { display: flex; gap: 36px; margin-left: 64px; font-size: 17px; font-weight: 600; color: var(--pc-ink); }
  .pc-nav a { position: relative; padding: 28px 0; }
  .pc-nav a:hover, .pc-nav a.is-on { color: var(--brand-600); }
  .pc-nav a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-600); }
  .gt-header__util { margin-left: auto; gap: 4px; }
  .gt-header .icon-btn { color: var(--pc-ink); }
  .gt-header .icon-btn:hover { background: var(--g-100); }
  .gt-header .icon-btn .dot { box-shadow: 0 0 0 2px #fff; }
  .gt-header [data-gnb-open] { display: none; }
  .gt-header .gt-back { display: none; }  /* 하위 화면 뒤로가기(흰 아이콘): PC 는 상단 메뉴로 이동 */
  .pc-auth { display: flex; align-items: center; gap: 14px; margin-left: 10px; font-size: 14px; font-weight: 600; }
  .pc-auth__login:hover { color: var(--brand-600); }
  .pc-auth__join { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--brand-600); color: #fff; }
  .pc-auth__join:hover { background: var(--brand-800); }

  /* ---------- 메인 배치: 히어로 전체 폭, 아래는 가운데 1200 (왼쪽 목록 + 오른쪽 최저가) ---------- */
  .gt-page:has(> .gt-hero) {  /* 메인만 (다른 화면도 .gt-page 를 씀) */
    display: grid;
    /* 바깥 여백 | 목록 | 간격 | 최저가 | 바깥 여백  (헤더 로고·버튼 끝선과 맞춤) */
    grid-template-columns: minmax(0, 1fr) minmax(0, 768px) 32px 400px minmax(0, 1fr);
    padding: 0 24px 64px;
    align-items: start;
  }
  .gt-page:has(> .gt-hero) > * { grid-column: 2 / 5; min-width: 0; }
  .gt-page > .gt-hero { grid-column: 1 / -1; grid-row: 1; margin-inline: -24px; }  /* 여백 밖까지 전체 폭 */
  .gt-page > .quick { display: none; }  /* 상단 메뉴가 같은 역할 */
  .gt-page > .sec:has(.badge-live) { grid-column: 2; grid-row: 2; }
  .gt-page > #gtCourse { grid-column: 4; grid-row: 2; }
  .gt-page > .sec[aria-label="이벤트"] { grid-row: 3; }
  .gt-page > .sec[aria-label="공지사항 및 고객센터"] { grid-row: 4; }

  /* ---------- 히어로: 라임 바탕 + 보라 대각 + BOOK NOW + 골퍼 ---------- */
  .gt-hero { height: 575px; padding: 0;  /* 2026-11-26 700 → 575: 티타임 찾기 카드 아래 빈 띠 제거(카드 위·아래 여백 40 으로 같게), 골퍼는 바닥 기준이라 그만큼 위로 */ overflow: hidden; background: var(--lime); }
  .gt-hero::before { content: ""; position: absolute; inset: 0; background: var(--brand-600); clip-path: polygon(45% 100%, 57% 0, 100% 0, 100% 100%); }
  .gt-hero::after {  /* 골퍼 */
    content: ""; position: absolute; z-index: 1; bottom: 0;
    left: calc(var(--pc-x) + 172px); width: 640px; height: 376px;
    background: url(/mobile/zones/images/intro_man.png) center bottom / contain no-repeat;
    pointer-events: none;
  }
  .gt-hero__greet { position: absolute; z-index: 1; left: var(--pc-x); top: 52px; padding: 0; color: var(--pc-ink); }
  .gt-hero__greet h1 { font: 600 30px/1.32 var(--pc-display); letter-spacing: -.02em; }
  .gt-hero__greet h1 em { color: var(--brand-600); }
  .gt-hero__greet::after {
    content: "BOOK\A NOW"; white-space: pre; display: block; margin-top: 18px;
    font: 800 176px/.86 var(--pc-display); letter-spacing: -.045em; color: var(--brand-600);
  }
  .gt-hero__login { display: none; }  /* 헤더에 로그인·회원가입 */

  /* 티타임 찾기 */
  .finder {
    position: absolute; z-index: 3; top: 40px; right: var(--pc-x);
    width: 480px; padding: 8px 0 24px;
    border-radius: 20px; box-shadow: 0 24px 60px rgba(23, 18, 43, .34);
  }
  .finder__seg { margin: 0 8px; }
  .finder__seg button { height: 60px; }
  .finder__seg b { font-size: 18px; }
  .finder__seg span { font-size: 13px; }
  .finder__row { padding: 20px 24px 0; }
  .finder__label h2 { font-size: 16px; }
  .finder .dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 0; padding: 0; overflow: visible; }
  .finder .date { width: auto; height: 64px; border-color: transparent; border-radius: 10px; }
  .finder .date:hover { background: var(--brand-50); }
  .finder .date[aria-pressed="true"] { background: var(--brand-600); }
  .finder .regions { gap: 6px; }
  .finder .chip { height: 36px; font-size: 14px; }
  .finder .chip:hover { border-color: var(--brand-600); }
  .finder__cta { padding: 22px 24px 0; }
  .finder__cta .btn-primary { height: 56px; border-radius: 12px; font-size: 17px; }
  .finder__cta .btn-primary:not(.is-lime):hover { background: var(--brand-800); }
  .finder__cta .btn-primary.is-lime:hover { background: #B3E600; }

  /* ---------- 섹션 머리 ---------- */
  .gt-page > .sec { padding-top: 56px; }
  .sec__head { padding: 0; margin-bottom: 18px; }
  .sec__head h2 { font: 800 28px/1.25 var(--pc-display); letter-spacing: -.02em; }
  .sec__head h2 .badge-live { font-family: "Pretendard Variable", sans-serif; vertical-align: 6px; }
  .sec__head p { font-size: 15px; }
  .sec__more { font-size: 14px; font-weight: 600; }
  .sec__more:hover { color: var(--brand-600); }
  .empty { margin: 0; padding: 48px 16px; }

  /* ---------- 마감 임박: 한 장의 출발표 ---------- */
  .tee-list { padding: 0; gap: 0; background: #fff; border: 1px solid var(--g-200); border-radius: 16px; overflow: hidden; }
  .tee-list > li + li .tee { border-top: 1px solid var(--g-200); }
  .tee { min-height: 88px; padding: 12px 20px; gap: 16px; border-radius: 0; box-shadow: none; }
  .tee:hover { background: #FBF9FF; }
  .tee__time { width: 96px; padding: 0; background: none; text-align: left; }
  .tee__time b { font: 800 26px/1.05 var(--pc-display); color: var(--brand-600); }
  .tee__time small { font-size: 13px; }
  .tee__name { font-size: 17px; }
  .tee__tags .tag { font-size: 12px; }
  .tee__side { display: flex; align-items: center; gap: 24px; }
  .tee__seat { min-width: 76px; font-size: 13px; }
  .tee__price { min-width: 96px; margin: 0; font-size: 18px; }
  .tee::after {  /* 행 전체가 링크라 버튼 모양만 */
    content: "신청"; flex: none; display: grid; place-items: center;
    width: 76px; height: 40px; border-radius: 10px;
    background: var(--brand-50); color: var(--brand-600); font-size: 14px; font-weight: 700;
  }
  .tee:hover::after { background: var(--brand-600); color: #fff; }

  /* ---------- 오늘 골프장별 최저가: 순위 목록 ---------- */
  #gtCourse .low { display: block; overflow: visible; padding: 8px 20px; background: #fff; border: 1px solid var(--g-200); border-radius: 16px; counter-reset: low; }
  #gtCourse .low-card { counter-increment: low; overflow: visible; background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--g-200); }
  #gtCourse .low-card:first-child { border-top: 0; }
  #gtCourse .low-card:nth-child(n+5) { display: none; }  /* PC 는 4위까지만 (전체보기로 이동) */
  #gtCourse .low-card > a { display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; min-height: 64px; padding: 10px 0; }
  #gtCourse .low-card > a::before { content: counter(low); grid-row: 1 / 3; grid-column: 1; font: 800 17px/1 var(--pc-display); color: var(--g-500); }
  #gtCourse .low-card:nth-child(-n+3) > a::before { color: var(--brand-600); }
  #gtCourse .low-card__body { display: contents; }
  #gtCourse .low-card__name { grid-row: 1; grid-column: 2 / 4; font-size: 16px; }
  #gtCourse .low-card__img { grid-row: 2; grid-column: 2; height: auto; background: none !important; }
  #gtCourse .low-card__img .region { position: static; padding: 0; background: none; color: var(--g-500); font-size: 13px; font-weight: 400; }
  #gtCourse .low-card__img .region::after { content: " · "; white-space: pre; }
  #gtCourse .low-card__meta { grid-row: 2; grid-column: 3; margin: 0; font-size: 13px; }
  #gtCourse .low-card__price { grid-row: 1 / 3; grid-column: 4; margin: 0; font-size: 17px; }
  #gtCourse .low-card a:hover .low-card__name { color: var(--brand-600); }

  /* ---------- 서비스 배너: 넘기기 대신 나란히 ---------- */
  .banner { padding: 0; }
  .banner__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; overflow: visible; border-radius: 0; }
  .banner__item { aspect-ratio: auto; min-height: 172px; padding: 24px 28px; border-radius: 18px; transition: transform .15s; }
  .banner__item:hover { transform: translateY(-3px); }
  .banner__item small { font-size: 13px; font-weight: 700; opacity: 1; }
  .banner__item strong { margin-top: 8px; font: 600 22px/1.35 var(--pc-display); }
  .banner__item.b1 { background: var(--brand-600); }
  .banner__item.b1 small { color: var(--lime); }
  .banner__item.b2 { background: var(--lime); color: var(--pc-ink); }
  .banner__item.b2 small { color: var(--brand-800); }
  .banner__item.b3 { background: #fff; color: var(--pc-ink); box-shadow: inset 0 0 0 1px var(--g-200); }
  .banner__item.b3 small { color: var(--g-500); }
  .banner__item.b2::after, .banner__item.b3::after { background: rgba(98, 0, 234, .06); }
  .banner__count { display: none; }

  /* ---------- 공지 + 고객센터: 한 줄 ---------- */
  .gt-page > .sec[aria-label="공지사항 및 고객센터"] { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 16px; align-items: stretch; }
  .notice { margin: 0; height: auto; min-height: 76px; padding: 0 24px; font-size: 15px; }
  .notice .lbl { font-size: 14px; }
  .cs { margin: 0; gap: 16px; }
  .cs a { padding: 16px 20px; }
  .cs a:hover, .notice:hover { box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-card); }
  .cs b { font-size: 17px; }
  .cs .ico { width: 40px; height: 40px; }

  /* ---------- 푸터: 진한 바탕, 사업자 정보 펼침(JS) ---------- */
  .gt-footer { margin-top: 0; padding: 36px var(--pc-x) 44px; background: var(--pc-ink); color: #B6B1C8; font-size: 14px; line-height: 1.8; }
  .gt-footer__links { gap: 24px; margin-bottom: 14px; }
  .gt-footer__links a, .gt-footer__links a.em { color: #fff; }
  .gt-footer__links a:hover { color: var(--lime); }
  .gt-footer details summary { color: #fff; cursor: default; pointer-events: none; }
  .gt-footer details summary svg { display: none; }
  .gt-footer .copy { color: #8C87A0; }
  .gt-footer :focus-visible, .gt-header :focus-visible { outline: 3px solid var(--brand-600); outline-offset: 2px; }
}

/* =====================================================================
   로그인 (/login) — 헤더 없는 단독 화면이고 gt-ui.js 를 안 불러와서 CSS 만으로.
   라임 바탕 + 보라 대각(섹션 ::before) · 문구/BOOK NOW(.container 앞뒤) · 골퍼(섹션 ::after) · 오른쪽 로그인 카드
   ===================================================================== */
@media (min-width: 1200px) {
  .section-intro:has(.card-login) {
    position: relative; overflow: hidden;
    width: 100%; height: auto; min-height: max(100vh, 720px); padding: 0;
    background: var(--lime);
  }
  .section-intro:has(.card-login)::before {  /* 기존 장식 → 보라 대각 면 */
    width: auto; height: auto; inset: 0; opacity: 1;
    background: var(--brand-600); clip-path: polygon(45% 100%, 57% 0, 100% 0, 100% 100%);
  }
  .section-intro:has(.card-login)::after {  /* 기존 장식 → 골퍼 (화면 바닥에 붙임) */
    z-index: 1; left: calc(max(24px, (100% - 1200px) / 2) + 172px); bottom: 0;
    width: 640px; height: 376px; opacity: 1;
    background: url(/mobile/zones/images/intro_man.png) center bottom / contain no-repeat;
    pointer-events: none;
  }
  .section-intro:has(.card-login) .container {
    position: relative; display: flex; align-items: center; justify-content: flex-end;
    width: 100%; max-width: 1248px; height: 720px; padding: 0 24px;
  }
  .section-intro:has(.card-login) .container::before {  /* 문구 */
    content: "로그인하고\A조인·예약을 시작해 보세요"; white-space: pre;
    position: absolute; z-index: 1; left: 24px; top: 52px;
    font: 600 30px/1.32 var(--pc-display); letter-spacing: -.02em; color: var(--pc-ink);
  }
  .section-intro:has(.card-login) .container::after {  /* BOOK NOW */
    content: "BOOK\A NOW"; white-space: pre;
    position: absolute; z-index: 1; left: 24px; top: 150px;
    font: 800 176px/.86 var(--pc-display); letter-spacing: -.045em; color: var(--brand-600);
    pointer-events: none;
  }

  /* 로그인 카드 */
  .card-login {
    z-index: 3; width: 480px; max-width: none; margin: 0; padding: 28px 40px 24px;
    border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(23, 18, 43, .34);
  }
  .card-login .card-header, .card-login .card-body, .card-login .card-footer { padding: 0; }
  .card-login .intro-logo { margin: -6px 0 16px; }
  .card-login .intro-logo img { width: auto; height: 84px; margin: 0 auto; }
  .card-login h5 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--pc-ink); }
  .card-login .input-group.mb-4 { margin-bottom: 18px !important; }
  .card-login .form-control { height: 52px; padding: 0 14px; border: 1px solid #CFCADD; border-radius: 10px; font-size: 16px; }
  .card-login .form-control:focus { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600); }
  .card-login .form-check { margin-bottom: 18px !important; }
  .card-login .form-check-label { font-size: 15px !important; }
  .card-login .btn-theme { height: 56px; border-radius: 12px; }
  .card-login .btn-theme span { font-size: 18px !important; }
  .card-login .card-body .d-flex .btn { padding: 4px 10px; font-size: 14px; color: var(--g-700); }
  .card-login .card-body .d-flex .btn:hover { color: var(--brand-600); }
  .card-login .card-footer { margin-top: 18px; }
  .card-login .card-footer .row { align-items: center; color: var(--g-500); font-size: 13px; }
  .card-login .card-footer hr { margin: 0; border-color: var(--g-200); opacity: 1; }
  .card-login .card-footer .d-flex { margin: 14px 0 0 !important; gap: 10px; }
  .card-login .card-footer .btn { margin: 0 !important; border-radius: 12px; }
}

/* =====================================================================
   조인·양도 목록 (/golf)
   - 페이지 머리: 라임 + 보라 대각 띠
   - 검색 조건: 전체 폭 상단 고정, 날짜 줄 + (지역 칩 | 유형·마감임박) 한 줄, 날짜 좌우 버튼(JS)
   - 상세조건 바텀시트(#filterSheet) → 왼쪽 고정 사이드바로 펼침, 목록은 오른쪽 2열 카드
   ===================================================================== */
@media (min-width: 1200px) {
  :root { --header-h: 80px; }  /* 상단 고정 요소 기준 높이 (PC 헤더) */

  .gt-main:has(> .gt-page > .cat-filter) {
    display: grid;
    grid-template-columns: minmax(24px, 1fr) 272px 28px minmax(0, 900px) minmax(24px, 1fr);
    align-items: start;
    padding-bottom: 72px;
  }
  .gt-main:has(> .gt-page > .cat-filter) > .gt-page { display: contents; }
  .gt-main:has(> .gt-page > .cat-filter) > script { display: none; }

  /* 페이지 머리 */
  .cat-hero {
    grid-column: 1 / -1; grid-row: 1; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    height: 168px; padding: 0 var(--pc-x);
    background: var(--lime); color: var(--pc-ink);
  }
  .cat-hero::before { content: ""; position: absolute; inset: 0; background: var(--brand-600); clip-path: polygon(62% 100%, 67% 0, 100% 0, 100% 100%); }
  .cat-hero h1, .cat-hero p { position: relative; }
  .cat-hero h1 { font: 800 46px/1.1 var(--pc-display); letter-spacing: -.035em; color: var(--brand-600); }
  .cat-hero p { margin-top: 10px; font: 600 19px/1.35 var(--pc-display); color: var(--pc-ink); }

  /* 검색 조건 (상단 고정) */
  .cat-filter {
    grid-column: 1 / -1; grid-row: 2;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px;
    margin: 0; padding: 14px var(--pc-x) 12px;
    border-radius: 0; box-shadow: 0 1px 0 var(--g-200);
  }
  .cat-filter.is-stuck { border-radius: 0; }
  .cat-filter__dates { grid-column: 1 / -1; gap: 6px; padding: 0; }
  .cat-filter__dates .month-btn { height: 44px; margin-right: 4px; padding-right: 14px; font-size: 16px; }
  .cat-filter__dates .month-btn select { cursor: pointer; }
  .cat-filter__dates .dates { padding: 2px 0 4px; scroll-padding-inline: 0; cursor: grab; }
  .cat-filter__dates .dates.is-drag { scroll-snap-type: none; cursor: grabbing; }
  .cat-filter__dates .dates.is-drag .date { pointer-events: none; }
  .cat-filter__dates .date { width: 56px; }
  .cat-filter__dates .date:hover { border-color: var(--brand-600); }
  .pc-date-arrow {
    position: relative; flex: none; width: 36px; height: 36px;
    border: 1px solid var(--g-200); border-radius: 50%; background: #fff;
  }
  .pc-date-arrow::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
    border-top: 2px solid var(--pc-ink); border-right: 2px solid var(--pc-ink);
    transform: translate(-65%, -50%) rotate(45deg);
  }
  .pc-date-arrow.is-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
  .pc-date-arrow:hover:not(:disabled) { border-color: var(--brand-600); }
  .pc-date-arrow:disabled { cursor: default; background: var(--g-100); }
  .pc-date-arrow:disabled::before { border-color: var(--g-400); }
  .cat-filter__regions { padding: 12px 0 0; flex-wrap: wrap; overflow: visible; }
  .cat-filter__regions .chip:hover { border-color: var(--brand-600); }
  .cat-filter__tools { padding: 12px 0 0; }
  .cat-filter__tools .btn-filter { display: none; }  /* 상세조건은 왼쪽 사이드바에 */

  /* 상세조건 바텀시트 → 왼쪽 사이드바 */
  #filterSheet {
    grid-column: 2; grid-row: 3 / span 2;
    position: sticky; inset: auto; top: calc(var(--header-h) + 156px); z-index: 1;
    margin-top: 24px; visibility: visible; pointer-events: auto;
  }
  #filterSheet .sheet__dim, #filterSheet .sheet__handle, #filterSheet .gnb__close { display: none; }
  #filterSheet .sheet__panel {
    position: static; transform: none; width: auto;
    max-height: calc(100vh - var(--header-h) - 180px);
    border: 1px solid var(--g-200); border-radius: 16px; transition: none;
  }
  #filterSheet .sheet__top { padding: 16px 20px 0; }
  #filterSheet .sheet__top h2 { font-size: 17px; }
  #filterSheet .sheet__body { padding: 0 20px 4px; }
  #filterSheet .opt { padding: 12px 0; }
  #filterSheet .opt legend { margin-bottom: 8px; font-size: 14px; }
  #filterSheet .opt__chips { gap: 6px; }
  #filterSheet .chip { height: 32px; padding: 0 10px; font-size: 13px; }
  #filterSheet .chip:hover { border-color: var(--brand-600); }
  #filterSheet .search-field { height: 42px; }
  #filterSheet .sheet__foot { grid-template-columns: 84px 1fr; padding: 12px 20px 16px; }
  #filterSheet .sheet__foot .btn-line, #filterSheet .sheet__foot .btn-primary { height: 46px; border-radius: 12px; font-size: 15px; }

  /* 결과 요약 + 정렬 */
  .cat-result { grid-column: 4; grid-row: 3; margin-top: 24px; padding: 0 0 14px; }
  .cat-result p { font-size: 15px; }
  .cat-result p b { font-size: 22px; }
  .cat-result p span { font-size: 14px; }
  .sort select { font-size: 14px; cursor: pointer; }

  /* 목록: 2열 카드 */
  .post-list, .gt-main:has(> .gt-page > .cat-filter) > .gt-page > .empty { grid-column: 4; grid-row: 4; }
  .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
  .post { display: flex; flex-direction: column; padding: 20px; border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
  .post:hover { border-color: var(--brand-200); box-shadow: 0 8px 24px rgba(65, 0, 155, .10); }
  .post__name { font-size: 17px; }
  .post__when b { font: 800 28px/1 var(--pc-display); color: var(--brand-600); }
  .post__foot { margin-top: auto; padding-top: 14px; }
  .post__tags { margin-bottom: 14px; }
  .post__price b { font-size: 20px; }
  .btn-apply { height: 42px; padding: 0 18px; }
  .btn-apply:hover { background: var(--brand-800); }
  .btn-apply.is-trans:hover { background: #0B5E41; }
  .post__cmt { cursor: pointer; }

  /* 다른 바텀시트(참여 인원·신청·댓글)는 화면 가운데 창으로 */
  .sheet:not(#filterSheet) .sheet__panel {
    top: 50%; bottom: auto; width: 480px; max-height: 80vh; border-radius: 20px;
    transform: translate(-50%, -46%); opacity: 0; transition: transform .2s, opacity .2s;
  }
  .sheet:not(#filterSheet).is-open .sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet:not(#filterSheet) .sheet__handle { display: none; }
}

/* =====================================================================
   공통 버튼: bootstrap 기본 .btn-primary 의 파란 상태색(마우스 올림·포커스·누름·비활성)을 보라 계열로
   (참여신청 창의 "참여신청" 등 .btn-primary 전부)
   ===================================================================== */
@media (min-width: 1200px) {
  .btn-primary:not(.is-lime):hover,
  .btn-primary:not(.is-lime):focus,
  .btn-primary:not(.is-lime):active { background-color: var(--brand-800); border-color: var(--brand-800); color: #fff; }
  .btn-primary.is-lime:hover,
  .btn-primary.is-lime:focus,
  .btn-primary.is-lime:active { background-color: #B3E600; border-color: #B3E600; color: var(--brand-800); }
  .btn-primary:focus { box-shadow: none; }
  .btn-primary:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; }
  .btn-primary:disabled, .btn-primary.disabled { background-color: var(--brand-600); border-color: var(--brand-600); opacity: .55; }
}

/* =====================================================================
   골프예약 상세 (/reserve/detail/{티}) — 예약 폼(#rs_form)이 있는 화면
   위: 골프장·가격·일정 정보 카드(전체 폭) / 왼쪽: 취소 안내·약관 동의·인원 / 오른쪽(따라옴): 결제예정 정보 + 예약 버튼
   HTML 순서는 그대로, 섹션·컨테이너·폼을 display:contents 로 풀어 한 그리드에 배치
   ===================================================================== */
@media (min-width: 1200px) {
  .site-body:has(#rs_form) {
    --pay-h: 168px;  /* 결제예정 정보 카드 높이 (예약 버튼을 바로 아래에 붙이려고 고정) */
    display: grid;
    grid-template-columns: minmax(24px, 1fr) minmax(0, 760px) 32px 408px minmax(24px, 1fr);
    row-gap: 16px; align-items: start;
    padding: 32px 0 72px;
  }
  .site-body:has(#rs_form) > .section-area:nth-of-type(2),
  .site-body:has(#rs_form) > .section-area:nth-of-type(2) > .container,
  .site-body:has(#rs_form) #rs_form { display: contents; }
  .site-body:has(#rs_form) .card { margin: 0 !important; border: 1px solid var(--g-200); border-radius: 16px !important; box-shadow: none; }

  /* 정보 카드 */
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) {
    grid-column: 2 / 5; grid-row: 1; margin: 0; padding: 0;
    border: 1px solid var(--g-200); box-shadow: none; border-radius: 16px;
  }
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) > .container { max-width: none; padding: 26px 32px 28px; }
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) br:first-child { display: none; }
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) h4 { display: flex; align-items: center; gap: 8px; font: 800 30px/1.25 var(--pc-display); letter-spacing: -.02em; color: var(--pc-ink); }
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) hr { margin: 18px 0; border: 0; height: 1px; background-color: var(--g-200); color: var(--g-200); opacity: 1; }
  .site-body:has(#rs_form) > .section-area:nth-of-type(1) hr.mb-0 { margin-bottom: 0; }
  .site-body:has(#rs_form) .price-group { display: flex; align-items: center; }
  .site-body:has(#rs_form) .price-group .price { display: flex; align-items: center; gap: 6px; margin: 0; font: 800 28px/1.2 var(--pc-display); color: var(--brand-600); }
  .site-body:has(#rs_form) .price-group .badge { font-family: "Pretendard Variable", sans-serif; font-size: 12px; }
  .site-body:has(#rs_form) [class*="bg-morning"], .site-body:has(#rs_form) [class*="bg-afternoon"], .site-body:has(#rs_form) [class*="bg-night"] { margin-top: 18px; padding: 18px 22px !important; border-radius: 12px; }
  .site-body:has(#rs_form) .list-group-clear { flex-direction: row; flex-wrap: wrap; gap: 8px 32px; }
  .site-body:has(#rs_form) .list-group-clear .list-group-item { display: flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; font-size: 16px; font-weight: 600; color: var(--pc-ink); }
  .site-body:has(#rs_form) .list-group-clear .list-group-item > span:first-child { flex: none; margin: 0 !important; }  /* 아이콘: 공통 img{display:block} 때문에 글자 위로 올라가던 것을 같은 줄로 */
  .site-body:has(#rs_form) .list-group-clear .list-group-item img { width: 18px; height: 18px; }

  /* 왼쪽: 취소 안내 · 약관 동의 · 인원 */
  .site-body:has(#rs_form) .section-area:nth-of-type(2) .container > .card:nth-child(1) { grid-column: 2; grid-row: 2; }
  .site-body:has(#rs_form) .section-area:nth-of-type(2) .container > .card:nth-child(2) { grid-column: 2; grid-row: 3; }
  .site-body:has(#rs_form) #rs_form > .card:nth-of-type(1) { grid-column: 2; grid-row: 4; }
  .site-body:has(#rs_form) .card-header { padding: 16px 22px; background: var(--g-50); border-bottom: 1px solid var(--g-200); border-radius: 16px 16px 0 0 !important; }
  .site-body:has(#rs_form) .card-body { padding: 16px 22px; font-size: 15px; }
  .site-body:has(#rs_form) .card-body > .d-flex + .d-flex { margin-top: 6px; }
  .site-body:has(#rs_form) .form-check-label { font-size: 15px; cursor: pointer; }
  .site-body:has(#rs_form) .card-body .btn-sm { font-size: 13px; font-weight: 600; }
  .site-body:has(#rs_form) .card-body .btn-sm:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* 오른쪽: 결제예정 정보 + 예약 버튼 (스크롤해도 따라옴) */
  .site-body:has(#rs_form) #rs_form > .card:nth-of-type(2) {
    grid-column: 4; grid-row: 2 / span 3; align-self: start;
    position: sticky; top: calc(var(--header-h) + 24px);
    height: var(--pay-h); overflow: hidden;
    box-shadow: 0 12px 32px rgba(23, 18, 43, .10);
  }
  .site-body:has(#rs_form) #rs_form > .card:nth-of-type(2) .card-header { text-align: left !important; font-size: 16px; font-weight: 700; color: var(--pc-ink) !important; background: var(--g-50) !important; }
  .site-body:has(#rs_form) #rs_form > .card:nth-of-type(2) .card-body { padding: 18px 22px; }
  .site-body:has(#rs_form) #rs_form > .card:nth-of-type(2) h5 { margin: 0; font-size: 16px; }
  .site-body:has(#rs_form) #total_text { font: 800 26px/1.25 var(--pc-display) !important; color: var(--brand-600); }
  .site-body:has(#rs_form) #total_text span { font-family: "Pretendard Variable", sans-serif; font-weight: 500; }
  .site-body:has(#rs_form) .section-area:nth-of-type(2) .container > .d-flex {
    grid-column: 4; grid-row: 2 / span 3; align-self: start;
    position: sticky; top: calc(var(--header-h) + 24px + var(--pay-h) + 12px);
    margin: calc(var(--pay-h) + 12px) 0 0 !important;
  }
  .site-body:has(#rs_form) .section-area:nth-of-type(2) .container > .d-flex .btn-theme { height: 60px; border-radius: 14px; font-size: 18px; }
}

/* =====================================================================
   골프 패키지 (/package?type=dom|ovs) — 예전 화면 구조(.site-body > .section-area) 그대로
   가운데 1200 안에: 밑줄 탭 · 지역 칩 · 상품 수 + 정렬 · 상품 카드 3열 (상품 없으면 준비중 안내 카드)
   ※ 운영에 아직 상품이 0개라 카드 모양은 상품이 올라오면 다시 확인 필요
   ===================================================================== */
@media (min-width: 1200px) {
  .site-body:has(.pkg-chips) { padding: 32px 24px 72px; }
  .site-body:has(.pkg-chips) > .section-area {
    /* gt-mobile.css 의 .section-area:not(..):not(..):not(..) (흰 카드·좌우 여백) 가 더 강해서 !important */
    max-width: 1200px; margin: 0 auto !important; padding: 0 !important;
    background: transparent !important; border-radius: 0 !important; box-shadow: none !important;
  }
  .site-body:has(.pkg-chips) > .section-area > br { display: none; }
  .site-body:has(.pkg-chips) .container { max-width: none; padding: 0 !important; }

  /* 국내 / 해외 탭 */
  .site-body:has(.pkg-chips) .nav-customtabs { gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--g-200); }
  .site-body:has(.pkg-chips) .nav-customtabs .nav-link {
    position: relative; padding: 12px 20px; border: 0; background: none;
    font-size: 18px; font-weight: 700; color: var(--g-500);
  }
  .site-body:has(.pkg-chips) .nav-customtabs .nav-link:hover { color: var(--brand-600); }
  .site-body:has(.pkg-chips) .nav-customtabs .nav-link.active { color: var(--brand-600); background: none; }
  .site-body:has(.pkg-chips) .nav-customtabs .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-600); }

  /* 지역 칩 · 상품 수 · 정렬 */
  .site-body:has(.pkg-chips) .pkg-chips { flex-wrap: wrap; gap: 8px; overflow: visible; padding: 0; }
  .site-body:has(.pkg-chips) .pkg-chips .btn { height: 36px; padding: 0 16px; font-size: 14px; }
  .site-body:has(.pkg-chips) .pkg-chips .btn:not(.btn-theme) { border: 1px solid var(--g-200); background: #fff; color: var(--g-700); }
  .site-body:has(.pkg-chips) .pkg-chips .btn:not(.btn-theme):hover { border-color: var(--brand-600); color: var(--brand-600); }
  .site-body:has(.pkg-chips) .pkg-chips + .d-flex { margin: 20px 0 16px !important; font-size: 15px; color: var(--g-700); }
  .site-body:has(.pkg-chips) .pkg-chips + .d-flex .form-select { height: 40px; padding-left: 14px; border-radius: 10px; font-size: 14px; cursor: pointer; }

  /* 상품 없음: 안내 카드 */
  .site-body:has(.pkg-chips) .container > .text-center.py-5 {
    padding: 96px 16px !important; background: #fff; border: 1px solid var(--g-200); border-radius: 16px;
    font: 600 22px/1.4 var(--pc-display); color: var(--pc-ink) !important;
  }
  .site-body:has(.pkg-chips) .container > .text-center.py-5::after {
    content: "새로운 패키지가 열리면 이곳에서 알려드릴게요"; display: block; margin-top: 8px;
    font: 400 15px/1.5 "Pretendard Variable", sans-serif; color: var(--g-500);
  }

  /* 상품 카드 3열 (.pkg-card 를 감싼 목록/행을 그리드로) */
  .site-body:has(.pkg-chips) :is(.row, ul, .pkg-list):has(.pkg-card) {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
    margin: 0; padding: 0; list-style: none;
  }
  .site-body:has(.pkg-chips) :is(.row, ul, .pkg-list):has(.pkg-card) > * { width: auto; max-width: none; margin: 0; padding: 0; }
  .site-body:has(.pkg-chips) .pkg-card {
    height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--g-200); border-radius: 16px;
    transition: transform .15s, box-shadow .15s;
  }
  .site-body:has(.pkg-chips) .pkg-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 18, 43, .12); }
  .site-body:has(.pkg-chips) .pkg-card .pkg-img { border-radius: 0; }
  .site-body:has(.pkg-chips) .pkg-card .pkg-price { font: 800 20px/1.3 var(--pc-display); color: var(--pc-ink); }
}

/* =====================================================================
   이벤트 · 공지 · 자주하는 질문 (/customer/event — 하위 탭 화면)
   가운데 1200 안에: 밑줄 탭(상단 고정) / 이벤트 카드 3열 / 질문 목록 / 1:1 문의 카드
   ===================================================================== */
@media (min-width: 1200px) {
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) { padding-bottom: 72px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)):not(:has(> .ev-detail)) > :not(.cat-hero) { width: min(1200px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }

  /* 하위 탭: 밑줄 탭 */
  .gt-page > .sub-tabs {
    display: flex; gap: 4px; justify-content: flex-start;
    margin-top: 28px; padding: 0; border-radius: 0; box-shadow: none;
    background: var(--g-50); border-bottom: 1px solid var(--g-200);
  }
  .gt-page > .sub-tabs.is-stuck { border-radius: 0; box-shadow: none; }
  .gt-page > .sub-tabs button { flex: none; height: auto; padding: 14px 22px; font-size: 18px; }
  .gt-page > .sub-tabs button:hover { color: var(--brand-600); }
  .gt-page > .sub-tabs button[aria-selected="true"] { color: var(--brand-600); }
  .gt-page > .sub-tabs button[aria-selected="true"]::after {  /* 모바일용 가운데 이동(translateX -50%) 해제, 탭 폭 그대로 구분선 위에 */
    left: 0; right: 0; bottom: -1px; width: auto; height: 3px; border-radius: 0; transform: none; background: var(--brand-600);
  }

  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .sub-panel { padding: 24px 0 0; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .panel-tools { margin-bottom: 18px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .panel-count { font-size: 15px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .seg-mini button { height: 34px; padding: 0 14px; font-size: 14px; }

  /* 이벤트 카드 3열 */
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card { height: 100%; border: 1px solid var(--g-200); box-shadow: none; transition: transform .15s, box-shadow .15s; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 18, 43, .12); }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card__body { padding: 16px 20px 20px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card__title { font-size: 17px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card__period { font-size: 14px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .ev-card:hover .ev-card__title { color: var(--brand-600); }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .empty { padding: 72px 16px; }

  /* 자주하는 질문 */
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq-list { gap: 10px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq details { border: 1px solid var(--g-200); box-shadow: none; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq summary { padding: 18px 24px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq summary:hover .faq__title { color: var(--brand-600); }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq__title { font-size: 16px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq__a { padding: 0 24px 22px; font-size: 15px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq__a table { margin: 10px 0; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq__a th, .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq__a td { padding: 6px 14px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .faq-cats .chip:hover { border-color: var(--brand-600); }

  /* 1:1 문의 · 고객센터 */
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) > .ask-card { margin-top: 40px; padding: 20px 24px; }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) > .ask-card:hover { box-shadow: 0 0 0 1px var(--brand-200); }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) > .cs-line { padding: 16px 0 0; font-size: 14px; }
  /* 공지사항 탭의 "공지사항 전체보기 ›" 등: 이벤트 상세의 "이벤트 목록"과 같은 버튼 모양 */
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .sub-panel .more-line {
    width: 220px; height: 52px; margin: 20px auto 0;
    border: 1px solid var(--g-200); border-radius: 12px; background: #fff;
  }
  .gt-page:is(:has(> .sub-tabs), :has(> .pc-sub-tabs)) .more-line:hover { color: var(--brand-600); border-color: var(--brand-600); }

  /* 이벤트 상세 (/customer/event_detail/{번호}): 읽기 좋은 폭 880 */
  .gt-page:has(> .ev-detail) { padding-bottom: 72px; }
  .gt-page:has(> .ev-detail) > * { width: min(880px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
  /* 목록 화면과 같은 하위 탭 (HTML 에 없어 gt-ui.js 덧붙임분이 만듦: 이벤트 상세·공지사항·자주하는 질문) — 1200 폭 */
  .gt-page > .pc-sub-tabs {
    position: sticky; top: var(--header-h); z-index: 40;
    display: flex; gap: 4px; width: min(1200px, calc(100% - 48px)); margin-top: 28px;
    background: var(--g-50); border-bottom: 1px solid var(--g-200);
  }
  .pc-sub-tabs a { position: relative; padding: 14px 22px; font-size: 18px; font-weight: 500; color: var(--g-500); }
  .pc-sub-tabs a:hover { color: var(--brand-600); }
  .pc-sub-tabs a.is-on { color: var(--brand-600); font-weight: 700; }
  .pc-sub-tabs a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-600); }
  .ev-detail { padding: 32px 0 0; }
  .ev-detail__img { border-radius: 18px; }
  .ev-detail__title { margin-top: 24px; font: 800 30px/1.3 var(--pc-display); letter-spacing: -.02em; color: var(--pc-ink); }
  .ev-detail__period { margin-top: 8px; font-size: 15px; }
  .ev-detail__body { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--g-200); font-size: 16px; line-height: 1.7; }
  .ev-detail__body img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
  .gt-page:has(> .ev-detail) > .more-line {
    width: 220px; height: 52px; margin-top: 32px; border: 1px solid var(--g-200); border-radius: 12px; background: #fff;
  }
  .gt-page:has(> .ev-detail) > .more-line:hover { border-color: var(--brand-600); color: var(--brand-600); }
}

/* =====================================================================
   1:1 문의 (/myt/inquiry 목록 · /myt/inquiry_write 글쓰기 · /myt/inquiry_detail|answer/{번호} 상세)
   + 같은 부품(nt-view)을 쓰는 공지 상세. 읽기 좋은 폭 880 가운데 한 줄.
   ※ 상세는 로그인 계정에 문의가 없어 실화면 미확인 — 모바일 CSS 의 부품 이름(nt-view·qna-*) 기준
   ===================================================================== */
@media (min-width: 1200px) {
  .gt-page:has(a[href="/myt/inquiry_write"]),
  .gt-page:has(.nt-view) { padding-bottom: 72px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) > :not(.pc-sub-tabs),
  .gt-page:has(.nt-view) > :not(.pc-sub-tabs) { width: min(880px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }

  /* 목록 */
  .gt-page:has(a[href="/myt/inquiry_write"]) > .sub-panel { padding: 32px 0 0; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .panel-tools { margin-bottom: 18px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .panel-count { font-size: 15px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .panel-tools .btn-apply { height: 44px; padding: 0 22px; font-size: 15px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .empty { padding: 72px 16px; border-radius: 16px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .empty a:hover { text-decoration: underline; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .nt-row { transition: box-shadow .15s; }
  .gt-page:has(a[href="/myt/inquiry_write"]) .nt-row:hover { box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-card); }
  .gt-page:has(a[href="/myt/inquiry_write"]) > .ask-card { margin-top: 32px; padding: 20px 24px; }
  .gt-page:has(a[href="/myt/inquiry_write"]) > .ask-card:hover { box-shadow: 0 0 0 1px var(--brand-200); }
  .gt-page:has(a[href="/myt/inquiry_write"]) > .cs-line { padding: 16px 0 0; font-size: 14px; }

  /* 글쓰기 · 상세 공통 카드 */
  .gt-page .nt-view { margin: 32px 0 0; padding: 32px 36px; border: 1px solid var(--g-200); border-radius: 18px; box-shadow: none; }
  .gt-page .nt-view + .nt-view { margin-top: 16px; }
  .gt-page .nt-view__title { font: 800 26px/1.35 var(--pc-display); letter-spacing: -.02em; color: var(--pc-ink); }
  .gt-page .nt-view__date { margin-top: 8px; padding-bottom: 18px; font-size: 14px; }
  .gt-page .nt-view__body { padding-top: 20px; font-size: 16px; }
  .gt-page .qna-origin { background: var(--g-50); border-style: dashed; }
  .gt-page .qna-origin__label { font-size: 13px; }
  .gt-page .qna-file { margin-top: 18px; }
  .gt-page .qna-guide { margin-top: 18px; padding: 16px 20px; font-size: 14px; }

  /* 글쓰기 */
  .gt-page .qna-form .opt { padding: 20px 0; }
  .gt-page .qna-form .opt:first-child { padding-top: 0; }
  .gt-page .qna-form legend { margin-bottom: 10px; font-size: 16px; }
  .gt-page .qna-form .chip { height: 38px; padding: 0 16px; font-size: 14px; }
  .gt-page .qna-form .chip:hover { border-color: var(--brand-600); }
  .gt-page .qna-input { min-height: 52px; font-size: 16px; }
  .gt-page textarea.qna-input { min-height: 240px; }
  .gt-page .qna-checks { font-size: 15px; }
  .gt-page .qna-notice { margin-top: 20px !important; padding: 14px 18px 14px 34px !important; font-size: 14px; }

  /* 아래 버튼: 가운데 두 개 */
  .gt-page > .qna-foot { display: flex; justify-content: center; gap: 12px; padding: 28px 0 0; }
  .gt-page > .qna-foot > * { width: 200px; height: 56px; border-radius: 14px; font-size: 16px; }
  .gt-page > .qna-foot .btn-line:hover { border-color: var(--brand-600); background: var(--brand-50); }
  .gt-page > .qna-foot .qna-del:hover { background: var(--hot-bg); }
}

/* =====================================================================
   마이T (/myt 메인 · /myt/myreserve 나의 예약 · /myt/package 패키지 상담 · /myt/withdraw 회원탈퇴)
   ===================================================================== */
@media (min-width: 1200px) {
  .pc-auth__login.is-on { color: var(--brand-600); font-weight: 700; }

  /* 메인: 보라 프로필 띠(전체 폭) / 예약 현황 카드(띠에 걸침) / 메뉴 3묶음 3열 / 고객센터 · 로그아웃 */
  .gt-page:has(> .my-hero) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 384px)) minmax(0, 1fr);
    column-gap: 24px; row-gap: 24px; align-items: start;
    padding-bottom: 72px;
  }
  .gt-page:has(> .my-hero) > * { grid-column: 2 / 5; min-width: 0; }
  .gt-page > .my-hero { grid-column: 1 / -1; grid-row: 1; padding: 36px var(--pc-x) 92px; }
  .gt-page > .my-hero .my-profile { flex-direction: row-reverse; justify-content: flex-end; gap: 20px; }
  .gt-page > .my-hero .my-avatar { width: 84px; height: 84px; }
  .gt-page > .my-hero .my-sub { font-size: 15px; }
  .gt-page > .my-hero .my-name { font: 800 32px/1.25 var(--pc-display); letter-spacing: -.03em; }
  .gt-page > .my-hero .my-name small { font-family: "Pretendard Variable", sans-serif; font-size: 17px; }
  .gt-page > .my-hero .my-edit-chip { height: 28px; padding: 0 12px; font-family: "Pretendard Variable", sans-serif; font-size: 13px; vertical-align: 6px; }
  .gt-page > .my-hero .my-edit-chip:hover { background: rgba(255, 255, 255, .32); }
  .gt-page:has(> .my-hero) > .my-status { grid-row: 2; position: relative; z-index: 1; margin: -84px 0 0; padding: 24px 28px; border-radius: 18px; }
  .gt-page:has(> .my-hero) > .my-status:hover { box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-float); }
  .gt-page:has(> .my-hero) .my-status__count { font-size: 20px; }
  .gt-page:has(> .my-hero) .my-status__count b { font-size: 30px; }
  .gt-page:has(> .my-hero) > .my-sec { grid-row: 3; padding: 0; }
  .gt-page:has(> .my-hero) > .my-sec:nth-of-type(2) { grid-column: 2; }
  .gt-page:has(> .my-hero) > .my-sec:nth-of-type(3) { grid-column: 3; }
  .gt-page:has(> .my-hero) > .my-sec:nth-of-type(4) { grid-column: 4; }
  .gt-page:has(> .my-hero) .my-sec__head h2 { font: 800 20px/1.3 var(--pc-display); }
  .gt-page:has(> .my-hero) .menu-box { border: 1px solid var(--g-200); box-shadow: none; }
  .gt-page:has(> .my-hero) .menu-box a { min-height: 58px; padding: 0 20px; font-size: 16px; }
  .gt-page:has(> .my-hero) .menu-box a:hover { color: var(--brand-600); background: var(--brand-50); }
  .gt-page:has(> .my-hero) > .cs { grid-row: 4; grid-column: 2 / 5; margin: 8px 0 0; gap: 24px; }
  .gt-page:has(> .my-hero) > .cs a { padding: 18px 20px; }
  .gt-page:has(> .my-hero) > .cs a:hover { box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-card); }
  /* 로그아웃: 프로필 띠 오른쪽, 이름·사진과 같은 높이의 흰 테두리 버튼 */
  .gt-page:has(> .my-hero) > .my-out { grid-row: 1; grid-column: 4; justify-self: end; align-self: start; position: relative; z-index: 1; margin-top: 58px; padding: 0; }
  .gt-page:has(> .my-hero) > .my-out a {
    display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .55); border-radius: 20px;
    font-size: 14px; font-weight: 600; color: #fff; transition: background .15s;
  }
  .gt-page:has(> .my-hero) > .my-out a:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
  .gt-page:has(> .my-hero) > .my-out a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

  /* 예전 구조 화면(나의 예약 · 패키지 상담): 가운데 880 흰 카드 + 밑줄 탭 */
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) { padding: 32px 24px 72px; }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) > .section-area {
    max-width: 880px; margin: 0 auto !important; padding: 28px 32px 32px !important;
    border: 1px solid var(--g-200); border-radius: 18px !important; box-shadow: none !important;
  }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .container { max-width: none; padding: 0 !important; }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .container > br:first-child,
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) > .section-area > br { display: none; }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .section-title { display: flex; align-items: center; gap: 8px; font: 800 24px/1.3 var(--pc-display); }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .nav-customtabs { gap: 4px; margin: 8px 0 20px; border-bottom: 1px solid var(--g-200); }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .nav-customtabs .nav-link {
    position: relative; padding: 12px 20px; border: 0; background: none; font-size: 17px; font-weight: 700; color: var(--g-500);
  }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .nav-customtabs .nav-link:hover,
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .nav-customtabs .nav-link.active { color: var(--brand-600); background: none; }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .nav-customtabs .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-600); }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .text-center.py-5 { padding: 64px 16px !important; font-size: 16px; }
  .site-body:has(.section-title-wrapper):not(:has(#rs_form)) .btn-outline-theme { height: 44px; padding: 0 22px; border-radius: 12px; }

  /* 회원탈퇴: 자체 헤더는 숨기고(머리 띠에 제목) 가운데 640 카드 */
  .withdraw-header { display: none !important; }  /* 화면 안 <style> 이 나중에 적용돼 !important */
  .withdraw-content {
    width: min(640px, calc(100% - 48px)) !important; margin: 32px auto 72px !important; padding: 36px 40px !important;
    background: #fff !important; border: 1px solid var(--g-200) !important; border-radius: 18px !important;
  }
  .withdraw-content .withdraw-title { font: 800 26px/1.35 var(--pc-display); }
  .withdraw-content .form-select, .withdraw-content .form-control { min-height: 48px; border-radius: 10px; font-size: 15px; }
  .withdraw-content .withdraw-buttons .btn { height: 52px; border-radius: 12px; font-size: 16px; }
}

/* =====================================================================
   약관 (/agree/terms1/a 이용약관 · /agree/terms3/a 개인정보처리방침) · 회사소개 (/company)
   ※ 약관 화면은 gt-mobile.css 뒤에 bootstrap.css·style.css 를 다시 불러와서 선택자를 길게 / 일부 !important
   ===================================================================== */
@media (min-width: 1200px) {
  /* 약관: 가운데 880 흰 카드, 머리 띠와 겹치는 본문 첫 제목(h1) 숨김 */
  .gt-main .site-body:has(.agree-body) { padding: 32px 24px 72px; }
  /* HTML 에서 .section-hero 닫는 태그가 주석 처리돼 본문 카드가 그 안에 들어가 있음 */
  .gt-main .site-body:has(.agree-body) > .section-hero { padding: 0 !important; margin: 0 !important; }
  .gt-main .site-body:has(.agree-body) .section-area:has(.agree-body) {
    max-width: 880px; margin: 0 auto !important; padding: 44px 52px 36px !important;
    background: #fff !important; border: 1px solid var(--g-200); border-radius: 18px !important; box-shadow: none !important;
  }
  .gt-main .site-body:has(.agree-body) .container { max-width: none; padding: 0 !important; }
  /* 머리 띠 제목과 같은 본문 큰 제목 (이용약관은 .agree-body 안, 개인정보처리방침은 그 바깥 .container 바로 아래) */
  .gt-main .site-body .agree-body > h1,
  .gt-main .site-body:has(.agree-body) .container > h1 { display: none; }
  .gt-main .site-body .agree-body h2 {
    margin: 44px 0 6px; padding-top: 32px; border-top: 1px solid var(--g-200);
    font: 800 22px/1.35 var(--pc-display); letter-spacing: -.02em; color: var(--brand-600);
  }
  .gt-main .site-body .agree-body > h1 + h2,
  .gt-main .site-body .agree-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .gt-main .site-body .agree-body h4 { margin: 28px 0 10px; font-size: 17px; font-weight: 700; color: var(--pc-ink); }
  .gt-main .site-body .agree-body h5 { font-size: 16px; }
  .gt-main .site-body .agree-body p, .gt-main .site-body .agree-body li { font-size: 15.5px; line-height: 1.8; color: var(--g-700); }
  .gt-main .site-body .agree-body .agree-table { font-size: 14.5px; }
  .gt-main .site-body .agree-body .agree-table th, .gt-main .site-body .agree-body .agree-table td { padding: 10px 14px; }
  .gt-main .site-body .agree-body .agree-note { padding: 14px 18px; border-radius: 12px; background: var(--g-50); }
  .gt-main .site-body .agree-body a { color: var(--brand-600); }

  /* 회사소개: 서브 메뉴를 PC 헤더(80px) 바로 아래에 고정 (화면 안 스타일은 모바일 헤더 56px 기준) */
  .gt-app .co .tabs { top: var(--header-h); }
  /* 서브 메뉴 링크로 이동할 때 제목이 헤더(80)·서브 메뉴(51) 바로 아래에 오게.
     화면 스크립트가 위에서 140px 안에 든 구역의 탭을 강조하므로 132px 에 맞춤 */
  html:has(.co .tabs) { scroll-padding-top: calc(var(--header-h) + 52px); }
}

/* =====================================================================
   예전 공통 구조(.site-body > .section-area > .container) 중 따로 정하지 않은 화면
   (/join 약관동의 · /join/verify 본인인증 · /join/used 가입 확인 · /login/find_id · /login/find_pw · /app 등)
   → 가운데 640 흰 카드. 따로 정한 화면(예약 상세·패키지·약관·마이T·AI톡 대화·AI톡 시작 로딩)은 제외.
   + 예전 공지사항(/notice, notice.css) · AI톡 대화(/ai/chat)
   ===================================================================== */
@media (min-width: 1200px) {
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) { padding: 32px 24px 72px; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) > .section-area {
    /* gt-mobile.css 의 .section-area:not(..)x3 (흰 시트·좌우 여백) 가 더 강해서 !important */
    max-width: 640px; margin: 0 auto !important; padding: 36px 40px !important;
    background: #fff !important; border: 1px solid var(--g-200); border-radius: 18px !important; box-shadow: none !important;
  }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .container { max-width: none; padding: 0 !important; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .container + .container { margin-top: 12px; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) h4 { padding-top: 0 !important; font: 800 22px/1.35 var(--pc-display); letter-spacing: -.02em; color: var(--pc-ink); }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) h5 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .form-control { min-height: 48px; border-radius: 10px; font-size: 15px; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .form-control:focus { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600); }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .btn-lg {
    display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 12px; font-size: 16px;
  }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .btn-outline-theme:hover { background: var(--brand-50); color: var(--brand-700); }
  /* 아이디 찾기: 입력칸 + 오른쪽 버튼 (넓은 화면용 10:2 칸이 카드 폭엔 좁아 버튼 글자가 꺾임 → 7:3) */
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .row > .col-8.col-lg-10 { width: 70%; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .row > .col-4.col-lg-2 { width: 30%; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .row > .col-4.col-lg-2 > .btn { width: 100%; height: 48px; margin-top: 0 !important; white-space: nowrap; border-radius: 10px !important; }
  /* 회원가입 약관 동의 줄 */
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .border.rounded-5 { padding: 16px 20px !important; border-radius: 14px !important; border-color: var(--g-200) !important; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .border.rounded-5:hover { border-color: var(--brand-200) !important; }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .alert { border-radius: 12px; }
  /* 앱 메뉴(9칸) */
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .row > .col-4 > .btn.border {
    height: 76px; margin-bottom: 12px; border-radius: 14px; background: #fff; font-size: 16px; font-weight: 600;
  }
  .gt-main > .site-body:not(:has(#rs_form, .pkg-chips, .agree-body, .section-title-wrapper, .section-aitalk, .section-loading)) .row > .col-4 > .btn.border:hover { border-color: var(--brand-600) !important; color: var(--brand-600); }

  /* 예전 공지사항 (/notice — notice.css 가 나중에 불러와져 선택자를 길게) */
  .gt-main .community-wrap { width: min(1200px, calc(100% - 48px)); max-width: none; margin: 32px auto 72px; padding: 0; }
  .gt-main .community-wrap .community-tabs { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0 0 24px; padding: 0; border: 0; border-bottom: 1px solid var(--g-200); background: none; }
  .gt-main .community-wrap .community-tabs li { flex: none; width: auto; margin: 0; border: 0; background: none; }
  .gt-main .community-wrap .community-tabs li a {
    position: relative; display: block; height: auto; padding: 14px 22px; border: 0; border-radius: 0; background: none;
    font-size: 17px; font-weight: 500; color: var(--g-500);
  }
  .gt-main .community-wrap .community-tabs li a:hover { color: var(--brand-600); }
  .gt-main .community-wrap .community-tabs li.active a { background: none; color: var(--brand-600); font-weight: 700; }
  .gt-main .community-wrap .community-tabs li.active a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-600); }
  .gt-main .community-wrap .content-title { margin-bottom: 16px; font: 800 24px/1.3 var(--pc-display); letter-spacing: -.02em; }
  .gt-main .community-wrap .accordion-item { margin-bottom: 10px; border: 1px solid var(--g-200); border-radius: 14px; background: #fff; overflow: hidden; }
  .gt-main .community-wrap .accordion-head { padding: 18px 48px 18px 24px; font-size: 16px; }
  .gt-main .community-wrap .accordion-head:hover { color: var(--brand-600); background: var(--g-50); }
  .gt-main .community-wrap .accordion-body { padding: 0 24px 20px; font-size: 15px; line-height: 1.8; }

  /* AI톡 대화 (/ai/chat): 대화·입력창을 가운데 880 */
  /* 공통 CSS 가 .site-body 배경을 지워 흰 바탕에 흰 글자가 됨(운영 모바일도 같은 상태) → PC 는 대화 영역에 보라 배경 */
  .gt-main .bg-aitalk .section-aitalk .container {
    max-width: 880px; margin: 32px auto 72px; padding: 8px 28px 20px;
    border-radius: 20px; background: linear-gradient(to bottom, var(--brand-600) 60px, #3C2DA4);
  }
}

/* =====================================================================
   [모바일 포함 · 전 화면 폭] 회원가입 약관 모달 (/join 내용보기 → #agreeModal·#serviceModal·#privacyModal)
   제목·필수 표시·확인 버튼은 gt-ui.js 덧붙임분이 만들고(.pc-terms-*), 약관 iframe 안 글자는 같은 JS 가 넣는 스타일로 정리.
   모바일: 전체 화면 그대로 + 제목·한 번만 스크롤·아래 확인 버튼 / PC: 가운데 780px 창
   (2026-11-11 사용자 요청으로 모바일도 수정 — 미디어쿼리 밖 규칙)
   ===================================================================== */
.modal.pc-terms-modal .modal-content { position: relative; height: 100%; border: 0; border-radius: 0; background: #fff; }
.modal.pc-terms-modal .modal-content::before {  /* 라임→보라 띠 */
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #C6FF00, #6200EA); z-index: 1;
}
.modal.pc-terms-modal .modal-header {
  display: flex; align-items: center; gap: 10px; padding: 18px 16px 14px 20px; border-bottom: 1px solid #EEEAF5;
}
.modal.pc-terms-modal .pc-terms-title {
  display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0;
  font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; color: #1B1726;
}
.modal.pc-terms-modal .pc-terms-req {
  flex: none; padding: 2px 9px; border-radius: 99px; background: #F3ECFD; color: #6200EA;
  font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 0;
}
.modal.pc-terms-modal .modal-header .btn-close {
  flex: none; width: 36px; height: 36px; margin: 0 0 0 auto; padding: 0; border-radius: 50%;
  background-color: #F4F2F8; background-size: 12px; opacity: 1; transition: background-color .15s;
}
.modal.pc-terms-modal .modal-header .btn-close:hover { background-color: #E9E2F7; }
.modal.pc-terms-modal .modal-header .btn-close:focus-visible { outline: 2px solid #6200EA; outline-offset: 2px; box-shadow: none; }

/* 본문: 약관 iframe 은 창 높이에 맞춰 한 번만 스크롤 (원래 높이 800px 고정이라 스크롤이 두 겹) */
.modal.pc-terms-modal .modal-body { flex: 1 1 auto; min-height: 0; }
.modal.pc-terms-modal .modal-body:has(iframe) { padding: 0 !important; overflow: hidden; }
.modal.pc-terms-modal .modal-body:has(iframe) > .container,
.modal.pc-terms-modal .modal-body:has(iframe) > .container > .agree-body { max-width: none; height: 100%; margin: 0; padding: 0; }  /* 개인정보는 iframe 이 .agree-body 한 겹 더 안에 있음 */
.modal.pc-terms-modal .modal-body iframe { display: block; width: 100%; height: 100% !important; min-height: 0 !important; border: 0; }
/* iframe 없이 본문이 바로 들어간 모달(인터넷서비스 이용약관) */
.modal.pc-terms-modal .modal-body:not(:has(iframe)) { padding: 20px 20px 28px !important; }
.modal.pc-terms-modal .modal-body:not(:has(iframe)) > .container { max-width: none; padding: 0; }
.modal.pc-terms-modal .agree-body { word-break: keep-all; }
.modal.pc-terms-modal .agree-body h2 {
  margin: 24px 0 12px; padding: 10px 14px; border-left: 4px solid #6200EA; border-radius: 6px;
  background: #F6F1FE; font-size: 16px; font-weight: 700; color: #1B1726;
}
.modal.pc-terms-modal .agree-body h4 { margin: 20px 0 8px; font-size: 15px; font-weight: 700; color: #41009B; }
.modal.pc-terms-modal .agree-body p, .modal.pc-terms-modal .agree-body li { font-size: 14px; line-height: 1.75; color: #3A3646; }
.modal.pc-terms-modal .agree-body > p:first-child {
  margin-bottom: 8px; padding: 12px 16px; border-radius: 12px; background: #FAF9FC; color: #645E73;
}

.modal.pc-terms-modal .pc-terms-foot {
  display: flex; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #EEEAF5; background: #fff;
}
.modal.pc-terms-modal .pc-terms-ok {
  width: 100%; height: 50px; border: 0; border-radius: 12px; background: #6200EA; color: #fff;
  font-size: 16px; font-weight: 700; transition: background-color .15s;
}
.modal.pc-terms-modal .pc-terms-ok:hover { background: #4E00BD; }
.modal.pc-terms-modal .pc-terms-ok:focus-visible { outline: 3px solid #C6FF00; outline-offset: 2px; }

@media (min-width: 1200px) {
  .modal.pc-terms-modal .modal-dialog.modal-fullscreen {
    --terms-h: min(calc(100vh - 80px), 880px);
    width: min(780px, calc(100vw - 48px)); max-width: none !important; height: var(--terms-h);
    margin: calc((100vh - var(--terms-h)) / 2) auto !important;
    border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 64px rgba(27, 10, 60, .28);
  }
  .modal.pc-terms-modal .modal-header { gap: 12px; padding: 26px 28px 18px; }
  .modal.pc-terms-modal .pc-terms-title { gap: 10px; font: 800 22px/1.3 var(--pc-display, inherit); }
  .modal.pc-terms-modal .pc-terms-req { padding: 3px 10px; font-family: inherit; }
  .modal.pc-terms-modal .modal-header .btn-close { width: 38px; height: 38px; }
  .modal.pc-terms-modal .modal-body:not(:has(iframe)) { padding: 28px 40px 36px !important; }
  .modal.pc-terms-modal .agree-body h2 { margin: 28px 0 14px; padding: 11px 16px; font-size: 18px; }
  .modal.pc-terms-modal .agree-body h4 { margin: 24px 0 10px; font-size: 16px; }
  .modal.pc-terms-modal .agree-body p, .modal.pc-terms-modal .agree-body li { font-size: 15px; line-height: 1.8; }
  .modal.pc-terms-modal .agree-body > p:first-child { padding: 14px 18px; }
  .modal.pc-terms-modal .pc-terms-foot { padding: 16px 28px 20px; }
  .modal.pc-terms-modal .pc-terms-ok { width: 240px; height: 52px; }
}

/* =====================================================================
   [모바일 포함 · 전 화면 폭] 골프예약 상세 일정·지역·코스 아이콘
   공통 img{display:block} 때문에 아이콘이 글자 위 줄로 올라가던 것을 글자 왼쪽 같은 줄로.
   (2026-11-10 사용자 요청으로 모바일도 수정 — 미디어쿼리 밖 규칙)
   ===================================================================== */
.site-body:has(#rs_form) .list-group-clear .list-group-item { display: flex; align-items: center; gap: 6px; }
.site-body:has(#rs_form) .list-group-clear .list-group-item > span:first-child { flex: none; margin: 0 !important; }
.site-body:has(#rs_form) > .section-area:nth-of-type(1) h4 { display: flex; align-items: center; gap: 6px; }  /* 골프장명 앞 달력 아이콘도 같은 줄로 */
