@charset "UTF-8";
/* CSS Document */

/*

golfstar-components.css

메뉴/기능별 전용 스타일

finder(회원지도), 쿠폰, 스탬프, 미니클럽, 매치, 광고슬롯 등

예:

.gs-finder ...

.gs-coupon ...

.gs-clubhouse ...

.gs-activity ...

각 섹션을 이런 식으로 구분해두면 좋아:

Finder (회원지도)
.gs-finder { ... }

Coupon / Stamp 
.gs-coupon { ... }


👉 특정 메뉴에만 쓰이는 스타일은 다 여기로 몰자.
*/

/* ================== 공통 CSS 변수 ================== */
:root {
  /* 기본 색상/배경 */
  --card: #fff;
  --card-soft: #f9fafb;
  --border: #e5e7eb;
  --fg: #111827;
  --muted: #6b7280;
  --backdrop: rgba(15,23,42,0.55);
  --accent: #2563eb;

  /* 라인/브랜드 */
  --line: rgba(148,163,184,0.24);
  --brand: #2563eb;

  /* GolfStar 전용 컬러/섀도우 */
  --gs-primary: #0ea5e9;
  --gs-secondary: #22c55e;
  --gs-text-main: #111827;
  --gs-text-muted: #6b7280;
  --gs-border-soft: rgba(148,163,184,0.25);
  --gs-shadow-soft: 0 10px 30px rgba(15,23,42,0.12);

  /* Radial / safe-area */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dial-size: 260px;
  --expose-gap: 0px;
  --peek: 26px;
  --dot-offset: 18px;

  /* Swipe menu용 */
  --gs-z: 5000;
  --gs-overlay: rgba(15,23,42,0.45);
  --gs-menu-bg: #020617;
  --gs-menu-fg: #e5e7eb;
  --gs-shadow: 0 20px 60px rgba(0,0,0,.5);
  --gs-radius: 16px;
  --gs-item-h: 44px;
  --gs-accent: #38bdf8;
  --gs-edge: 18px;
  --gs-tab-h: 72px;
  --gs-tab-w: 20px;
}


/* ========== ME MODAL (me_modal.php) ========== */

html.gs-modal-open,
body.gs-modal-open{
  overflow: hidden;
}

/* 🔁 여기부터는 .gs-me-sheet 로만 스타일 적용 */
.gs-me-sheet{
  position:relative !important;
  z-index:1;
  background:#ffffff;
  border-radius:24px;
  box-shadow:0 24px 60px rgba(15,23,42,.28);
  display:flex;
  flex-direction:column;
  width:100% !important;
  max-width:780px;
  margin:20px;
  max-height:calc(100vh - 80px);
  height:auto;
  transform:translateY(16px);
  opacity:0;
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    opacity .22s ease-out;
  overflow:hidden;      /* 모달 자체는 높이 넘치면 잘라버림 */
}
.brand-layer.active .gs-me-sheet{
  transform:translateY(0);
  opacity:1;
}
.gs-me-sheet.closing{
  transform:translateY(16px);
  opacity:0;
}

/* 그립 (장식) */
.brand-grip{
  border:0;
  background:transparent;
  padding:8px 0 4px;
  display:flex;
  justify-content:center;
  cursor:default;
}
.brand-grip-bar{
  width:46px;
  height:4px;
  border-radius:999px;
  background:rgba(148,163,184,.9);
}

/* 내부 스크롤 영역 */
.me-main{
  flex:1 1 auto;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  min-height:0;
}

/* 상단 메뉴 — Instagram 스타일 */
.me-bottom-nav{
  flex:0 0 auto;
  margin-top:8px;
  padding:10px 6px 6px;
  border-top:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  border-radius:16px;
  background:
    radial-gradient(circle at 0 0, rgba(244,114,182,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(56,189,248,0.16), transparent 55%),
    rgba(15,23,42,0.82);
  box-shadow:
    0 12px 30px rgba(15,23,42,0.55),
    0 0 0 1px rgba(148,163,184,0.35);
}

/* 버튼 기본 스타일 */
.me-bottom-nav .me-btn{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:4px;

  padding:10px 6px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.35);

  font-size:12px;
  line-height:1.3;
  text-decoration:none;
  color:#e5e7eb;

  background:linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,23,42,0.86));
  box-shadow:0 8px 18px rgba(15,23,42,0.55);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

/* 버튼 테두리 하이라이트 (가느다란 그라데이션 링) */
.me-bottom-nav .me-btn::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,
    rgba(244,114,182,0.9),
    rgba(129,140,248,0.9),
    rgba(45,212,191,0.9)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:opacity 0.2s ease;
}

/* 아이콘 */
.me-bottom-nav .me-btn i{
  margin:0;
  font-size:15px;
  filter:drop-shadow(0 0 6px rgba(59,130,246,0.65));
}

/* 텍스트 */
.me-bottom-nav .me-btn span{
  display:block;
  margin-top:2px;
  font-weight:500;
  letter-spacing:0.01em;
}

