/* =========================================================================
 *  /gifticon — 기프트 전환 페이지 (브랜드 블루 · tokens.css 기반)
 *  - 모든 셀렉터 .gft- 프리픽스
 *  - 로컬 --gft-* 토큰은 tokens.css 전역 토큰(var(--brand) 등)을 참조
 *  - 모달(.gft-modal)은 .gft-wrap 밖(단, list.skin.php 정적 마크업으로 #nt_body 내부)이라 토큰 스코프를 함께 확장
 * ========================================================================= */
.gft-wrap,
.gft-modal {
    --gft-primary:        var(--brand);
    --gft-primary-hover:  var(--brand-hover);
    /* --gft-primary-fg 삭제: 참조 0회 (2026-07-23 전수검증) */
    --gft-grad-start:     #3182f6;
    --gft-grad-end:       #0f4baf;
    --gft-bg:             var(--card);
    --gft-text:           var(--ink);    /* 1단계 */
    --gft-text-body:      var(--body);   /* 2단계 */
    --gft-text-sub:       var(--sub);    /* 3단계 */
    --gft-text-muted:     var(--muted);  /* 4단계 */
    --gft-border:         var(--line);
    --gft-border-strong:  var(--line-strong);  /* 진한 경계선 (모달 헤더 구분선 — exchange --ex-border-strong 미러) */
    --gft-soft-bg:        var(--field-bg);  /* 보조 패널 배경 (exchange --ex-soft-bg 미러) */
    --gft-stat-bg:        var(--brand-soft);
    --gft-stat-border:    rgba(39,113,227,.22);
    --gft-card-bg:        var(--card);
    --gft-chip-bg:        var(--brand-soft);
    --gft-chip-fg:        var(--brand);
    --gft-danger:         #ef4444;
    --gft-success:        #10b981;
    /* --gft-warning/--gft-info 삭제: 참조 0회 (2026-07-23 전수검증) */
}

.gft-wrap {
    /* 폭 제한 없음 — 자유게시판(.fb-wrap)과 동일하게 테마 컨테이너(nt-container 1100px) 폭을 그대로 쓴다.
       상하 여백은 전부 테마(py-3/py-sm-4)에 위임 — 자유게시판(.fb-wrap padding:0, 배너 margin-top:0)과 동일. */
    padding: 0;
    font-family: var(--font-ui);
    color: var(--gft-text);
    -webkit-font-smoothing: antialiased;
}

html.dark-mode .gft-wrap,
html.dark-mode .gft-modal {
    --gft-bg:          #1f2937;
    --gft-text:        #e5e7eb;
    --gft-text-body:   #c7ccd4;
    --gft-text-sub:    #9ca3af;
    --gft-text-muted:  #79828e;
    --gft-border:      #374151;
    --gft-border-strong: #374151;
    --gft-soft-bg:     #1f2937;
    --gft-dark-hi:     #c7d3e1;  /* 다크 강조 텍스트 (exchange --ex-dark-hi 미러) */
    --gft-stat-bg:     #1e2a3f;
    --gft-stat-border: #2e4a75;
    --gft-card-bg:     #2a2f3a;
    --gft-chip-bg:     #1e3a5f;
    --gft-chip-fg:     #93c5fd;
}

.gft-admin-row { padding: 0 4px 6px; }
/* 관리 버튼 — 포인트전환(exchange) `.ex-admin-row` 와 같은 형태/치수. 한쪽을 고치면 같이 본다. */
.gft-admin-row a.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    /* ⚠ `a.btn` + !important 필수 — 테마 custom-sidebar.css 의
       `.sbc-site-main .btn{border-radius:10px !important}`(0,2,0 !important)가 전역으로 걸려 있다.
       클래스만으로는 특이성이 같아 로드 순서에 좌우되므로 타입 셀렉터로 1 올려 확정한다. */
    border-radius: var(--r-6) !important;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    font-family: inherit;
    transition: background .12s, border-color .12s, color .12s;
}
.gft-admin-row a.btn-outline-secondary {
    background: #fff;
    color: var(--gft-text-body);
    border: 1px solid var(--gft-border);
}
/* hover 는 BS4 `.btn-outline-secondary:hover`(0,2,0)가 스킨 CSS 보다 뒤에 로드되므로
   반드시 그보다 높은 특이성으로 적는다 (exchange 주석과 동일 사유) */
.gft-admin-row a.btn-outline-secondary:hover {
    background: #F6F7F9;
    border-color: var(--gft-primary);
    color: var(--gft-primary);
}
.gft-admin-row a.btn:focus { box-shadow: none; } /* BS4 기본 .2rem 포커스 링 제거 */
/* 아이콘은 브랜드색 — exchange 와 동일 (채움 btn-primary 는 제외) */
.gft-admin-row .btn-outline-secondary .fa { color: var(--gft-primary); }

/* ---------- 헤더 ---------- */
.gft-header { padding: 4px 4px 16px; }
.gft-page-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--ink);
    line-height: 1.3;
}
.gft-page-sub {
    font-size: 13px;
    color: var(--gft-text-sub);
    margin: 0;
    line-height: 1.6;
}

/* ---------- 상단 2분할 그리드 (회원 전용) ---------- */
.gft-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 16px; /* 섹션 세로 리듬 16px 통일 (배너 margin-bottom 과 동일, DESIGN_SYSTEM §6 스케일 상한) */
    align-items: stretch;
}
.gft-grid-top > * { margin: 0; }
@media (max-width: 768px) {
    .gft-grid-top { grid-template-columns: 1fr; gap: 12px; }
}

/* 통합 요약 카드 (보유 + 누적 + 신청 대기중) */
/* 우측 참고사항 카드(.gft-notice-card)와 동일 스펙 — 흰 배경·표준 보더·카드 그림자 */
.gft-summary-card {
    background: var(--gft-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-card);
}
/* 2단 배치: 라벨(좌) 윗줄 / 값(우) 아랫줄 / 하단 실선으로 서브 지표와 구분 */
.gft-summary-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gft-border);
    position: relative;
}
.gft-summary-main-value { align-self: flex-end; }
.gft-summary-main-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 17px;
    font-weight: 600;
    color: var(--gft-text); /* 1단계 (강조) */
    letter-spacing: -0.01em;
}
/* 라인 스타일 P 코인 — 이용안내 카드 SVG 규격(40 viewBox·1.7 스트로크)과 동일 결, 브랜드 색 */
.gft-summary-ico {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: var(--gft-primary);
    /* 옵티컬 보정: 한글 라벨의 글리프 중심이 라인박스보다 살짝 낮아 아이콘을 1px 내려 맞춤
       (자유게시판 .fb-cmt-cnt top 보정과 동일 기법) */
    position: relative;
    top: 1px;
}
.gft-summary-ico svg { width: 28px; height: 28px; display: block; }
/* 섹션 타이틀용 아이콘 — 보유 포인트 P 코인과 동일 규격·보정 */
.gft-title-ico {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: var(--gft-primary);
    position: relative;
    top: 1px;
}
.gft-title-ico svg { width: 28px; height: 28px; display: block; }

/* 참고사항 접기/펼치기 토글 — 데스크톱에선 일반 타이틀(화살표 숨김·클릭 무효),
   모바일(≤768px)에서만 아코디언으로 동작 (기본 접힘) */