/* hover / focus 효과 */
.me-bottom-nav .me-btn:hover,
.me-bottom-nav .me-btn:focus-visible{
  transform:translateY(-1px);
  background:linear-gradient(135deg,
    rgba(30,64,175,0.98),
    rgba(8,47,73,0.98)
  );
  box-shadow:0 12px 26px rgba(15,23,42,0.8);
  border-color:transparent;
  color:#f9fafb;
}
.me-bottom-nav .me-btn:hover::before,
.me-bottom-nav .me-btn:focus-visible::before{
  opacity:0.9;
}

/* active(꾹 눌렀을 때) */
.me-bottom-nav .me-btn:active{
  transform:translateY(1px) scale(0.98);
  box-shadow:0 6px 14px rgba(15,23,42,0.7);
}

/* 화면 크기별 버튼 개수 조정 */
@media (min-width:480px){
  .me-bottom-nav{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
@media (min-width:768px){
  .me-bottom-nav{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

/* 기존 모바일 시트 스타일은 그대로 유지 */
@media (max-width:767px){
  .gs-me-sheet{
    margin:10px;
    max-height:calc(100vh - 40px);
    border-radius:18px;
  }
}


/* --- 요약 블록/카드 --- */
.me-block{
  margin-top:14px;
  padding:12px 12px 10px;
  border-radius:14px;
  background:#f8fafc;
}
.me-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:6px;
}
.me-block-head h3{
  font-size:14px;
  font-weight:600;
}
.me-block-count{
  font-size:12px;
  color:#64748b;
}
.me-empty{
  font-size:13px;
  color:#94a3b8;
  padding:6px 2px 2px;
}
.me-list-cards{
  list-style:none;
  margin:4px 0 0;
  padding:0;
}

/* me-card 레이아웃: 우측 끝 버튼 배치 */
.me-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.me-card-info{
  flex:1;
  min-width:0;
}

/* LV: 닉네임 옆 텍스트 + 아이콘 */
.me-names{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.me-level-inline{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:13px;
  font-weight:800;
  color:#111827;
}
.me-level-inline i{font-size:14px; opacity:.9;}

/* 칩 내부 버튼 */
.me-chip-action{display:inline-flex; align-items:center; gap:8px;}
.me-chip-action strong{font-weight:800;}
.me-chip-link{
  font-weight:800;
  color:#111827;
  text-decoration:none;
}
.me-chip-link:hover{text-decoration:underline;}

.me-chip-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.35);
  background:rgba(37,99,235,.10);
  color:#2563eb;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  line-height:1;
}
.me-chip-btn:hover{background:rgba(37,99,235,.16);}

.me-quick-actions{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}

.me-quick-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:30px;
  padding:5px 20px;
  border-radius:15px;
  border:2px solid rgba(0,0,0,.35);
  background:rgba(0,0,0,.10);
  color:#333;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  line-height:1;
}

.me-quick-btn:hover{
  background:rgba(0,0,0,.16);
}

/* ✅ 광고센터 우측 끝으로 밀기 */
.me-quick-btn-right{
  margin-left:auto;
}

.me-quick-btn-danger{
  border:2px solid rgba(239,68,68,.35);
  background:rgba(239,68,68,.10);
  color:#ef4444;
}
.me-quick-btn-danger:hover{
  background:rgba(239,68,68,.16);
}

/* ✅ 나의클럽: 우측 끝 네모 버튼 */
.me-club-square{
  margin-left:auto;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 14px;
  border-radius:8px; /* 네모 느낌(살짝만 라운드) */
  border:1px solid rgba(37,99,235,.35);
  background:#ffffff;
  color:#2563eb;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  white-space:nowrap;
}
.me-club-square:hover{background:rgba(37,99,235,.06);}



.me-card-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  padding:6px 4px;
  border-top:1px solid rgba(148,163,184,.25);
}
.me-card-item:first-child{ border-top:0; }
.me-card-main{
  flex:1 1 auto;
  min-width:0;
}
.me-card-title{
  font-size:13px;
  font-weight:500;
  margin-bottom:2px;
  word-break:break-all;
}
.me-card-title a{
  color:inherit;
  text-decoration:none;
}
.me-card-title a:hover{ text-decoration:underline; }
.me-card-meta{
  font-size:12px;
  color:#64748b;
}
.me-card-status{
  margin-left:6px;
  font-weight:500;
}
.me-card-actions{
  flex:0 0 auto;
}
.me-pill-btn{
  display:inline-block;
  padding:4px 8px;
  font-size:11px;
  border-radius:999px;
  border:1px solid #cbd5f5;
  background:#e5edff;
  color:#1d4ed8;
  text-decoration:none;
  white-space:nowrap;
}
.me-pill-btn:hover{
  background:#dbe4ff;
}
.me-more{
  margin-top:6px;
  text-align:right;
  font-size:12px;
}
.me-more a{
  color:#4b5563;
  text-decoration:underline;
}




/* ========== Finder (finder.php) ========== */

/* 전체 래퍼 (최종 정의 기준) */
body.golfstar .gs-finder {
  width: 100%;
  margin: 0 auto;
  padding: 16px 0;
}

/* 툴바 / 버튼 / 상태 텍스트 */
body.golfstar .gs-finder .toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
body.golfstar .gs-finder .btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
body.golfstar .gs-finder .btn:hover {
  background: #f7f7f7;
}
body.golfstar .gs-finder .muted {
  color: #777;
  font-size: 13px;
}
body.golfstar .gs-finder .chip {
  padding: 6px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fafafa;
}
body.golfstar .gs-finder .sep {
  width: 1px;
  height: 20px;
  background: #eee;
  margin: 0 6px;
}

/* 지도 / 잠금 / 반경 이탈 팝업 (최종) */
body.golfstar .gs-finder #map {
  width: 100%;
  height: 75vh;
  position: relative;
}
body.golfstar .gs-finder #lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 10;
}
body.golfstar .gs-finder #popup {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .72);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  display: none;
  z-index: 20;
}

/* 레이어 팝업(상세/예약/채팅) */
body.golfstar .gs-finder #layer-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .35);
}
body.golfstar .gs-finder #layer-card {
  width: 480px;
  max-width: 92vw;
  max-height: 88vh;
  background: #fff;
  border-radius: 12px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
body.golfstar .gs-finder #layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}
body.golfstar .gs-finder #layer-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}
body.golfstar .gs-finder #layer-body {
  padding: 14px 12px;
  position: relative;
}
body.golfstar .gs-finder .layer-body {
  width: 100%;
  height: 50vh;
}
body.golfstar .gs-finder #memoFrame {
  width: 100%;
  height: 100%;
  display: none;
  border: 0;
}
body.golfstar .gs-finder #prebizBox {
  display: none;
}

/* 카드 기본 */
body.golfstar .gs-finder .card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
body.golfstar .gs-finder .card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
body.golfstar .gs-finder .card .meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
body.golfstar .gs-finder .card .nick {
  font-weight: 700;
  font-size: 13px;
  color: #111827;
}
body.golfstar .gs-finder .card .dist {
  font-size: 12px;
  color: #6b7280;
}

/* 미니 카드(썸네일+닉네임만) */
body.golfstar .gs-finder .card.mini {
  padding: 4px 6px;
}
body.golfstar .gs-finder .card.mini .avatar {
  width: 30px;
  height: 30px;
}
body.golfstar .gs-finder .card.mini .dist {
  display: none;
}

/* 점+닉네임(라벨)용 */
body.golfstar .gs-finder .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111827;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}
body.golfstar .gs-finder .name-label {
  background: #111827;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 2px;
  white-space: nowrap;
}

/* 나(내 썸네일 + '나' 라벨) */
body.golfstar .gs-finder .card.me {
  border-color: #adf81e !important;
}
body.golfstar .gs-finder .card.me .me-badge {
  display: block;
  background: #111827;
  color: #fff;
  border-radius: 6px;
  margin: 4px auto 0;
  padding: 2px 6px;
  font-size: 12px;
  text-align: center;
  position: absolute;
  bottom: -20px;
}

/* 클릭시 맨 위로 + 강조(반짝임) */
body.golfstar .gs-finder .card.is-active {
  border-color: #0ea5e9;
  animation: gs-finder-blink 1.2s ease-in-out infinite;
}
@keyframes gs-finder-blink {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(14,165,233,.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(14,165,233,.12);
  }
}

/* 권역 집계 원(지역명:숫자) */
body.golfstar .gs-finder .region-bubble {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(37,99,235,.85);
  color: #fff;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  text-align: center;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  pointer-events: none;
  line-height: 1.2;
}
body.golfstar .gs-finder .region-bubble span {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
  font-size: 13px;
}



/* ========== ChatLayer (chatlayer/chat_layer.php) ========== */

/* finder.php 레이어팝업의 위치/크기와 동일하게 */
body.golfstar #chat-layer-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: normal;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.35);
  z-index: 9999;
  overflow: hidden; /* 바깥 스크롤 방지 */
}

/* 카드: 최대 600px, 뷰포트 작으면 92vh로 */
body.golfstar #chat-layer-card{
  width: min(95vw, 520px);
  height: min(92vh, 720px);   /* 높이 상한 가이드 */
  max-height: 600px;          /* 안전망 */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;           /* 카드 자체 스크롤 금지 */
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}

body.golfstar #chat-layer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0px 12px;
  position:relative;
  z-index:99;
}
body.golfstar #chat-layer-title{
  display:none;
  font-weight: 700;
  color: #111827;
  font-size: 15px;
}
body.golfstar #chat-layer-close{
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  position:absolute;
  top:10px;
  right:12px;
}

/* 본문: 내부 컨텐츠만 스크롤되도록 flex 컨테이너화 */
body.golfstar #chat-layer-body{
  flex: 1;
  min-height: 0;     /* 자식이 스크롤 먹도록 필수 */
  display: flex;
  background: #fff;
  overflow: hidden;  /* 본문 자체는 스크롤 감춤 */
}

/* 대화 iframe: 남은 높이를 꽉 채우고 스크롤은 iframe 내부(대화창)에서만 */
body.golfstar #chatlayerMemoFrame{
  display: none;     /* openMemo에서 보이게 */
  flex: 1;           /* 남은 공간 전부 차지 */
  width: 100%;
  height: 100%;
  border: 0;
}