.gft-notice-toggle {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    cursor: default;
}
.gft-notice-arrow {
    display: none;
    flex: 0 0 auto;
    margin-left: auto;
    width: 18px;
    height: 18px;
    color: var(--gft-text-sub);
    transition: transform .15s;
}
.gft-notice-arrow svg { width: 18px; height: 18px; display: block; }
.gft-summary-ico text { font-family: var(--font-num); }
.gft-summary-main-value {
    font-family: var(--font-num);
    font-size: 24px; /* 디스플레이 스케일 스냅 (DESIGN_SYSTEM §2) */
    font-weight: 700;
    color: var(--gft-text); /* 1단계 */
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.gft-summary-main-value small {
    font-size: 15px; /* 단위는 숫자보다 한 단계 아래 — 수치가 주인공 */
    font-weight: 600;
    color: var(--gft-primary); /* 브랜드 */
    margin-left: 4px;
}
.gft-summary-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 14px;
    position: relative;
}
.gft-summary-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--gft-card-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-12);
}
.gft-summary-sub-body { flex: 1 1 auto; min-width: 0; }
.gft-summary-sub-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gft-text-sub); /* 3단계 */
    margin-bottom: 3px;
}
.gft-summary-sub-value {
    font-family: var(--font-num);
    font-size: 17px;
    font-weight: 700; /* 메인 값과 동일 두께 — 크기(24 vs 17)로 위계 구분 */
    color: var(--gft-text-body); /* 2단계 — 메인 값(1단계)보다 한 계단 아래 */
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gft-summary-sub-value small {
    font-size: 12px;
    color: var(--gft-text-sub);
    font-weight: 500;
    margin-left: 2px;
}
.gft-summary-dot {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    /* 라벨(13px, 기본 행간) 첫 줄의 시각 중심에 점 중심을 맞춤 */
    margin-top: 7px;
}
/* 신청 대기중 → 내역 바로가기 */
.gft-summary-history-link {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin-left: auto;
    /* 값(N건) 라인 우측에 붙도록 하단 정렬. 오프셋 0 이라야 값 줄박스 바닥과 링크 바닥이 맞는다
       (exchange .ex-summary-history-link 주석 참조 — 한쪽만 고치지 말 것) */
    align-self: flex-end;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gft-primary);
    white-space: nowrap;
    cursor: pointer;
}
.gft-summary-history-link:hover { color: var(--gft-primary-hover); }
.gft-summary-history-link span { font-size: 13px; line-height: 1; }

.gft-summary-dot-blue  { background: var(--gft-primary); }
.gft-summary-dot-gray  { background: var(--muted); }
.gft-summary-dot-pulse { animation: gft-summary-dot-pulse 1.6s ease-in-out infinite; }

/* 보유 포인트 카드 하단 CTA */
.gft-summary-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 16px 14px;
    width: 100%;
    background: var(--gft-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-12);
    color: var(--gft-text-body); /* exchange .ex-earn-link 와 동일 톤 (2단계 본문) */
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    font-family: inherit;
    text-align: left;
    position: relative;
}
.gft-summary-cta > span { flex: 1 1 auto; }
.gft-summary-cta .fa-info-circle { color: var(--gft-primary); } /* 아이콘만 포인트컬러 (exchange .ex-earn-link 동일) */
.gft-summary-cta:hover {
    /* 토토 상세 이용안내 카드(.vd-cat-btn:hover)와 동일한 중립 hover-lift */
    background: #FAFBFC;
    border-color: #C7D4E8;
    box-shadow: 0 4px 14px rgba(17,24,39,0.07);
    color: var(--gft-primary); /* exchange .ex-earn-link:hover 와 동일 */
}
html.dark-mode .gft-summary-cta:hover {
    background: var(--gft-card-bg);
    border-color: var(--gft-stat-border);
}
.gft-summary-cta-arrow {
    flex: 0 0 auto;
    color: var(--gft-text-sub);
    font-size: 14px;
}
.gft-summary-cta:hover .gft-summary-cta-arrow { color: var(--gft-primary); }

/* 적립 안내 모달 본문 */
.gft-earn-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}
.gft-earn-list li {
    padding: 12px 14px;
    margin: 0 0 8px;
    background: var(--gft-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.gft-earn-list li:last-child { margin-bottom: 0; }
.gft-earn-list strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--gft-text);
}
.gft-earn-list span {
    font-size: 12.5px;
    color: var(--gft-text-body); /* 2단계 — 본문 (vdim-list 와 동일 티어) */
    line-height: 1.5;
}
.gft-earn-footnote {
    margin: 8px 0 0;
    padding: 10px 12px;
    background: var(--gft-stat-bg);
    border-radius: var(--r-6);
    font-size: 12.5px;
    color: var(--gft-text-sub);
    text-align: center;
}
.gft-earn-footnote a {
    color: var(--gft-primary);
    font-weight: 700;
    text-decoration: none;
}
.gft-earn-footnote a:hover { text-decoration: underline; }
@keyframes gft-summary-dot-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(148, 163, 184, .55); }
    70%  { box-shadow: 0 0 0 6px rgba(148, 163, 184, 0);  }
    100% { box-shadow: 0 0 0 0   rgba(148, 163, 184, 0);  }
}

/* 상단 그리드 안 이용 안내 — 위/아래 균등 분배 */
.gft-grid-top > .gft-notice-card {
    display: flex;
    flex-direction: column;
    margin: 0;
}
.gft-grid-top > .gft-notice-card .gft-section-title {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 18px;
    /* 좌측 보유 포인트 라벨과 통일 — 17px / 600 / 1단계 (강조) */
    font-size: 17px;
    font-weight: 600;
    color: var(--gft-text);
}
.gft-grid-top > .gft-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gft-grid-top > .gft-notice-card .gft-notice-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gft-grid-top > .gft-notice-card .gft-notice-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}

/* ---------- 보유 포인트 헤로 카드 (사용 안 함, 호환 위해 유지) ---------- */
.gft-balance {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    margin: 0 0 18px;
}
.gft-balance-main {
    background: var(--gft-stat-bg);
    border: 1px solid var(--gft-stat-border);
    border-radius: var(--r-16);
    padding: 24px 24px 22px;
}
.gft-balance-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gft-text-sub);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.gft-balance-value {
    font-family: var(--font-num);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--gft-primary);
    line-height: 1.1;
    margin-bottom: 10px;
}
.gft-balance-value small {
    font-size: 16px;
    font-weight: 700;
    color: var(--gft-text-sub);
    margin-left: 4px;
}
html.dark-mode .gft-balance-value { color: #7eb3ff; }
.gft-balance-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--gft-text-sub);
    background: var(--gft-card-bg);
    border: 1px solid var(--gft-border);
    padding: 5px 10px;
    border-radius: var(--r-pill);
}
.gft-balance-meta i { color: var(--gft-primary); font-size: 11px; }

.gft-balance-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.gft-mini-card {
    background: var(--gft-card-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gft-mini-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gft-text-sub);
    margin-bottom: 4px;
}
.gft-mini-value {
    font-family: var(--font-num);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gft-text);
    line-height: 1.2;
}
.gft-mini-value small {
    font-size: 11px;
    color: var(--gft-text-sub);
    font-weight: 700;
    margin-left: 2px;
}

/* 모바일 (≤640px) : 1열 스택 + mini 가로 2분할 */
@media (max-width: 640px) {
    .gft-balance { grid-template-columns: 1fr; }
    .gft-balance-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}

/* ---------- 검색 바 ---------- */
.gft-search-bar { margin: 0 0 16px; } /* 섹션 세로 리듬 16px 통일 */
.gft-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.gft-search-input-wrap {
    flex: 1;
    position: relative;
}
.gft-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gft-text-sub);
    font-size: 14px;
    pointer-events: none;
}
.gft-search-input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    font-size: 16px;
    border: 1px solid var(--gft-border);
    background: var(--gft-bg);
    color: var(--gft-text);
    border-radius: var(--r-pill);
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.gft-search-input::placeholder { font-size: 14px; }
.gft-search-input:focus {
    outline: 0;
    border-color: var(--gft-primary);
    box-shadow: 0 0 0 3px rgba(39,113,227,.18);
}
.gft-search-btn {
    appearance: none;
    border: 0;
    background: linear-gradient(135deg, var(--gft-grad-start), var(--gft-grad-end));
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: transform .1s, opacity .15s;
}
.gft-search-btn:hover { transform: translateY(-1px); opacity: .92; }
.gft-search-clear {
    color: var(--gft-text-sub);
    font-size: 12px;
    text-decoration: underline;
    padding: 0 6px;
}