/* 예비사업자 박스: 내용이 길어질 때만 내부 스크롤 */
body.golfstar #chatlayerPrebizBox{
  display: none;     /* openPrebiz에서 보이게 */
  flex: 1;
  min-height: 0;
  overflow: auto;    /* 컨텐츠 길 때에만 스크롤 */
}

/* ===== 예비사업자 뷰 ===== */
body.golfstar #chatlayerPrebizBox .chatlayer-prebiz-top{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
}
body.golfstar #chatlayerPrebizBox .prebiz-logo{
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border:1px solid #e5e7eb;
}
body.golfstar #chatlayerPrebizBox .prebiz-title{
  font-weight: 700;
  color:#111827;
}
body.golfstar #chatlayerPrebizBox .prebiz-sub{
  font-size: 12px;
  color:#6b7280;
  margin-top:2px;
}

body.golfstar #chatlayerPrebizBox .prebiz-section{
  padding: 12px;
  border-top: 1px dashed #eef2f7;
}
body.golfstar #chatlayerPrebizBox .prebiz-section.note{
  background: #eff6ff;
  border-top-color:#dbeafe;
  color:#1e3a8a;
  font-weight:600;
}
body.golfstar #chatlayerPrebizBox .prebiz-actions{
  display:flex;
  gap:8px;
  margin-top:8px;
}

/* 버튼은 ChatLayer 카드 내부에서만 사용되도록 스코프 제한 */
body.golfstar #chat-layer-card .btn,
body.golfstar #chat-layer-card .btn-primary,
body.golfstar #chat-layer-card .btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 12px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
}
body.golfstar #chat-layer-card .btn-primary{
  border-color:#2563eb;
  color:#fff;
  background:#2563eb;
}
body.golfstar #chat-layer-card .btn-ghost{
  border-color:#cbd5e1;
  background:#fff;
  color:#0f172a;
}

body.golfstar #chat-layer-card .bizcert-status{
  margin-top:6px;
  font-size:13px;
  color:#475569;
}
body.golfstar #chat-layer-card .bizcert-status.ok{
  color:#065f46;
}
body.golfstar #chat-layer-card .bizcert-status.warn{
  color:#b45309;
}

/* 예약 리스트 */
body.golfstar #chat-layer-card .reserve-list-header,
body.golfstar #chat-layer-card .reserve-item{
  display:grid;
  grid-template-columns: 56px 1fr 80px 110px;
  gap: 8px;
  align-items:center;
  padding:6px 4px;
}
body.golfstar #chat-layer-card .reserve-list-header{
  border-bottom:1px solid #e5e7eb;
  font-weight:700;
  color:#374151;
}
body.golfstar #chat-layer-card .reserve-item + .reserve-item{
  border-top:1px dashed #e5e7eb;
}
body.golfstar #chat-layer-card .reserve-num,
body.golfstar #chat-layer-card .reserve-date{
  color:#6b7280;
  font-size:12px;
}
body.golfstar #chat-layer-card .reserve-thumb img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #e5e7eb;
}
body.golfstar #chat-layer-card .paging-center{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:8px;
}
body.golfstar #chat-layer-card .muted{
  color:#6b7280;
  font-size:12px;
}

/* 반응형 */
@media (max-width: 380px){
  body.golfstar #chat-layer-card{
    height: min(92vh, 620px);
  }
  body.golfstar #chat-layer-card .reserve-list-header,
  body.golfstar #chat-layer-card .reserve-item{
    grid-template-columns: 42px 1fr 60px 90px;
  }
}



/* ========== Biz Certification Consult Form (bizCertification) ========== */

body.golfstar .gs-consult-form {
  margin: 0;
}

body.golfstar .gs-consult-card {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 18px 18px 20px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--gs-border-soft);
  box-shadow: var(--gs-shadow-soft);
}

/* 헤더 */
body.golfstar .gs-consult-header {
  margin-bottom: 14px;
}

body.golfstar .gs-consult-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14,165,233,0.1);
  color: var(--gs-primary);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
}

body.golfstar .gs-consult-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gs-text-main);
  margin: 0 0 4px;
}

body.golfstar .gs-consult-desc {
  margin: 0;
  font-size: 13px;
  color: var(--gs-text-muted);
}

/* 필드 영역 */
body.golfstar .gs-consult-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.golfstar .gs-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.golfstar .gs-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gs-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

body.golfstar .gs-required {
  color: #f97316;
  font-weight: 700;
}

body.golfstar .gs-field-key {
  font-size: 11px;
  color: var(--gs-text-muted);
  background: rgba(148,163,184,0.18);
  padding: 2px 6px;
  border-radius: 999px;
}

body.golfstar .gs-field-optional {
  font-size: 11px;
  font-weight: 500;
  color: var(--gs-text-muted);
}

body.golfstar .gs-field-hint {
  font-size: 11px;
  color: var(--gs-text-muted);
  margin: 2px 0 0;
}

/* 입력 요소 */
body.golfstar .gs-input,
body.golfstar .gs-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--gs-border-soft);
  padding: 9px 11px;
  font-size: 14px;
  background: rgba(255,255,255,0.98);
  color: var(--gs-text-main);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

body.golfstar .gs-input:focus,
body.golfstar .gs-textarea:focus {
  outline: none;
  border-color: var(--gs-primary);
  box-shadow: 0 0 0 1px rgba(14,165,233,0.16);
  background: #ffffff;
}

body.golfstar .gs-textarea {
  resize: vertical;
  min-height: 96px;
}

/* 파일 입력 */
body.golfstar .gs-input-file {
  width: 100%;
  border-radius: 12px;
  border: 1px dashed var(--gs-border-soft);
  padding: 8px 10px;
  font-size: 13px;
  background: #f9fafb;
}

/* 하단 안내 */
body.golfstar .gs-consult-note {
  font-size: 12px;
  color: #f97316;
  margin: 4px 0 0;
}

/* 캡챠 + 개인정보 동의 + 버튼 */
body.golfstar .gs-consult-footer {
  margin-top: 16px;
  border-top: 1px solid rgba(148,163,184,0.24);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.golfstar .gs-consult-captcha-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.golfstar .gs-consult-captcha {
  font-size: 12px;
}

/* 개인정보 동의 체크박스 */
body.golfstar .gs-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--gs-text-muted);
}

body.golfstar .gs-checkbox-row input[type="checkbox"] {
  margin-top: 2px;
}

body.golfstar .gs-privacy-link {
  color: var(--gs-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 제출 버튼 */
body.golfstar .gs-consult-submit {
  margin-top: 4px;
}

body.golfstar .gs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gs-primary), var(--gs-secondary));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--gs-shadow-soft);
  transition: filter .15s ease, transform .08s ease, box-shadow .08s ease;
}

body.golfstar .gs-btn-primary:hover {
  filter: brightness(1.04);
}

body.golfstar .gs-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(15,23,42,0.18);
}

/* 반응형 */
@media (max-width: 480px) {
  body.golfstar .gs-consult-card {
    padding: 16px 14px 18px;
    border-radius: 16px;
  }
}