/* ---------- 공통 섹션 ---------- */
.gft-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 700; /* 800 은 배너 헤드라인 전용(최강조) — 섹션/카드 제목은 700 (DESIGN_SYSTEM §2 굵기 규약, 레퍼런스 .vd-card-title) */
    color: var(--gft-text);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gft-border);
}

/* ---------- 로그인 안내 ----------
   모양은 공용 .board-login-notice 정본(이 파일 아래쪽)이 관장한다.
   이 화면은 안내 아래로 상품 그리드가 이어지므로 아래 간격만 여기서 준다. */
.gft-wrap .board-login-notice { margin-bottom: 16px; }

/* ---------- 카드 그리드 ---------- */
.gft-grid-wrap { margin-bottom: 16px; } /* 섹션 세로 리듬 16px 통일 */
.gft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gft-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gft-text-sub);
}
.gft-empty i { font-size: 42px; color: var(--gft-stat-border); }
.gft-empty p { margin: 12px 0 0; font-size: 14px; }

.gft-card {
    background: var(--gft-card-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-card);
    transition: transform .12s, box-shadow .12s, border-color .12s;
    position: relative;
}
.gft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39,113,227,.18);
    border-color: var(--gft-stat-border);
}

.gft-card-img {
    position: relative; /* 카테고리 칩 오버레이 기준 */
    width: 100%;
    /* 3:2 — 권장 업로드 300x200 이 딱 떨어지도록 맞춘 비율(구 16/11).
       PC 출력 261x174 (카드 폭은 .gft-grid 4열이 결정, 높이만 이 비율이 결정) */
    aspect-ratio: 3 / 2;
    background: var(--thumb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* 카테고리 칩 — 썸네일 우상단 오버레이. 반투명 틴트는 이미지 위에서 안 읽혀
   불투명 화이트 + 브랜드 글자로 (관리자 오버레이 버튼과 동일 관행) */
.gft-card-img .gft-chip {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2; /* 관리자 수정/삭제 버튼(z3) 아래 */
    background: rgba(255,255,255,.92);
    color: var(--gft-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.gft-card-img .gft-chip.gft-chip--lower { top: 44px; } /* 관리자 버튼 회피 */
html.dark-mode .gft-card-img .gft-chip { background: rgba(30,41,59,.92); color: #93c5fd; }
/* 신청 건수 뱃지 — 좌하단 오버레이 (쇼핑백 아이콘 + 숫자, 의미는 title/aria) */
.gft-card-count {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.92);
    color: var(--gft-text-body);
    font-family: var(--font-num);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.gft-card-count i { font-size: 11px; line-height: 1; color: var(--gft-primary); }
html.dark-mode .gft-card-count { background: rgba(30,41,59,.92); color: #c7ccd4; }
.gft-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gft-card-img-placeholder {
    color: rgba(39,113,227,.35);
    font-size: 48px;
    opacity: .65;
}
html.dark-mode .gft-card-img { background: linear-gradient(135deg, #1e293b, #243447); }

.gft-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}
.gft-chip {
    display: inline-block;
    background: var(--gft-chip-bg);
    color: var(--gft-chip-fg);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gft-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gft-text);
    margin: 0; /* 칩이 썸네일로 이동해 본문 첫 요소 */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.gft-card-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 2px;
}
.gft-price-label {
    font-size: 13px;
    color: var(--gft-text-sub);
    font-weight: 600;
}
.gft-price-value {
    font-family: var(--font-num);
    font-size: 17px;
    font-weight: 700;
    color: var(--gft-primary);
}
.gft-price-value small {
    font-size: 12px;
    color: var(--gft-text-sub);
    font-weight: 600;
    margin-left: 2px;
}
html.dark-mode .gft-price-value { color: #7eb3ff; }

.gft-card-meta {
    font-size: 11px;
    color: var(--gft-text-sub);
    display: flex;
    align-items: center;
    gap: 4px;
}
.gft-card-btn {
    appearance: none;
    border: 0;
    margin-top: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gft-grad-start), var(--gft-grad-end));
    color: #fff;
    border-radius: var(--r-6);
    cursor: pointer;
    transition: transform .1s, opacity .15s;
    width: 100%;
}
.gft-card-btn:hover {
    transform: translateY(-1px);
    opacity: .94;
}
.gft-card-btn i { margin-right: 4px; }

/* ---------- 모달 ---------- */
.gft-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.gft-modal[hidden] { display: none; }
.gft-modal-backdrop {
    position: absolute;
    inset: 0;
    /* 평면 dim — 토토 상세 vdim 오버레이(_co_view_modals.php)와 동일 값.
       blur 는 Chromium 저해상도 다운샘플로 배경이 모자이크처럼 보여 금지 */
    background: rgba(15,20,30,.55);
}
.gft-modal-dialog {
    position: relative;
    /* 배경을 다이얼로그가 아닌 본문/푸터에 준다 — 부모가 흰 배경을 갖고 있으면
       상단 곡선 클리핑 픽셀에서 헤더 그라데이션과 흰색이 섞여 흰 선이 비친다 */
    background: transparent;
    color: var(--gft-text, #1e293b);
    border-radius: var(--r-10);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: var(--sh-modal);
    font-family: var(--font-ui);
    line-height: 1.6; /* 상속 차단 — 현재 문맥값(.sbc-site-main 1.6) 명시화. exchange .ex-cfm-dialog 와 동일 */
}
.gft-modal-body,
.gft-modal-footer { background: var(--gft-bg, #fff); }
.gft-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    /* 헤더는 본문과 같은 면. 경계는 흐린 중성색 1px 구분선이 담당 (vdim .vdim-head 미러) */
    background: var(--gft-bg, #fff);
    color: var(--gft-text);
    border-bottom: 1px solid var(--gft-border-strong);
    /* 부모(overflow:hidden) 클리핑에만 맡기면 곡선 가장자리에서 부모 흰 배경이
       안티앨리어싱으로 비쳐 흰 선이 생긴다 — 상단 라운드를 헤더가 직접 그린다 */
    border-radius: var(--r-10) var(--r-10) 0 0;
}
.gft-modal-title {
    margin: 0;
    font-size: 18px;  /* 타입 스케일: 18 = 모달 타이틀 (DESIGN_SYSTEM §2) */
    font-weight: 700; /* 800 은 배너 헤드라인 전용 */
    line-height: 1.3; /* 명시 필수 — normal 은 폰트마다 달라 헤더 상하 여백이 비대칭으로 보인다 */
}
.gft-modal-x {
    appearance: none;
    border: 0;
    background: none;
    color: var(--gft-text-sub);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 17px; /* 킷 비율 유지: 32/30 × 16px (vdim .vdim-x = 30px 박스 / 16px) */
    line-height: 1;
    cursor: pointer;
    transition: color .15s;
}
.gft-modal-x:hover { color: var(--gft-text); }
/* FA 광학 보정 — 값 출처: theme/Nariya-A/css/custom-sidebar.css 의 .sbc-panel-close .fa */
.gft-modal-x .fa { position: relative; top: -0.57px; }
.gft-modal-body { padding: 18px 18px 2px; }
.gft-modal-body--earn { padding-top: 12px; } /* 적립 안내 전용 — 첫 카드 위 여백 축소. 기본 패딩 정의 뒤에 있어야 이긴다 (exchange 동일) */
.gft-modal-product {
    /* 파란 틴트 띠 제거 — 중립 필드 배경, 보더 없음 */
    background: var(--field-bg);
    border: 0;
    border-radius: var(--r-10);
    padding: 14px;
    margin-bottom: 12px;
}
html.dark-mode .gft-modal-product { background: #2a2f3a; }
/* 카드 타이포와 통일 — 상품명 15/600, 라벨 600, 가격 700+Oxanium (크기만 확인 맥락 강조로 18px) */
.gft-modal-product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gft-text);
    margin-bottom: 8px;
    word-break: keep-all;
}
.gft-modal-product-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    font-weight: 600;
    color: var(--gft-text-sub);
}
.gft-modal-product-price strong {
    font-family: var(--font-num);
    font-size: 18px;
    color: var(--gft-primary);
    font-weight: 700;
}
.gft-modal-product-price strong small {
    font-size: 12px;
    font-weight: 600;
    color: var(--gft-text-sub); /* 3단계 */
    margin-left: 2px;
}
html.dark-mode .gft-modal-product-price strong { color: #93c5fd; }
.gft-modal-notice {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--gft-text-body); /* 2단계 — 본문 목록 (vdim-list 와 동일 티어) */
    line-height: 1.7;
}
.gft-modal-notice li { margin-bottom: 2px; }
.gft-modal-msg {
    /* 평소엔 높이 0 — 메시지(완료/에러)가 뜰 때만 공간 생성. 버튼은 그 시점에 이미 잠겨 있어 오클릭 없음 */
    min-height: 0;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
}
.gft-modal-msg:not(:empty) { margin: 6px 0 2px; }
.gft-modal-msg-info    { color: var(--gft-text-sub); }
.gft-modal-msg-success { color: var(--gft-success); }
.gft-modal-msg-error   { color: var(--gft-danger); }
.gft-modal-footer {
    display: flex;
    gap: 8px;
    padding: 6px 18px 16px;
}
.gft-btn {
    flex: 1;
    appearance: none;
    border: 0;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-6);
    cursor: pointer;
    transition: opacity .15s, transform .1s;
}
.gft-btn:disabled { opacity: .55; cursor: not-allowed; }
.gft-btn-cancel {
    background: var(--field-bg);
    color: var(--gft-text-sub);
}
.gft-btn-cancel:hover { background: var(--line); }
.gft-btn-primary {
    background: linear-gradient(135deg, var(--gft-grad-start), var(--gft-grad-end));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    box-shadow: 0 4px 14px rgba(39, 113, 227, .35);
    letter-spacing: .2px;
}
.gft-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1b64da, #0d3f94);
    box-shadow: 0 6px 18px rgba(39, 113, 227, .45);
    transform: translateY(-1px);
}
html.dark-mode .gft-btn-cancel { background: #374151; color: #e5e7eb; }
html.dark-mode .gft-btn-cancel:hover { background: #4b5563; }

/* ---------- 내 신청내역 ---------- */
.gft-history-card,
.gft-notice-card {
    background: var(--gft-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    padding: 18px 18px 20px;
    margin: 16px 0; /* 섹션 세로 리듬 16px 통일 */
    box-shadow: var(--sh-card);
}
.gft-wrap > :last-child { margin-bottom: 0; } /* 페이지 끝 여백은 테마 위임 (fb-wrap 동일) */
/* 타이틀 + 새로고침 한 행 — 행 자체 밑줄 없음(표 thead 상단 라인 하나만 남긴다) */
.gft-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.gft-history-head .gft-section-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    /* 보유 포인트 · 이용 시 참고사항 헤더와 통일 — 17px / 600 / 1단계 (강조) */
    font-size: 17px;
    font-weight: 600;
    color: var(--gft-text);
    line-height: 18px; /* 아이콘 28px − 줄박스 18px = 오프셋 5px 정수 — 17px(오프셋 5.5px)이면 반올림 방향이 페이지마다 갈려 1px 어긋나 보임 */
    letter-spacing: -0.015em; /* exchange .ex-section-title 과 동일 자간 */
}
.gft-history-head .gft-title-ico { top: 0; margin-right: -6px; } /* 옵티컬 보정 해제 + SVG 여백 상쇄(글리프가 40뷰박스 중앙이라 우측 공백 큼) — 라벨과 밀착 */
/* 랭킹 버튼 + 새로고침 — exchange `.ex-history-actions` / `.ex-rank-btn` 미러 */
.gft-history-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.gft-history-refresh,
.gft-rank-btn {
    appearance: none;
    border: 1px solid var(--gft-border);
    background: var(--gft-bg);
    color: var(--gft-text-sub);
    border-radius: var(--r-6);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600; /* exchange .ex-history-refresh 와 동일 두께 */
    line-height: 1.25;
    cursor: pointer;
    display: inline-flex; /* 아이콘·텍스트 수직 중앙 정렬 (exchange .ex-history-refresh 미러) — 베이스라인 배치로 아이콘이 삐뚤어 보이던 것 교정 */
    align-items: center;
    gap: 4px;
    font-family: inherit;
    text-decoration: none; /* a 태그(.gft-rank-btn) 기본 밑줄 제거 */
    transition: color .15s, border-color .15s, background .15s;
}
.gft-history-refresh:hover,
.gft-rank-btn:hover,
.gft-rank-btn:focus,
.gft-rank-btn:active {
    color: var(--gft-primary);
    border-color: var(--gft-primary);
    /* BS4 reboot `a:hover{text-decoration:underline}`(0,1,1)가 base 의 none 을 이긴다 —
       상태 셀렉터로 특이성을 맞춰 밑줄을 확실히 끈다 (exchange 동일) */
    text-decoration: none;
}
.gft-history-wrap { overflow-x: auto; }
.gft-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
/* 머리행: 자유게시판 .fb-list-head 미러링 — 배경 없이 위아래 라인 + body 톤 600 */
.gft-history-table thead th {
    background: transparent;
    color: var(--gft-text-body); /* 2단계 (자유게시판 .fb-list-head 와 동일 티어) */
    font-weight: 600;
    padding: 10px 8px;
    text-align: center;
    border-top: 1px solid var(--gft-border);
    border-bottom: 1px solid var(--gft-border);
    white-space: nowrap;
}
.gft-history-table tbody td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--gft-border);
    text-align: center;
    color: var(--gft-text);
    vertical-align: middle;
}
.gft-history-table tbody tr:last-child td { border-bottom: 0; }
.gft-history-empty {
    text-align: center;
    color: var(--gft-text-muted);
    padding: 28px 0;
    font-size: 13px;
}
/* 텍스트 위계 — 상품명 1단계(셀 기본 --gft-text 상속) > 포인트 2단계 > 신청일시 3단계 > 단위·메모 4단계 */
.gft-history-table tbody .gft-col-dt { color: var(--gft-text-body); font-weight: 500; } /* 2단계 */
.gft-col-amt { font-family: var(--font-num); font-weight: 600; }
.gft-history-table tbody .gft-col-amt { color: var(--gft-text); } /* 1단계 */
.gft-col-amt small { font-size: 13px; color: var(--gft-text-sub); margin-left: 2px; font-weight: 500; } /* exchange .ex-col-amt small 과 동일 — 한쪽만 바꾸지 말 것 */
.gft-col-name { max-width: 280px; }
.gft-history-table tbody .gft-col-name { font-weight: 500; } /* 자유게시판 .fb-subject-link 와 동일 */
.gft-st {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--r-6);
    font-size: 12px;
    font-weight: 700;
}
.gft-st-pending  { background: #f1f5f9; color: #64748b; }
.gft-st-paid     { background: var(--brand-soft); color: var(--brand); }
/* 지급거절 = 사이트 의미색 빨강 (2026-08-10). 구 #fee2e2/#991b1b 에서 전환 — 되돌리지 말 것.
   ① 사이트의 부정/차감 빨강은 #ef4444 하나다(마이페이지 포인트 차감·경험치 차감 배지) — 여기만 진한 벽돌색이라 갈려 있었다.
      이 파일에 이미 --gft-danger(#ef4444)가 있으니 리터럴 대신 그 토큰을 쓴다(틴트 배경은 대응 토큰이 없어 리터럴).
   ② 형제 상태칩(.gft-st-paid = --brand-soft 틴트 + --brand 텍스트)과 "옅은 틴트 + 진한 원색" 구조가 이제 같다.
   포인트전환(.ex-st-rejected)과 **같은 값** — 한쪽만 고치지 말 것. 다크는 아래 딥레드 유지(§7.4 예외). */
.gft-st-rejected { background: #fef2f2; color: var(--gft-danger); }
html.dark-mode .gft-st-pending  { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
html.dark-mode .gft-st-paid     { background: #1e3a5f; color: #93c5fd; }
html.dark-mode .gft-st-rejected { background: #7f1d1d; color: #fee2e2; }

/* 지급거절 사유 행 — 본 행과 한 덩어리로 보이도록 배경/border 제거, 행 전체 폭 중앙.
   포인트전환 exchange/style.css 의 같은 묶음 미러 — 값 동일, 한쪽만 고치지 말 것.
   ⚠ 구 `.gft-st-memo`(ge_admin_memo 항상 표시)는 2026-08-18 제거 — 되살리지 말 것.
     관리자 내부 메모가 사용자에게 그대로 나가던 자리이고, 지금은 사유 토글이 대신한다. */
/* ⚠ 표(td) 기준 규칙이라 481px 이상에서만 건다. 480px 이하에선 행이 grid 카드로 바뀌어
   경계선·여백 주체가 tr 이므로, 여기서 td 에 padding-bottom 을 주면 (0,2,3) 이 모바일의
   `tbody td{padding:0}`(0,1,2)를 이겨 1·2행 트랙이 같이 커진다(포인트전환에서 실제로 겪은 버그). */
@media (min-width: 481px) {
    .gft-history-table tbody tr.gft-row-with-reason > td {
        border-bottom: 0;
        padding-bottom: 6px;
    }
}
.gft-history-table tbody tr.gft-history-reason-row > td {
    border-top: 0;
    padding: 0 12px 14px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
    white-space: normal;
}
/* 거절 칩 자체를 클릭 토글로 — 별도 텍스트 없이 칩 위치/열 정렬 유지. 사유 행은 평소 숨김 */
.gft-history-reason-row[hidden] { display: none; }
button.gft-st-toggle {
    border: 0;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
    /* touch-action: manipulation 은 테마 전역 규칙(custom-sidebar.css)이 담당 — 여기 중복 선언 금지 */
}
.gft-history-reason-label {
    font-weight: 700;
    color: var(--gft-danger);
    margin-right: 4px;
}
.gft-history-reason-text {
    color: #991b1b;
    font-weight: 500;
}
html.dark-mode .gft-history-reason-text  { color: #fca5a5; }
html.dark-mode .gft-history-reason-label { color: #f87171; }

/* 페이저 */
.gft-history-pager {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
    flex-wrap: wrap;
}
/* 자유게시판 페이징의 실제 렌더 결과 미러링 — 스킨 정의가 아니라 테마 전역
   custom-sidebar.css `.sbc-site-main .pagination .page-link`(!important)가 최종 승자라
   그 값(보더리스·600·r-10·hover #e8f3ff·active #3182f6)을 그대로 따른다 */
.gft-history-pager button {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--gft-text-body);
    font-weight: 600;
    margin: 0 2px;
    padding: 7px 12px 5px; /* 상하 비대칭 = Oxanium 글리프 보정 (자유게시판 .page-link 동일) */
    line-height: 1.25;     /* 부트스트랩 .page-link 기본 행간 — 버튼 기본 행간이 더 높아 배경이 세로로 길어지는 것 방지 */
    border-radius: var(--r-10);
    font-size: 13px;
    transition: all 0.15s;
    cursor: pointer;
}
.gft-history-pager button:hover {
    background: #e8f3ff;
    color: #3182f6;
}
.gft-history-pager button.is-active {
    background: #3182f6;
    color: #fff;
}
html.dark-mode .gft-history-pager button:hover {
    background: var(--gft-stat-bg);
    color: var(--gft-chip-fg);
}

/* ---------- 이용 안내 ---------- */
.gft-notice-body {
    font-size: 14px;
    color: var(--gft-text-body); /* 2단계 — 카드 본문 기본 티어 */
    line-height: 1.7;
}
.gft-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gft-notice-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    margin: 0;
    font-size: 14px;
    color: var(--gft-text-body); /* 2단계 — 카드 본문 기본 티어 */
    line-height: 1.6;
}
/* 마지막 항목의 자체 하단 패딩이 카드 패딩(20px)과 겹쳐 하단만 28px 로 넓어 보임 — 제거 */
.gft-notice-list li:last-child {
    padding-bottom: 0;
}
.gft-notice-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gft-primary);
}
.gft-notice-list li + li { border-top: 1px dashed var(--gft-border); }

/* =========================================================================
 *  반응형
 * ========================================================================= */
@media (max-width: 1024px) {
    .gft-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .gft-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gft-page-title { font-size: 21px; }
}
@media (max-width: 480px) {
    /* 좌우 여백은 테마 컨테이너 위임 — 토토·자유와 동일 (DESIGN_SYSTEM §9). 기존 10px 인셋(개별 카드용 의도된 차이)은 4보드 통일 결정으로 제거 */
    .gft-wrap { padding: 0; }
    .gft-balance-value { font-size: 28px; }
    .gft-mini-value { font-size: 16px; }
    .gft-search-input { font-size: 16px; padding: 11px 14px 11px 36px; }
    .gft-search-btn { padding: 9px 16px; font-size: 13px; }
    .gft-card-title { font-size: 13px; }
    .gft-price-value { font-size: 15px; }
    /* 내역 테이블 → 2×2 카드 배치 (exchange `.ex-history-table` 480px 규칙 미러)
         상품명  상태
         날짜    구매가격
       ⚠ 마크업(<table>)과 gifticon.js(renderHistory)는 PC와 공유한다 — 재배치는 CSS grid 만으로 한다. */
    .gft-history-wrap { overflow-x: visible; }
    .gft-history-table { font-size: 14px; display: block; }
    .gft-history-table thead { display: none; }
    .gft-history-table tbody { display: block; }
    .gft-history-table tbody > tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-areas:
            "name st"
            "dt   amt";
        align-items: center;
        column-gap: 6px;
        row-gap: 4px;
        padding: 11px 4px;
        border-bottom: 1px solid var(--gft-border);
    }
    .gft-history-table tbody td { display: block; padding: 0; border-bottom: 0; text-align: left; }
    .gft-history-table tbody .gft-col-name {
        grid-area: name; max-width: none; font-weight: 600; color: var(--gft-text);
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .gft-history-table tbody .gft-col-st  { grid-area: st;  text-align: right; }
    .gft-history-table tbody .gft-col-dt  { grid-area: dt;  font-size: 13px; color: var(--gft-text-sub); }
    .gft-history-table tbody .gft-col-amt { grid-area: amt; text-align: right; font-size: 14px; }
    /* 관리자 메모는 상태칩 아래 우측 정렬 — 칸 폭(max-content)이 메모 길이에 끌려가지 않게 상한을 준다 */
    /* 사유 행이 펼쳐지면 본 행(.gft-row-with-reason)은 border 를 내주고 한 덩어리가 된다 —
       그때 행 구분선은 사유 행이 이어받아야 아래 항목과 안 붙는다.
       [hidden] 은 위 tr 규칙(0,2,2)보다 높게 다시 적어야 숨는다. */
    .gft-history-table tbody tr.gft-history-reason-row { display: block; border-bottom: 1px solid var(--gft-border); padding: 0 0 10px; }
    .gft-history-table tbody tr.gft-history-reason-row[hidden] { display: none; }
    .gft-history-table tbody tr.gft-row-with-reason { border-bottom: 0; padding-bottom: 4px; }
    /* 로딩/빈 안내 행은 2×2 배치 대상이 아니다 — 전 폭 한 칸 */
    .gft-history-table tbody td.gft-history-empty { grid-column: 1 / -1; text-align: center; padding: 28px 0; }
    /* 페이저 — « ‹ 1 2 3 4 5 › » 9개가 한 줄에 들어가도록 좌우 여백만 축소 (exchange 동일).
       상하 비대칭 패딩(Oxanium 글리프 보정)은 그대로 유지한다. */
    .gft-history-pager { gap: 4px; }
    .gft-history-pager button { margin: 0; padding: 7px 10px 5px; }
    .gft-modal-dialog { max-width: 100%; }
}

/* =========================================================================
 *  초소형(≤359px, 구형 iPhone SE 계열) — exchange 동일 규약
 *  ─ 페이저 버튼 9개를 한 줄에 유지하기 위한 마지막 단계 축소.
 * ========================================================================= */
@media (max-width: 359px) {
    .gft-history-pager { gap: 2px; }
    .gft-history-pager button { padding: 7px 7px 5px; font-size: 12px; }
}

/* =========================================================================
 *  관리자 카드 오버레이 (수정/삭제 단축 진입 + 비활성 배지)
 *  - .gft-card 는 이미 position: relative (line 208) 보장됨
 * ========================================================================= */
.gft-wrap .gft-card-admin {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    z-index: 3;
}
.gft-wrap .gft-card-admin-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--r-6);
    background: rgba(255, 255, 255, 0.92);
    color: var(--sub);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color .15s, color .15s, transform .15s;
}
.gft-wrap .gft-card-admin-btn:hover {
    background: #ffffff;
    color: var(--ink);
    transform: translateY(-1px);
}
.gft-wrap .gft-card-admin-del:hover { color: var(--gft-danger); }

.gft-wrap .gft-card-inactive-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: var(--r-4);
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    letter-spacing: .02em;
}
.gft-wrap .gft-card--inactive {
    opacity: 0.65;
}

html.dark-mode .gft-wrap .gft-card-admin-btn {
    background: rgba(30, 41, 59, 0.92);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}
html.dark-mode .gft-wrap .gft-card-admin-btn:hover {
    background: #1e293b;
    color: #ffffff;
}
html.dark-mode .gft-wrap .gft-card-inactive-badge {
    background: rgba(0, 0, 0, 0.85);
    color: #f1f5f9;
}
html.dark-mode .gft-wrap .gft-card--inactive {
    opacity: 0.55;
}

/* ============================================
   상단 배너 (.board-list-banner 공통 형태 — DESIGN_SYSTEM §9.1)
   ============================================ */
/* 문구는 list.skin.php 상단 $_banner 가 소유한다 (마크업 하드코딩 금지).
   ⚠ 클래스명은 보드 공통 규약(.board-list-banner__*)이지만 값은 이 스킨 전용 —
      다른 보드와 자동 공유되지 않는다. (DESIGN_SYSTEM §9.1) */
/* 바깥 여백 margin: 0 0 16px — §9.1 */
.board-list-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 32px;
	background: linear-gradient(135deg, #3182f6 0%, #1b64da 60%, #0f4baf 100%);
	border-radius: var(--r-10,10px);
	overflow: hidden;
	min-height: 150px;
	/* 상단 배너 규정 — DESIGN_SYSTEM §9 */
	border: none;
	margin-top: 0;
	margin-bottom: 16px;
}
.board-list-banner__deco { position: absolute; border-radius: 50%; opacity: 0.1; background: #fff; }
.board-list-banner__deco--1 { width: 180px; height: 180px; top: -60px; right: 60px; }
.board-list-banner__deco--2 { width: 100px; height: 100px; bottom: -30px; right: -10px; }
.board-list-banner__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.board-list-banner__badge {
	display: inline-flex; align-items: center; width: fit-content; padding: 3px 10px;
	background: rgba(255,255,255,0.2); border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700;
	color: #fff; letter-spacing: 1.5px; backdrop-filter: blur(4px); line-height: 1.5; /* 상속 차단 — 페이지 문맥따라 1.5/1.6 갈려 배너 높이가 달라짐 */
}
.board-list-banner__title { font-size: clamp(20px, 3.4vw, 30px); font-weight: 700; letter-spacing: -.04em; line-height: 1.3; color: #fff; margin: 0; }
.board-list-banner__desc { font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,0.75); margin: 0; letter-spacing: -0.2px; line-height: 1.5; } /* 알파 .75 — 자유게시판 배너와 같은 값 */
.board-list-banner__icon {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; min-width: 52px;
	background: rgba(255,255,255,0.15); border-radius: 14px; color: #fff; font-size: 24px; backdrop-filter: blur(4px);
}
@media (max-width: 575px) {
	.board-list-banner { padding: 22px 20px; min-height: 85px; }
	.board-list-banner__title { font-size: clamp(14px, 4.6vw, 17px); letter-spacing: -.6px; line-height: 1.3; }
	.board-list-banner__icon { width: 44px; height: 44px; min-width: 44px; font-size: 20px; }
}

/* ============================================
   숫자류 폰트 (Oxanium) — 한글은 Paperozi 폴백 (DESIGN_SYSTEM §2 날짜·숫자 표기)
   나머지 수치(.gft-summary-*-value, .gft-price-value, .gft-col-amt)는 각 규칙에서 선언 완료.
   ============================================ */
.gft-history-table .gft-col-dt,   /* 신청일시 */
.gft-history-pager button,        /* 페이징 숫자 */
.gft-card-meta {                  /* 신청 N건 카운트 */
	font-family: var(--font-num);
}

/* ============================================
   상품 상세 (view.skin.php) — 미니멀 카드
   ============================================ */
.gft-view-wrap { max-width: 520px; margin: 0 auto; }
.gft-view-card {
    background: var(--gft-bg);
    border: 1px solid var(--gft-border);
    border-radius: var(--r-10);
    overflow: hidden;
    box-shadow: var(--sh-card);
}
.gft-view-body { padding: 16px 18px 18px; }
.gft-view-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gft-text);
    margin: 0 0 10px;
    word-break: keep-all;
}
.gft-view-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gft-text-sub);
    font-family: var(--font-num);
}
.gft-view-meta i { color: var(--gft-primary); }
.gft-view-actions { display: flex; gap: 8px; margin-top: 16px; }
.gft-view-actions .gft-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}
.gft-view-actions .gft-btn:hover { text-decoration: none; }
.gft-btn-danger { background: var(--field-bg); color: var(--gft-danger); }
html.dark-mode .gft-btn-danger { background: #374151; }

/* ============================================
   참고사항 모바일 아코디언 (기본 접힘)
   ※ 반드시 파일 끝에 유지 — .gft-grid-top > .gft-notice-card .gft-notice-body
     의 display:flex(0,3,0)와 특이도 동률이라 "뒤에 선언"되어야 이긴다
   ============================================ */
@media (max-width: 768px) {
    .gft-notice-toggle { cursor: pointer; }
    .gft-notice-arrow { display: inline-flex; }
    /* 펼침(is-open) 시엔 규칙이 해제되며 원래 display(flex/block)로 복귀 */
    .gft-notice-card:not(.is-open) .gft-notice-body { display: none; }
    .gft-notice-card:not(.is-open) .gft-section-title { margin-bottom: 0; }
    .gft-notice-card.is-open .gft-notice-arrow { transform: rotate(180deg); }
}

/* ===== 로그인·권한없음 안내 — .board-login-notice [공용 정본] =====
   댓글 11보드(toto·casino·etc·free-community·betting-tips·sbc_event·bizevent·
   predictlist·talent-market·job-recruit·muktui) + 목록 3보드(Attend·exchange·gifticon) 공통.
   14개 파일에 이 블록이 바이트 동일하게 복제된다 — 한 곳만 고치면 갈라진다(DESIGN_SYSTEM.md §9.4).
   납작한 회색 채움 + fa-info-circle, 테두리·그림자 없음. margin 은 각 스킨이 정한다.
   ⚠ 부트스트랩 .alert 계열을 붙이지 말 것 — theme/Nariya-A/css/custom-sidebar.css 의
     .sbc-site-main .alert 가 box-shadow 를, theme.css 의 .is-square .alert 가
     border-radius:0 을 !important 로 되살린다(이 통일 작업이 걷어낸 바로 그 레이어).
   ⚠ .f-de 도 붙이지 말 것 — 폰트셋 css(css/font/pc-*.css, mobile/mo-*.css)가
     font-size 를 15px(PC)/16px(모바일) !important 로 못박아 아래 13.5px 이 무시된다. */
.board-login-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    background: var(--field-bg, #f4f4f4);
    border-radius: var(--r-10, 10px);
    color: var(--sub, #676D76);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: left;
}
.board-login-notice i { flex: 0 0 auto; color: var(--brand, #2771E3); font-size: 16px; }
/* 문장 전체를 span 하나로 묶는다 — 맨몸 텍스트 노드는 익명 flex 아이템이 되어
   gap:8px 이 '로그인' 뒤 문장 중간에 끼어든다(구 .at-/.ex-/.gft- 판의 흠, 여기서 교정). */
.board-login-notice__txt { min-width: 0; }
.board-login-notice a {
    color: var(--brand, #2771E3);
    font-weight: 700;
    /* border-bottom 대신 text-decoration — flex 아이템 박스 높이와 무관하게 글자 기준선을 따라간다 */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
/* 다크모드 — 공유 tokens.css 에는 다크 오버라이드가 없다(tokens.css 헤더 명시). 리터럴로 준다. */
html.dark-mode .board-login-notice { background: #1f2937; color: #94a3b8; }
html.dark-mode .board-login-notice i,
html.dark-mode .board-login-notice a { color: #c7d3e1; }

/* =========================================================================
   작성폼 (bbs/write.php?bo_table=gifticon) — 커뮤니티 작성폼과 같은 규격 [2026-08-23 이식]
   ─────────────────────────────────────────────────────────────────────────
   정본은 skin/board/free-community/style.css §8. 값을 바꿀 땐 그쪽과 함께 본다
   (자동 동기화 아님 — 수동 복사다). 같은 블록을 쓰는 형제: skin/qa/sbc-inquiry/style.css.

   ⚠ 구 상태(2026-08-22까지)는 write.skin.php 안의 <style> 블록 + `.gft-write-*` 클래스였다.
     그 인라인 블록이 아래쪽에서 `.gft-btn-cancel` / `.gft-btn-primary`(이 파일의 모달·상세
     공용 버튼)를 다시 정의해 **작성폼에서만 같은 클래스가 다른 모양**이 되는 상태였고,
     색은 토큰이 아니라 하드코딩 hex(#f1f5f9·#3182f6…)였다. 인라인 블록은 통째로 제거했다 —
     되살리지 말 것(루트 CLAUDE.md 「덮어쓰기 금지」·「하드코딩 hex 금지」).
   ⚠ 작성폼 전용 버튼이 `.gft-btn` 이 아니라 `.fb-w-btn` 인 이유: `.gft-btn` 은 `flex:1` 로
     모달 푸터에서 폭을 반씩 나눠 갖는 버튼이라, 우측 정렬 액션 패널의 규격과 애초에 다르다.
   ========================================================================= */

/* 작성폼 = 패널 3개 — 업체 게시판 작성폼과 같은 구조다
   (상단바 .tw-topbar → 본문 카드 .tw-card → 액션 #twActions).
   면(배경·경계선·라운드)은 세 자식(.fb-w-topbar / ul.fb-w-fields / .bo-w-actions)이 각자 갖고
   #bo_w 는 폭만 잡는 투명 래퍼다. */
#bo_w {
  --fb-w-pad: 20px;      /* 패널 3개 공통 안쪽 여백 — 업체 작성폼 .tw-card 와 같은 값 */
  --fb-w-gap: 16px;      /* 패널 사이 간격 — 업체 작성폼(.tw-topbar margin-bottom)과 같은 값 */
  /* 폭은 업체·커뮤니티 작성폼과 같은 단(900px 가운데) — 목록·상세는 칼럼 폭을 그대로 쓰지만
     **작성폼만 좁혀 가운데** 두는 건 입력 줄이 길면 라벨↔입력 거리가 멀어져서다.
     ⚠ margin 은 롱핸드 — 축약형으로 쓰면 아래 ≤575px 의 거터 상쇄 음수 마진과 소유권이 겹친다. */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* 패널 공통 면 — 4모서리 라운드 `--r-10` + 1px 경계선 + 옅은 그림자.
   ⚠ 세 선택자를 한 규칙으로 묶는다(패널마다 값을 따로 두면 세 면이 조용히 어긋난다).
   ⚠ 그림자는 업체 작성폼 패널과 같은 리터럴 `0 2px 8px rgba(20,30,60,.05)` — 토큰에 이 값이 없다.
     이 스킨의 카드 그림자(--sh-card)를 쓰지 말 것: 아래로 6px 떨어진 더 깊은 그림자라 다르게 보인다. */
#bo_w .fb-w-topbar,
#bo_w .fb-w-fields,
#bo_w .bo-w-actions {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-10);
  box-shadow: 0 2px 8px rgba(20,30,60,0.05);
  padding: var(--fb-w-pad);
}
#bo_w .fb-w-topbar,
#bo_w .fb-w-fields { margin-bottom: var(--fb-w-gap); }

/* (1) 상단바 패널 — 업체 작성폼(_co_write_body.php .tw-topbar)과 같은 치수(패딩 14px 20px). */
#bo_w .fb-w-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
#bo_w .fb-w-topbar-l { display: flex; align-items: center; gap: 13px; min-width: 0; }
#bo_w .fb-w-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--r-10);
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bo_w .fb-w-mark svg { display: block; }
#bo_w .fb-w-title { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.5; }   /* 업체(.tw-topbar)·구인구직(.jr-w-title)과 같은 벌 — 800/1.5 가 정본 */
#bo_w .fb-w-sub { margin-top: 2px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* (3) 액션 패널 — 업체 작성폼 #twActions 와 같은 치수(패딩 14px 20px · 버튼 간격 16px · 우측 정렬). */
#bo_w .bo-w-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* 버튼 — 업체 작성폼 `.tw-w-btn` 이식(값은 토큰으로 치환).
   ⚠ 부트스트랩/테마 버튼 클래스(`.btn .btn-lg .btn-primary .btn-basic .en`)는 **붙이지 않는다** —
     ① `.btn-lg` 가 글자 18px · 라운드 3px 이라 이 폼의 어떤 요소와도 안 맞고
     ② `.btn-primary` 색 주인이 나리야 색상프리셋(theme/Nariya-A/css/color/*.css)이라 브랜드 토큰을 안 따르고
     ③ `.en`(Roboto)은 한글 글리프가 없어 「취소하기」·「등록완료」가 시스템 기본 한글꼴로 떨어진다.
   font-family:inherit 필수 — 브라우저는 form control 에 시스템 UI 폰트를 먹인다. */
#bo_w .fb-w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--r-10);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
#bo_w .fb-w-btn:hover { text-decoration: none; }
#bo_w .fb-w-btn--ghost {
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--sub);
}
#bo_w .fb-w-btn--ghost:hover { background: var(--field-bg); color: var(--ink); }
/* ⚠ 두 버튼은 **완전히 같은 상자**다 — 패딩·테두리·높이는 위 .fb-w-btn 한 곳에서만 정하고
   여기서는 색만 바꾼다. padding 을 다시 넣지 말 것. */
#bo_w .fb-w-btn--primary {
  border: 1px solid transparent;   /* ghost 와 테두리 두께를 맞춰 두 버튼 높이가 같아진다 */
  background: var(--brand);
  color: #fff;
}
#bo_w .fb-w-btn--primary:hover { background: var(--brand-hover); color: #fff; }
#bo_w .fb-w-btn--primary:disabled { opacity: .6; cursor: default; }   /* gft_write_submit() 이 전송 직후 disabled 를 건다 */

/* 모바일은 패널 3개가 각각 껍데기를 벗고 목록과 같은 형태가 된다 —
   목록(#bo_list_wrap)이 ≤575px 에서 하는 처리와 같은 구조: **면은 화면 끝까지, 인셋은 안쪽이 14px** (§9.2).
   ⚠ 거터 숫자를 복사하지 말 것 — 주인은 custom-sidebar.css 의 --page-gutter.
   ⚠ width 를 주지 않는다 — #bo_w 는 블록이라 음수 마진만으로 폭이 그만큼 늘어난다. */
@media (max-width: 575px) {
  #bo_w {
    --fb-w-pad: 14px;   /* 목록 화면과 같은 인셋 */
    margin-left: calc(-1 * var(--page-gutter, 12px));
    margin-right: calc(-1 * var(--page-gutter, 12px));
  }
  /* 면은 화면 끝까지 — 좌우 테두리·라운드를 끄고 위아래 선만 남긴다(선은 면의 경계다). */
  #bo_w .fb-w-topbar,
  #bo_w .fb-w-fields,
  #bo_w .bo-w-actions {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  /* 입력 패널의 좌우 인셋은 목록이 아니라 **행(li)** 이 갖는다 — 목록에 주면 행의 테두리 상자가
     그만큼 좁아진다. 행 안쪽 글자는 아래 li 규칙의 14px 로 같은 단에 선다. */
  #bo_w .fb-w-fields {
    padding-left: 0;
    padding-right: 0;
  }
}

/* 행 사이 구분선은 전부 없다 — 패널 테두리가 폼을 여닫는 선이므로 안쪽에는 선이 하나도 없다.
   ⚠ 좌우 선도 여기서 끈다 — 패널 테두리와 겹치는 잔선이다. */
#bo_w .list-group-item {
  padding-left: 0;
  padding-right: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  border: 0;
}
/* 첫 행 위 / 마지막 행 아래 여백은 패널 패딩(--fb-w-pad)이 소유한다 — 행 패딩이 그 위에 얹히면
   패널 천장·바닥 여백만 두 겹이 된다. */
#bo_w .list-group-item:first-child { padding-top: 0; }
#bo_w .list-group-item:last-child { padding-bottom: 0; }

/* 모바일 행 인셋 — 면(ul)은 화면 끝까지 가고 인셋은 행이 갖는다(위 575px 블록의 나머지 절반).
   ⚠ 이 선언은 반드시 위 `#bo_w .list-group-item { padding-left:0 }` **뒤**에 있어야 한다.
     둘의 특이도가 (1,1,0) 으로 같아, 미디어쿼리 안에 있어도 앞에 두면 조용히 죽는다. */
@media (max-width: 575px) {
  #bo_w .list-group-item {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* 버튼은 반반으로 — 업체 작성폼(#twActions .tw-w-btn)과 같은 처리.
     min-width:0 + nowrap 은 320px 급 안전망 — 없으면 min-content(글자+패딩)에 걸려 버튼이 안 줄고
     글자가 두 줄로 접힌다. */
  #bo_w .fb-w-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

/* 라벨은 입력칸 **위**에 선다 — 「상품명 / 입력칸 / 카테고리 / 입력칸 …」 세로 배치.
   마크업의 부트스트랩 그리드(.row > .col-md-2 / .col-md-10)는 그대로 두고 폭만 100% 로 눕힌다. */
#bo_w .form-group.row > .col-form-label {
  flex: 0 0 100%;
  max-width: 100%;
  /* 부트스트랩 .col-form-label 의 세로 패딩(calc(.375rem + 1px))은 입력칸과 **가로로** 나란할 때
     기준선을 맞추는 값이다. 세로 배치에선 라벨 위 여백이 되어 행 간격이 두 겹이 되므로 0 으로 두고,
     아래 6px 만 라벨↔입력칸 간격으로 남긴다. */
  padding-top: 0;
  padding-bottom: 6px;
  padding-right: 0;
}
#bo_w .form-group.row > .col-md-10 {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}
/* 짧은 필드(col-md-4 구매 포인트·상태)는 부트스트랩 폭(33%)을 그대로 쓴다 —
   라벨이 한 줄을 통째로 쓰므로 그 아래 줄에서 왼쪽부터 채워진다. */

/* 행 제목 앞 파란 세로 막대 — 업체 작성폼(skin/board/_co_write_body.php 의 .tw-bar)과 같은 규격
   3×16px · 라운드 2px · 브랜드 블루. 코어가 찍는 label 마크업을 건드리지 않도록 ::before 로 그린다. */
#bo_w .form-group.row > .col-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#bo_w .form-group.row > .col-form-label::before {
  content: "";
  flex: none;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--brand);
}