/* === iOS 스타일 스위치 === */
.ios-switch{
  display:inline-flex;
  align-items:center;
  gap:8px;
  user-select:none;
  cursor:pointer;
  font-size:12px;
  color:var(--muted);
}
.ios-switch input{display:none;}
.ios-switch .track{
  position:relative;
  width:50px;
  height:28px;
  border-radius:999px;
  background:#cbd5e1;
  transition:.2s;
  border:1px solid var(--line);
}
html[data-theme="dark"] .ios-switch .track{background:#1f2937;}
.ios-switch .thumb{
  position:absolute;
  top:2px;
  left:2px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  transition:.2s;
  box-shadow:0 2px 4px rgba(0,0,0,.2);
}
.ios-switch input:checked + .track .thumb{
  transform:translateX(22px);
}
.ios-switch input:checked + .track{
  background:var(--brand);
}
.ios-switch .label .sun{margin-right:4px;}
.ios-switch .label .moon{margin-left:4px;}



/* === GS 스탯 카드 === */
.profile{
  margin:15px 0;
  background:#f3fcfd;
  overflow:hidden;
  padding:25px;
  border-radius:30px;
}
.profile-info img{border-radius:15px;}
.profile-text p b{
  font-size:120%;
  font-weight:bold;
}
.gs-wrap{
  margin-top:8px;
  padding:10px 12px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 6px 14px rgba(0,0,0,.05);
  max-width:560px;
}
.gs-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.gs-title{
  font-weight:900;
  color:#111827;
}
.gs-level{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:linear-gradient(90deg,#10b981,#0ea5e9);
  color:#fff;
  font-weight:900;
  font-size:12px;
}
.gs-bars{display:grid; gap:6px;}
.gs-row{
  display:grid;
  grid-template-columns:64px 1fr 44px;
  gap:8px;
  align-items:center;
}
.gs-name{
  color:#6b7280;
  font-size:13px;
}
.gs-track{
  position:relative;
  height:10px;
  background:#eef2f7;
  border-radius:999px;
  overflow:hidden;
}
.gs-fill{
  position:absolute;
  inset:0;
  width:0;
  background:linear-gradient(90deg,#f59e0b,#fde68a);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);
  transition:width .5s ease;
}
.gs-val{
  text-align:right;
  font-weight:800;
  color:#111827;
  font-variant-numeric:tabular-nums;
}
.gs-foot{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#6b7280;
  font-size:12px;
}
.gs-total b{color:#111827;}



/* ===== Radial jog dial (bottom half circle) ===== */
.radial{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:calc(-1 * var(--dial-size) / 2 + var(--expose-gap));
  width:var(--dial-size);
  height:var(--dial-size);
  z-index:9000;
  pointer-events:none;
  transition:left .25s cubic-bezier(.2,.8,.2,1),
             transform .25s cubic-bezier(.2,.8,.2,1),
             bottom .35s cubic-bezier(.2,.8,.2,1);
  will-change:left,transform,bottom;
}
.radial.pos-center{
  left:50%;
  transform:translateX(-50%);
  bottom:calc(-1 * var(--dial-size) / 2 + var(--expose-gap) + 30px);
}
.radial.pos-left{
  left:0%;
  transform:translateX(-50%);
  bottom:calc(-1 * var(--dial-size) / 2 + var(--expose-gap) + 30px);
}
.radial.pos-right{
  left:100%;
  transform:translateX(-50%);
  bottom:calc(-1 * var(--dial-size) / 2 + var(--expose-gap) + 30px);
}
.radial.is-collapsed{
  bottom:calc(-1 * var(--dial-size) + var(--peek));
}
.radial-viewport{
  position:absolute;
  inset:0;
  border-radius:50%;
  overflow:hidden;
  pointer-events:auto;
  touch-action:none;
  cursor:grab;
}
.radial-viewport.dragging{ cursor:grabbing; }

.radial-top-dot{
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#000;
  box-shadow:0 0 0 rgba(37,99,235,0);
  pointer-events:none;
  z-index:4;
  opacity:1;
  transition:background .12s ease,
             box-shadow .12s ease,
             transform .12s ease,
             opacity .2s ease,
             left .2s ease,
             top .2s ease;
}
.radial.pos-center .radial-top-dot{
  left:50%;
  top:calc(-1 * var(--dot-offset) - 2.5px);
  transform:translateX(-50%);
}
.radial.pos-left .radial-top-dot{
  left:calc(100% + var(--dot-offset));
  top:50%;
  transform:translateY(-50%);
}
.radial.pos-right .radial-top-dot{
  left:calc(-1 * var(--dot-offset));
  top:50%;
  transform:translateY(-50%);
}
.radial-top-dot.active{
  background:var(--accent);
  box-shadow:0 0 8px rgba(37,99,235,.45);
  transform:scale(1.05) translateZ(0);
}
.radial.is-collapsed .radial-top-dot{ opacity:.85; }

.jog-dial{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:conic-gradient(
    hsl(74.36deg, 12.38%, 65.19%),
    hsl(0deg,0%,91.72%),
    hsl(0deg,0%,95.32%),
    hsl(96.76deg,10.53%,61.79%),
    hsl(124.7deg,13.52%,72.85%),
    hsl(0deg,0%,96.37%),
    hsl(0deg,0%,99.8%),
    hsl(73.25deg,21.84%,71.66%),
    hsl(60.31deg,7.49%,64.58%)
  );
  border:1px solid #575757;
  box-shadow:
    0 0 0 1.5px #fff,
    -3px 2px 4px 5px rgba(0,0,0,.56),
    -0.5px 0.5px 0 5px #fff;
  will-change:transform;
  transform:translateZ(0) rotate(0deg);
}
.jog-dial::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:50%;
  box-shadow:
    inset 0 12px 24px rgba(0,0,0,.35),
    inset 0 -8px 16px rgba(255,255,255,.25);
  opacity:0;
  transition:opacity .12s ease;
  pointer-events:none;
}
.jog-dial.pressed{
  transform:translateZ(0) translateY(2px) scale(0.998)
             rotate(var(--angle,0deg));
}
.jog-dial.pressed::after{ opacity:1; }

.ticks{
  position:absolute;
  inset:0;
  list-style:none;
  margin:0;
  padding:0;
  z-index:2;
}
.ticks li{
  position:absolute;
  left:50%;
  top:50%;
  width:3px;
  height:6px;
  border-radius:2px;
  background:#d1dee2;
  transform-origin:center center;
  box-shadow:0 1px 0 rgba(255,255,255,.15);
  transition:height .08s ease,
             background .08s ease,
             box-shadow .12s ease;
}
[data-theme="dark"] .ticks li{
  background:rgba(255,255,255,.8);
  box-shadow:0 1px 0 rgba(0,0,0,.35);
}
.ticks li.active{
  background:var(--accent);
  height:8px;
  box-shadow:0 0 8px rgba(37,99,235,.45);
}
[data-theme="dark"] .ticks li.active{
  box-shadow:0 0 8px rgba(59,130,246,.55);
}

/* 라벨은 Dock만 쓰고, 개별 라벨은 숨김 */
.radial-label{ display:none !important; }

.radial-label-dock{
  position:fixed;
  left:50%;
  bottom:calc(16px + var(--safe-bottom));
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  font-weight:800;
  font-size:13px;
  color:var(--fg);
  background:var(--card);
  border:1px solid var(--border);
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  cursor:pointer;
  z-index:9500;
  transition:transform .06s ease,
             background .15s ease,
             border-color .15s ease,
             box-shadow .15s ease,
             color .15s ease,
             opacity .2s ease;
}
.radial-label-dock:hover{
  background:var(--card-soft);
  border-color:var(--accent);
  color:var(--accent);
  box-shadow:0 4px 16px rgba(0,0,0,.10);
  transform:translateX(-50%) translateY(1px);
}
.radial-label-dock:active{
  transform:translateX(-50%) translateY(2px);
}



/* ===== Bottom bar ===== */
.gs-bottom-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:calc(58px + var(--safe-bottom));
  padding-bottom:var(--safe-bottom);
  background:var(--card);
  border-top:1px solid var(--border);
  display:none;
  z-index:3400;
}
.gs-bottom-bar .inner{
  height:58px;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:1fr;
  align-items:stretch;
}
.gs-bottom-bar a{
  text-decoration:none;
  color:var(--fg);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:11px;
  font-weight:700;
}
.gs-bottom-bar a .ico{
  font-size:18px;
  line-height:1;
}
.gs-bottom-bar a.active{
  color:var(--accent);
}
.gs-bottom-bar a.active .ico{
  transform:translateY(-1px);
}
.gs-bottom-placeholder{
  height:calc(58px + var(--safe-bottom));
}



/* ===== Preference sheet ===== */
.pref-layer{
  position:fixed;
  inset:0;
  display:none;
  z-index:100000;
}
.pref-layer.active{ display:block; }

.pref-backdrop{
  position:absolute;
  inset:0;
  background:var(--backdrop);
  opacity:0;
  transition:opacity .2s ease;
}
.pref-layer.active .pref-sheet{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}

.pref-sheet{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%) translateY(20px);
  width:clamp(320px,96vw,520px);
  background:var(--card);
  color:var(--fg);
  border:1px solid var(--border);
  border-bottom:0;
  border-top-left-radius:16px;
  border-top-right-radius:16px;
  box-shadow:0 -12px 40px rgba(0,0,0,.28);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
  padding:14px 14px calc(14px + var(--safe-bottom));
}
.pref-title{
  font-weight:800;
  margin-bottom:10px;
}
.pref-row{
  display:flex;
  gap:8px;
  margin-bottom:8px;
  align-items:center;
}
.pref-row label{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.pref-row input{
  width:16px;
  height:16px;
}
.pref-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:10px;
}
.pref-btn{
  height:40px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--fg);
  padding:0 14px;
  font-weight:800;
}
.pref-btn.primary{
  border-color:var(--accent);
  color:var(--accent);
}



/* ===== Swipe menu ===== */
.gs-swipe{
  position:fixed;
  inset:0;
  z-index:var(--gs-z);
  pointer-events:none;
}
.gs-swipe.open{ pointer-events:auto; }

.gs-swipe-backdrop{
  position:fixed;
  inset:0;
  background:var(--gs-overlay);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.gs-swipe.open .gs-swipe-backdrop{
  opacity:1;
  pointer-events:auto;
}

.gs-swipe-panel{
  position:fixed;
  top:0;
  height:100vh;
  width:320px;
  background:var(--gs-menu-bg);
  color:var(--gs-menu-fg);
  box-shadow:var(--gs-shadow);
  border-radius:0 var(--gs-radius) var(--gs-radius) 0;
  transform:translateX(-100%);
  transition:transform .28s ease;
  display:flex;
  flex-direction:column;
  will-change:transform;
}
.gs-swipe[data-side="right"] .gs-swipe-panel{
  right:0;
  left:auto;
  border-radius:var(--gs-radius) 0 0 var(--gs-radius);
  transform:translateX(100%);
}
.gs-swipe[data-side="left"] .gs-swipe-panel{ left:0; }

.gs-swipe-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.gs-title{ font-size:16px; }

.gs-btn-close{
  all:unset;
  cursor:pointer;
  padding:6px 8px;
  border-radius:8px;
}
.gs-btn-close:hover{
  background:rgba(255,255,255,.06);
}

.gs-swipe-nav{
  padding:8px 8px 12px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.gs-swipe-list{
  list-style:none;
  margin:0;
  padding:0;
}
.gs-swipe-list li a{
  display:flex;
  align-items:center;
  height:var(--gs-item-h);
  padding:0 12px;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
}
.gs-swipe-list li a:hover,
.gs-swipe-list li a:focus{
  outline:none;
  background:rgba(255,255,255,.06);
}
.gs-swipe-list li a:focus-visible{
  box-shadow:0 0 0 2px var(--gs-accent) inset;
}

.gs-swipe-footer{
  margin-top:auto;
  padding:12px 16px;
  opacity:.7;
}

/* Edge & Tab trigger */
.gs-swipe-edge{
  position:fixed;
  top:0;
  height:100vh;
  width:var(--gs-edge);
  pointer-events:auto;
}
.gs-swipe[data-side="left"] .gs-swipe-edge{ left:0; }
.gs-swipe[data-side="right"] .gs-swipe-edge{ right:0; }

.gs-swipe-tab{
  position:fixed;
  top:calc(50vh - var(--gs-tab-h)/2);
  width:var(--gs-tab-w);
  height:var(--gs-tab-h);
  border:none;
  padding:0;
  margin:0;
  background:rgba(44,162,248,.25);
  color:transparent;
  border-radius:0 8px 8px 0;
  cursor:pointer;
  pointer-events:auto;
}
.gs-swipe[data-side="left"] .gs-swipe-tab{ left:0; }
.gs-swipe[data-side="right"] .gs-swipe-tab{
  right:0;
  transform:scaleX(-1);
  border-radius:8px 0 0 8px;
}
.gs-swipe-tab .gs-tab-dots{
  display:block;
  width:4px;
  height:36px;
  margin:0 auto;
  border-radius:999px;
  background:rgba(255,255,255,.6);
}
.gs-swipe-tab:hover{
  background:rgba(0,0,0,.35);
}
.gs-swipe.open .gs-swipe-panel{ transform:translateX(0); }

body.gs-no-scroll{ overflow:hidden; }

/* stacking fix */
.gs-swipe-panel{ z-index:30; }
.gs-swipe-backdrop{ z-index:20; }
.gs-swipe-tab{ z-index:40; }
.gs-swipe-edge{ z-index:10; }
.gs-swipe.open .gs-swipe-edge{ pointer-events:none; }
.gs-swipe.open .gs-swipe-tab{
  pointer-events:none;
  opacity:0;
  transition:opacity .15s ease;
}



/* ===== Me modal (내 정보) · brand-layer 통합 버전 ===== */

/* overlay */
.brand-layer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  opacity:0;
  pointer-events:none;
  align-items:center;
  justify-content:center;
  transition:opacity .24s ease-out;
}
.brand-layer.active{
  display:flex;
  opacity:1;
  pointer-events:auto;
}

/* backdrop */
.brand-backdrop{
  position:absolute;
  inset:0;
  background:var(--backdrop);
  opacity:0;
  transition:opacity .25s ease;
}
.brand-layer.active .brand-backdrop{ opacity:1; }

/* 중앙 모달 시트 */
.brand-sheet{
  position:absolute;
  left:50%;
  top:50%;
  width:clamp(320px, 92vw, 600px);
  max-height:86vh;
  overflow:auto;
  background:var(--card);
  color:var(--fg);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  transform:translate(-50%,-50%) translateY(40px);
  opacity:0;
  transition:transform .28s cubic-bezier(.2,.7,.2,1),
             opacity .28s ease;
}
.brand-layer.active .brand-sheet{
  transform:translate(-50%,-50%) translateY(0);
  opacity:1;
}
.brand-sheet.closing{
  transform:translate(-50%,-50%) translateY(40px);
  opacity:0;
}

/* 헤더/본문 */
.brand-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  background:var(--card-soft);
  border-top-left-radius:18px;
  border-top-right-radius:18px;
  position:sticky;
  top:0;
  z-index:1;
}
.brand-head strong{
  font-size:18px;
  font-weight:700;
}
.brand-close{
  background:none;
  border:0;
  color:inherit;
  font-size:20px;
  padding:4px 8px;
  cursor:pointer;
}
.brand-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:0;
  padding:16px 18px 20px;
}