/* 입력칸 배면은 흰색 — 커뮤니티 작성폼과 같은 인상. 회색 채움은 이 스킨이 아니라 전역 입력 정본
   (theme/Nariya-A/css/custom-sidebar.css `.sbc-site-main .form-control { background: var(--surface-fill) }`)
   이 사이트 전체에 !important 로 거는 값이다.
   ⚠ 그 전역 선언을 고치면 회원가입·검색까지 전부 흰색이 된다 → 작성 패널(#bo_w)로 스코프를 좁혀
     여기서만 되돌린다. 전역 규칙이 !important 라 이쪽도 !important 가 필요하다.
   ⚠ background-color 롱핸드다 — 축약형 background 로 쓰면 전역 select 화살표(background-image)가
     함께 지워진다(상태 <select> 가 바로 그 경우다). */
#bo_w .form-control {
  background-color: var(--card) !important;
}

/* 입력칸 아래 보조 설명 — 업체이벤트 작성폼 `.be-help`(skin/board/bizevent/style.css)와 같은 값.
   커뮤니티 작성폼엔 필드별 설명이 없어 이 클래스가 없다 — 값을 바꿀 땐 bizevent 쪽과 함께 본다. */
#bo_w .fb-w-help {
  display: block;
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}
#bo_w .fb-w-help strong { font-weight: 700; color: var(--sub); }

/* 첨부 위젯(bs-custom-file-input) — 높이·라운드를 옆 입력칸과 맞춘다.
   부트스트랩 기본은 calc(1.5em + .75rem + 2px) / border-radius .25rem 이라 이 폼에서만 상자가 달라 보였다. */
#bo_w .custom-file,
#bo_w .custom-file-input,
#bo_w .custom-file-label { height: calc(1.5em + 1rem + 2px); }
#bo_w .custom-file-label {
  display: flex;
  align-items: center;
  border-radius: var(--r-6);
  border-color: var(--line-2);
  background-color: var(--card);
  color: var(--sub);
  font-size: 14px;
}
#bo_w .custom-file-label::after {
  height: 100%;
  display: flex;
  align-items: center;
  border-left-color: var(--line-2);
  border-radius: 0 var(--r-6) var(--r-6) 0;
  background-color: var(--field-bg);
  color: var(--sub);
  font-weight: 700;
}