/* LV: 닉네임 옆 텍스트 배지 */
.me-names{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.me-level-inline{
  display:inline-flex; align-items:center; gap:5px;
  font-size:13px; font-weight:800; color:#111827;
}
.me-level-inline i{font-size:14px; opacity:.9;}

/* 프로필/포인트: 라운드박스 안에 버튼 */
.me-chip-action{display:inline-flex; align-items:center; gap:8px;}
.me-chip-action strong{font-weight:800;}

.me-chip-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:22px; padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.35);
  background:rgba(37,99,235,.10);
  color:#2563eb;
  font-size:12px; font-weight:800;
  text-decoration:none;
  line-height:1;
}
.me-chip-btn:hover{background:rgba(37,99,235,.16);}

/* Me 카드 내용 */
.me-card{
  display:grid;
  grid-template-columns:84px 1fr;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--card-soft);
  margin-bottom:14px;
}
.me-avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--border);
  background:#ddd;
}
.me-names{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px;
}
.me-nick{
  font-weight:800;
  font-size:16px;
}
.me-id{
  font-size:12px;
  color:var(--muted);
}
.me-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-top:6px;
  font-size:12px;
}
.me-chip{
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--card);
}

.me-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}
@media (max-width:767px){
  .me-actions{
    grid-template-columns:repeat(2,1fr);
  }
}
.me-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--fg);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:transform .06s ease,
             background .2s ease,
             box-shadow .2s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.03),
             inset 0 -1px 0 rgba(0,0,0,.02);
}
.me-btn:hover{ background:var(--card-soft); }
.me-btn:active{ transform:translateY(1px); }

.me-section-title{
  margin:12px 0 8px;
  font-size:13px;
  color:var(--muted);
}
.me-list{
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.me-list a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  color:var(--fg);
  text-decoration:none;
  border-top:1px solid var(--border);
  background:var(--card);
}
.me-list a:first-child{ border-top:0; }
.me-list a:hover{ background:var(--card-soft); }

/* Me 카드 내 GS 스탯 */
.me-gs{
  margin:10px 0 14px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--card-soft);
}
.me-gs-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.me-gs-title{ font-weight:800; }
.me-gs-level{
  font-weight:800;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--card);
}
.me-gs-bars{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}
.me-gs-row{
  display:grid;
  grid-template-columns:64px 1fr 44px;
  align-items:center;
  gap:8px;
}
.me-gs-name{
  font-size:12px;
  color:var(--muted);
  text-align:right;
}
.me-gs-track{
  position:relative;
  height:8px;
  border-radius:999px;
  background:#f1f5f9;
  overflow:hidden;
}
.me-gs-fill{
  position:absolute;
  inset:0;
  width:0%;
  background:linear-gradient(90deg,#60a5fa,#22d3ee);
}
.me-gs-val{
  font-size:12px;
  font-weight:700;
  text-align:right;
}
.me-gs-foot{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
}
[data-theme="dark"] .me-gs-track{ background:#1f2937; }
