/* ==============================================
   커미션 갤러리 스킨  ·  style.css
   ============================================== */

.glr-wrap *,
.glr-write-wrap *,
.glr-view-wrap * {
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════
   목록
══════════════════════════════════════════════ */

.glr-wrap {
    padding: 24px 28px 60px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(248,250,252,0.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 24px rgba(0,0,0,.08);
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    min-height: 600px;
}

/* 필터 바 */
.glr-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.glr-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.glr-chip {
    padding: 5px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(160,160,160,0.35);
    background: rgba(255,255,255,0.6);
    color: var(--content-font-color, #555);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .18s;
    letter-spacing: .02em;
}

.glr-chip:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,0.4);
    transform: translateY(-1px);
}

.glr-chip.active {
    background: var(--primary-color, #9ca3af);
    border-color: rgba(180,180,180,0.8);
    color: #fff;
    box-shadow: 0 3px 12px rgba(160,160,160,0.5);
}

.glr-bar-actions {
    display: flex;
    gap: 6px;
}

.glr-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1.5px solid rgba(160,160,160,0.35);
    background: rgba(255,255,255,0.6);
    color: var(--content-font-color, #666);
    text-decoration: none;
    font-size: 13px;
    transition: all .18s;
}

.glr-icon-btn:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,0.4);
    transform: translateY(-1px);
}

/* 빈 상태 */
.glr-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted, #bbb);
}

.glr-empty i {
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: .4;
}

/* 섹션 헤더 */
.glr-section {
    margin-bottom: 2.5rem;
}

.glr-section.is-collapsed {
    margin-bottom: 0.6rem;
}

.glr-section-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border-radius: 3px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.70) !important;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transition: opacity .15s;
}

.glr-section-hd:hover { opacity: .85; }

.glr-section-bar {
    width: 5px;
    min-height: 36px;
    border-radius: 0;
    flex-shrink: 0;
    align-self: stretch;
}

.glr-section-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--content-font-color, #333);
    letter-spacing: .02em;
    flex: 1;
}

.glr-section-count {
    font-size: 12px;
    color: var(--text-muted, #bbb);
    font-weight: 400;
}

.glr-section-toggle {
    font-size: 11px;
    color: var(--text-muted, #bbb);
    margin-right: 10px;
    transition: transform .2s;
    flex-shrink: 0;
}

.glr-section.is-collapsed .glr-section-toggle {
    transform: rotate(-90deg);
}

.glr-section-hd::before { display: none; }
.glr-section-hd::after  { display: none; }
.glr-dot                 { display: none; }

/* Masonry */
.glr-masonry {
    columns: 5;
    column-gap: 10px;
}

.glr-masonry-wrap {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
}

.glr-masonry-wrap.glr-ready {
    transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}

.glr-section.is-collapsed .glr-masonry-wrap {
    grid-template-rows: 0fr;
    opacity: 0;
}

.glr-masonry-wrap > .glr-masonry {
    overflow: clip;
    overflow-clip-margin: 20px;
    min-height: 0;
}

@media (max-width: 1100px) { .glr-masonry { columns: 4; } }
@media (max-width: 800px)  { .glr-masonry { columns: 3; } }
@media (max-width: 500px)  { .glr-masonry { columns: 2; } }

/* 카드 */
.glr-card {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
}

.glr-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 14px 32px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
    z-index: 10;
    position: relative;
}

.glr-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.glr-img.glr-img-contain {
    object-fit: contain;
    background: #f3f4f6;
}

.glr-no-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #ccc);
    font-size: 28px;
    background: #f3f4f6;
}

/* 섹션 배지 */
.glr-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .18s;
    z-index: 1;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.glr-card:hover .glr-badge { opacity: 0; }

/* 호버 오버레이 */
.glr-overlay {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.25) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity .22s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    z-index: 1;
}

.glr-card:hover .glr-overlay { opacity: 1; }

.glr-ov-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.glr-ov-artist {
    font-size: 11px;
    color: rgba(255,255,255,.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.glr-ov-artist a { color: rgba(255,255,255,.85); text-decoration: none; }
.glr-ov-artist a:hover { text-decoration: underline; }

.glr-ov-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.glr-pf {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.9);
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.2);
}

.glr-ov-date {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    white-space: nowrap;
}

.glr-ov-amount {
    font-size: 10px;
    color: rgba(255,255,255,.45);
    text-align: right;
    margin-top: 4px;
}

.glr-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ══════════════════════════════════════════════
   상세보기
══════════════════════════════════════════════ */

.glr-view-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 32px 60px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(248,250,252,0.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 24px rgba(0,0,0,.08);
}

.glr-view-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.glr-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #aaa);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color .15s, gap .15s;
}

.glr-back:hover {
    color: var(--primary-color, #9ca3af);
    gap: 10px;
}

.glr-view-btns { display: flex; gap: 8px; }

.glr-vbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,0.22);
    color: var(--content-font-color, #555);
    text-decoration: none;
    font-size: 13px;
    transition: all .15s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glr-vbtn:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,0.4);
    transform: translateY(-1px);
}

.glr-vbtn-del:hover {
    border-color: rgba(100,100,100,.6);
    color: #6b7280;
    background: rgba(100,100,100,0.12);
}

.glr-view-inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 36px;
    align-items: start;
}

@media (max-width: 680px) {
    .glr-view-inner { grid-template-columns: 1fr; }
}

.glr-view-img-col {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(160,160,160,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.glr-view-img { width: 100%; display: block; }

.glr-view-no-img {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted, #ccc);
}

.glr-view-info-col { padding: 4px 0; }

.glr-view-sec {
    font-size: 20px;
    font-weight: 800;
    color: var(--content-font-color, #222);
    margin-bottom: 20px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 6px rgba(255,255,255,.4);
}

.glr-view-sec::before {
    content: '✦';
    font-size: 13px;
    color: var(--primary-color, #9ca3af);
    opacity: .6;
    flex-shrink: 0;
}

.glr-view-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
    font-size: 14px;
}

.glr-view-key {
    width: 64px;
    flex-shrink: 0;
    color: var(--content-font-color, #666);
    font-size: 11px;
    font-weight: 700;
    padding-top: 2px;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .65;
}

.glr-view-val {
    flex: 1;
    color: var(--content-font-color, #333);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}

.glr-view-val a {
    color: var(--primary-color, #9ca3af);
    text-decoration: none;
    font-weight: 600;
}

.glr-view-val a:hover { text-decoration: underline; }

.glr-view-priv {
    color: var(--content-font-color, #555);
    font-size: 12px;
    opacity: .55;
}

.glr-view-memo {
    margin-top: 18px;
    font-size: 13px;
    color: var(--content-font-color, #555);
    line-height: 1.8;
    padding: 14px 16px;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    border-left: 3px solid rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════
   작성/수정 폼
══════════════════════════════════════════════ */

.glr-write-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px 32px 60px;
    background: var(--container-bg-color, #fff);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.glr-write-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--content-font-color, #222);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glr-write-title::before {
    content: '✦';
    font-size: 13px;
    color: var(--primary-color, #6b7280);
    opacity: .6;
}

.glr-write-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glr-write-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glr-write-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #aaa);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.glr-req { color: var(--primary-color, #9ca3af); }

.glr-private {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted, #ccc);
    text-transform: none;
    letter-spacing: 0;
}

.glr-input,
.glr-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d9d9d9;
    border-radius: 10px;
    background: #f9fafb;
    color: var(--content-font-color, #333);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.glr-input:focus,
.glr-textarea:focus {
    border-color: var(--primary-color, #9ca3af);
    box-shadow: 0 0 0 3px rgba(194, 194, 194, 0.23);
}

.glr-textarea {
    min-height: 80px;
    resize: vertical;
}

.glr-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glr-radio {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    color: var(--content-font-color, #666);
    cursor: pointer;
    transition: all .15s;
}

.glr-radio:has(input:checked) {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.glr-radio input[type="radio"] { display: none; }

.glr-write-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.glr-btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    color: var(--text-muted, #aaa);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}

.glr-btn-cancel:hover {
    color: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
}

.glr-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    background: var(--primary-color, #9ca3af);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .18s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.glr-btn-submit:hover {
    opacity: .88;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ══════════════════════════════════════════════
   그누보드 썸네일 업로드 UI 오버라이드
══════════════════════════════════════════════ */

.thumbnail-type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.thumbnail-type-selector label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f9fafb;
    border: 1.5px solid rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--content-font-color, #666);
    transition: all .15s;
}

.thumbnail-type-selector label:hover {
    border-color: var(--primary-color, #9ca3af);
    color: var(--primary-color, #9ca3af);
}

.thumbnail-type-selector input[type="radio"] {
    accent-color: var(--primary-color, #9ca3af);
}

.thumbnail-type-selector label:has(input:checked) {
    border-color: var(--primary-color, #9ca3af);
    background: var(--primary-color, #9ca3af);
    color: #fff;
}

.thumbnail-upload-section { margin-top: 10px; }

.thumbnail-upload-method input[type="file"],
.thumbnail-upload-method input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    color: var(--content-font-color, #333);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.thumbnail-upload-method input[type="file"]:focus,
.thumbnail-upload-method input[type="text"]:focus {
    border-color: var(--primary-color, #9ca3af);
    box-shadow: 0 0 0 3px rgba(160,160,160,0.15);
}

.thumbnail-upload-method input[type="file"]::file-selector-button {
    padding: 6px 14px;
    margin-right: 10px;
    background: #f3f4f6;
    color: var(--primary-color, #9ca3af);
    border: none;
    border-right: 1.5px solid rgba(160,160,160,0.25);
    border-radius: 7px 0 0 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    transition: background .15s, color .15s;
}

.thumbnail-upload-method input[type="file"]::file-selector-button:hover {
    background: var(--primary-color, #9ca3af);
    color: #fff;
}

.thumbnail-upload-method .form-help {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted, #bbb);
}

.current-thumbnail {
    margin-top: 12px;
    padding: 14px;
    background: #f9fafb;
    border: 1.5px solid rgba(160,160,160,0.2);
    border-radius: 12px;
}

.current-thumbnail > label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #bbb);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.current-thumbnail img {
    border-radius: 10px;
    border: 1.5px solid rgba(160,160,160,0.2) !important;
    padding: 0 !important;
    max-width: 100%;
}

.btn-remove-thumbnail { opacity: 0; transition: opacity .2s; }
.current-thumbnail:hover .btn-remove-thumbnail { opacity: 1; }

/* ══════════════════════════════════════════════
   섹션 접기/펼치기
══════════════════════════════════════════════ */

.glr-section-toggle {
    font-size: 11px;
    color: var(--text-muted, #bbb);
    margin-right: 10px;
    transition: transform .2s;
    flex-shrink: 0;
}

.glr-section.is-collapsed .glr-section-toggle {
    transform: rotate(-90deg);
}



/* ══════════════════════════════════════════════
   다중 이미지 배지
══════════════════════════════════════════════ */

.glr-multi-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
    color: #fff;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════
   상세보기 슬라이더
══════════════════════════════════════════════ */

.glr-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(160,160,160,0.08);
}

.glr-slide {
    display: none;
}

.glr-slide.active {
    display: block;
}

.glr-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 4px;
}

.glr-sl-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(160,160,160,0.35);
    background: rgba(255,255,255,0.6);
    color: var(--content-font-color, #555);
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.glr-sl-btn:hover {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
}

.glr-sl-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.glr-sl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(160,160,160,0.3);
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
}

.glr-sl-dot.active {
    background: var(--primary-color, #9ca3af);
    transform: scale(1.3);
}

/* ══════════════════════════════════════════════
   카드 모달 버튼
══════════════════════════════════════════════ */

.glr-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* ══════════════════════════════════════════════
   목록 모달
══════════════════════════════════════════════ */

.glr-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.glr-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

.glr-modal-box {
    position: relative;
    background: rgba(18,18,28,.95);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1fr 260px;
    width: min(880px, 95vw);
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.65);
    transform: scale(.95) translateY(10px);
    transition: transform .26s cubic-bezier(.34,1.4,.64,1);
}

.glr-modal-backdrop.is-open .glr-modal-box {
    transform: scale(1) translateY(0);
}

@media (max-width: 640px) {
    .glr-modal-box {
        grid-template-columns: 1fr;
        max-height: 94vh;
    }
}

.glr-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.glr-modal-close:hover { background: rgba(255,255,255,.2); }

.glr-modal-img-area {
    position: relative;
    background: #07070f;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    overflow: hidden;
}

.glr-modal-slider {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glr-modal-slide { display: none; width: 100%; height: 100%; }
.glr-modal-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.glr-modal-slide img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    cursor: zoom-in;
}

.glr-modal-thumbs {
    display: flex;
    gap: 5px;
    padding: 7px 10px;
    overflow-x: auto;
    background: rgba(0,0,0,.35);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
    flex-shrink: 0;
}

.glr-modal-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    overflow: hidden;
    border: 2px solid transparent;
    background: rgba(255,255,255,.06);
    cursor: pointer;
    padding: 0;
    transition: border-color .15s, transform .15s;
}
.glr-modal-thumb:hover { transform: scale(1.07); }
.glr-modal-thumb.active { border-color: var(--primary-color, #9ca3af); }
.glr-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.glr-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.glr-modal-nav:hover { background: rgba(255,255,255,.22); }
.glr-modal-prev { left: 8px; }
.glr-modal-next { right: 8px; }

.glr-modal-info {
    padding: 22px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(12,12,20,.88);
    border-left: 1px solid rgba(255,255,255,.07);
}

.glr-mi-sec {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.glr-mi-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.glr-mi-row i { color: var(--primary-color, #9ca3af); font-size: 11px; flex-shrink: 0; }
.glr-mi-row a { color: var(--primary-color, #9ca3af); text-decoration: none; font-weight: 600; }
.glr-mi-row a:hover { text-decoration: underline; }

.glr-mi-memo {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    padding: 10px 12px;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    margin-top: 4px;
}

.glr-mi-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
}

.glr-mi-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.glr-mi-btn:hover { background: rgba(255,255,255,.13); color: #fff; }
.glr-mi-btn-edit {
    border-color: rgba(160,160,160,0.4);
    color: var(--primary-color, #9ca3af);
}
.glr-mi-btn-edit:hover {
    background: rgba(160,160,160,0.16);
}

/* ══════════════════════════════════════════════
   라이트박스 (원본)
══════════════════════════════════════════════ */

.glr-lb-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.glr-lb-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

.glr-lb-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    z-index: 2;
}
.glr-lb-close:hover { background: rgba(255,255,255,.2); }

.glr-lb-img-wrap {
    max-width: 96vw;
    max-height: 96vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.glr-lb-img-wrap img {
    max-width: 96vw;
    max-height: 96vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,.7);
    cursor: zoom-out;
}

.glr-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.glr-lb-nav:hover { background: rgba(255,255,255,.2); }
.glr-lb-prev { left: 14px; }
.glr-lb-next { right: 14px; }

.glr-lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,.45);
    font-weight: 600;
    letter-spacing: .06em;
}

/* ══════════════════════════════════════════════
   view.skin - 썸네일 스트립
══════════════════════════════════════════════ */

.glr-thumb-strip {
    display: flex;
    gap: 6px;
    padding: 8px 10px 4px;
    overflow-x: auto;
    background: rgba(160,160,160,0.06);
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.12) transparent;
    flex-shrink: 0;
}

.glr-thumb-btn {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: rgba(0,0,0,.07);
    cursor: pointer;
    padding: 0;
    transition: border-color .15s, transform .15s;
}
.glr-thumb-btn:hover { transform: scale(1.06); }
.glr-thumb-btn.active { border-color: var(--primary-color, #9ca3af); }
.glr-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.glr-sl-counter {
    font-size: 12px;
    color: var(--text-muted, #bbb);
    font-weight: 600;
    min-width: 44px;
    text-align: center;
}

.glr-zoom-hint {
    text-align: center;
    padding: 5px;
    font-size: 11px;
    color: var(--text-muted, #bbb);
    opacity: .65;
}

/* ══════════════════════════════════════════════
   글쓰기 - 다중 이미지 업로드
══════════════════════════════════════════════ */

.glr-img-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1.5px dashed rgba(160,160,160,0.4);
    background: #f9fafb;
    color: var(--primary-color, #9ca3af);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.glr-img-add-btn:hover {
    border-color: var(--primary-color, #9ca3af);
    background: #f5f5f5;
}

.glr-img-hint {
    font-size: 11px;
    color: var(--text-muted, #bbb);
    margin: 4px 0 0;
}

.glr-img-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.glr-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(160,160,160,0.25);
}
.glr-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.glr-preview-del {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 기존 이미지 (수정 모드) */
.glr-existing-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.glr-existing-img {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(160,160,160,0.35);
    transition: opacity .2s;
}
.glr-existing-img img { width: 100%; height: 100%; object-fit: cover; }

.glr-existing-del {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glr-existing-img.glr-del-marked {
    opacity: .3;
    filter: grayscale(1);
}
.glr-existing-img.glr-del-marked .glr-existing-del {
    background: rgba(100,100,100,.7);
}

/* ══════════════════════════════════════════════
   글쓰기 - 이미지 업로드 UI
══════════════════════════════════════════════ */

.glr-lbl-hint {
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    color: var(--text-muted, #bbb);
    letter-spacing: 0;
    margin-left: 4px;
}

.glr-img-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1.5px dashed rgba(160,160,160,0.4);
    background: #f9fafb;
    color: var(--primary-color, #9ca3af);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    margin-top: 6px;
}
.glr-img-add-btn:hover {
    border-color: var(--primary-color, #9ca3af);
    background: #f5f5f5;
}

.glr-img-hint {
    font-size: 11px;
    color: var(--text-muted, #bbb);
    margin: 5px 0 0;
}

.glr-img-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* 기존 이미지 그리드 */
.glr-existing-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.glr-existing-img,
.glr-preview-item {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(160,160,160,0.25);
    background: rgba(0,0,0,.05);
    transition: border-color .15s;
}

.glr-existing-img img,
.glr-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 썸네일로 지정된 상태 */
.glr-existing-img.is-thumb,
.glr-preview-item.is-thumb {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245,158,11,.3);
}

/* 삭제 표시 */
.glr-existing-img.glr-del-marked {
    opacity: .3;
    filter: grayscale(1);
}

/* 썸네일 지정 버튼 */
.glr-thumb-pick {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: rgba(255,255,255,.6);
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}
.glr-thumb-pick:hover,
.is-thumb .glr-thumb-pick {
    background: #f59e0b;
    color: #fff;
}

/* 삭제 버튼 */
.glr-existing-del,
.glr-preview-del {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.glr-existing-del:hover,
.glr-preview-del:hover { background: rgba(100,100,100,.7); }

/* ══════════════════════════════════════════════
   모달 테마 - 라이트 / 다크
══════════════════════════════════════════════ */

/* 다크 (기본) */
.glr-modal-box.glr-modal-dark {
    background: rgba(18,18,28,.95);
    border-color: rgba(255,255,255,.1);
}
.glr-modal-box.glr-modal-dark .glr-modal-img-area { background: #07070f; }
.glr-modal-box.glr-modal-dark .glr-modal-thumbs   { background: rgba(0,0,0,.35); }
.glr-modal-box.glr-modal-dark .glr-modal-info      { background: rgba(12,12,20,.88); border-left-color: rgba(255,255,255,.07); }
.glr-modal-box.glr-modal-dark .glr-mi-sec          { color: #fff; }
.glr-modal-box.glr-modal-dark .glr-mi-row          { color: rgba(255,255,255,.65); border-bottom-color: rgba(255,255,255,.06); }
.glr-modal-box.glr-modal-dark .glr-mi-memo         { color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.glr-modal-box.glr-modal-dark .glr-mi-btn          { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); }
.glr-modal-box.glr-modal-dark .glr-mi-btn:hover    { background: rgba(255,255,255,.13); color: #fff; }
.glr-modal-box.glr-modal-dark .glr-modal-close     { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.18); }
.glr-modal-box.glr-modal-dark .glr-modal-nav       { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.18); }

/* 라이트 */
.glr-modal-box.glr-modal-light {
    background: rgba(255,255,255,.98);
    border-color: rgba(0,0,0,.1);
}
.glr-modal-box.glr-modal-light .glr-modal-img-area { background: #f5f5f8; }
.glr-modal-box.glr-modal-light .glr-modal-thumbs   { background: rgba(0,0,0,.06); }
.glr-modal-box.glr-modal-light .glr-modal-nav      { background: rgba(255,255,255,.8); border-color: rgba(0,0,0,.15); color: #333; }
.glr-modal-box.glr-modal-light .glr-modal-nav:hover{ background: rgba(255,255,255,1); }
.glr-modal-box.glr-modal-light .glr-modal-close    { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); color: #333; }
.glr-modal-box.glr-modal-light .glr-modal-close:hover { background: rgba(0,0,0,.15); }
.glr-modal-box.glr-modal-light .glr-modal-info     { background: rgba(248,248,252,.98); border-left-color: rgba(0,0,0,.08); }
.glr-modal-box.glr-modal-light .glr-mi-sec         { color: #222; }
.glr-modal-box.glr-modal-light .glr-mi-row         { color: #444; border-bottom-color: rgba(0,0,0,.07); }
.glr-modal-box.glr-modal-light .glr-mi-row a       { color: var(--primary-color, #9ca3af); }
.glr-modal-box.glr-modal-light .glr-mi-memo        { color: #666; background: rgba(0,0,0,.04); }
.glr-modal-box.glr-modal-light .glr-mi-btn         { border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.04); color: #444; }
.glr-modal-box.glr-modal-light .glr-mi-btn:hover   { background: rgba(0,0,0,.08); color: #222; }
.glr-modal-box.glr-modal-light .glr-modal-thumb    { background: rgba(0,0,0,.06); }

.glr-mi-btn-del {
    border-color: rgba(100,100,100,.3);
    color: #6b7280;
}
.glr-mi-btn-del:hover {
    background: rgba(100,100,100,.12);
    color: #6b7280;
}

/* ══════════════════════════════════════════════
   검색/정렬 패널
══════════════════════════════════════════════ */

.glr-bar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.glr-search-panel {
    width: 100%;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    animation: glrFadeIn .15s ease;
}

@keyframes glrFadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

.glr-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 320px;
}

.glr-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1.5px solid rgba(160,160,160,0.3);
    background: rgba(255,255,255,0.6);
    color: var(--text-muted, #aaa);
    font-size: 12px;
}

.glr-search-input-wrap i { flex-shrink: 0; }

.glr-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--content-font-color, #333);
    font-family: inherit;
}
.glr-search-input::placeholder { color: var(--text-muted, #bbb); }

.glr-search-clear {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted, #bbb); font-size: 12px; padding: 0; line-height: 1;
    transition: color .15s;
}
.glr-search-clear:hover { color: var(--content-font-color, #555); }

.glr-sort-select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1.5px solid rgba(160,160,160,0.3);
    background: rgba(255,255,255,0.6);
    color: var(--content-font-color, #333);
    font-size: 12px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}

.glr-icon-btn.active {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
}

/* 태그 필터 칩 */
.glr-tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    max-width: 320px;
}

.glr-tag-chip {
    padding: 3px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(160,160,160,0.25);
    background: transparent;
    color: var(--content-font-color, #666);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.glr-tag-chip:hover { border-color: var(--primary-color, #9ca3af); color: var(--primary-color, #9ca3af); }
.glr-tag-chip.active {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
}

/* 결과 없음 */
.glr-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted, #bbb);
}
.glr-no-results i { display: block; font-size: 36px; margin-bottom: 10px; opacity: .4; }

/* ══════════════════════════════════════════════
   카드 - 즐겨찾기 버튼 + 태그
══════════════════════════════════════════════ */

.glr-like-btn {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: none;
    color: rgba(255,255,255,.4);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
    opacity: 0;
}
.glr-card:hover .glr-like-btn { opacity: 1; }
.glr-like-btn.is-liked { opacity: 1; color: #6b7280; }
.glr-like-btn:hover { transform: scale(1.2); color: #6b7280; }

.glr-ov-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.glr-ov-tag {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════
   모달 - 즐겨찾기 + 태그
══════════════════════════════════════════════ */

.glr-mi-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.glr-mi-like {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.4);
    font-size: 12px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.glr-mi-like:hover { color: #6b7280; border-color: rgba(100,100,100,.4); }
.glr-mi-like.is-liked { color: #6b7280; background: rgba(100,100,100,.12); border-color: rgba(100,100,100,.4); }

/* 라이트 테마에서 */
.glr-modal-light .glr-mi-like { border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.04); color: rgba(0,0,0,.3); }
.glr-modal-light .glr-mi-like.is-liked { color: #6b7280; background: rgba(100,100,100,.1); }

.glr-mi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.glr-mi-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(160,160,160,0.18);
    color: var(--primary-color, #9ca3af);
    border: 1px solid rgba(160,160,160,0.3);
}

/* ══════════════════════════════════════════════
   글쓰기 - 드래그앤드롭 이미지 업로드
══════════════════════════════════════════════ */

.glr-drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 2px dashed rgba(160,160,160,0.35);
    border-radius: 12px;
    background: #f9fafb;
    color: var(--text-muted, #bbb);
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: 10px;
}
.glr-drop-zone i { font-size: 24px; color: rgba(160,160,160,0.6); }
.glr-drop-zone:hover,
.glr-drop-zone.drag-over {
    border-color: var(--primary-color, #9ca3af);
    background: #f9fafb;
    color: var(--primary-color, #9ca3af);
}

/* 이미지 그리드 (드래그 순서 변경) */
.glr-img-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.glr-img-item {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(160,160,160,0.25);
    background: rgba(0,0,0,.05);
    cursor: grab;
    transition: border-color .15s, transform .15s;
}
.glr-img-item:active { cursor: grabbing; }
.glr-img-item-ghost { opacity: .35; }
.glr-img-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.glr-img-item.is-thumb { border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,.3); }
.glr-img-item.glr-del-marked { opacity: .3; filter: grayscale(1); }

.glr-img-order {
    position: absolute;
    bottom: 3px;
    left: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.5);
    border-radius: 4px;
    padding: 1px 5px;
    line-height: 1.4;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   글쓰기 - 태그 입력
══════════════════════════════════════════════ */

.glr-tag-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    min-height: 42px;
    cursor: text;
}
.glr-tag-input-wrap:focus-within {
    border-color: var(--primary-color, #9ca3af);
    box-shadow: 0 0 0 3px rgba(160,160,160,0.15);
}

.glr-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 10px;
    border-radius: 999px;
    background: rgba(160,160,160,0.15);
    color: var(--primary-color, #9ca3af);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.glr-tag-badge button {
    background: none; border: none; cursor: pointer;
    color: var(--primary-color, #9ca3af); font-size: 10px; padding: 0; line-height: 1;
    display: flex; align-items: center;
    transition: opacity .15s;
}
.glr-tag-badge button:hover { opacity: .6; }

#glrTagInput {
    border: none; outline: none; background: transparent;
    font-size: 13px; color: var(--content-font-color, #333);
    font-family: inherit; min-width: 120px; flex: 1;
}
#glrTagInput::placeholder { color: var(--text-muted, #bbb); }

.glr-tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}
.glr-tag-suggest-btn {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1.5px dashed rgba(160,160,160,0.3);
    background: transparent;
    color: var(--text-muted, #aaa);
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.glr-tag-suggest-btn:hover {
    border-color: var(--primary-color, #9ca3af);
    color: var(--primary-color, #9ca3af);
}

/* 라이트박스 */
.glr-mi-btn-del { border-color: rgba(100,100,100,.3); color: #6b7280; }
.glr-mi-btn-del:hover { background: rgba(100,100,100,.12); color: #6b7280; }

/* 모달 라이트/다크 테마 */
.glr-modal-box.glr-modal-dark { background: rgba(18,18,28,.95); border-color: rgba(255,255,255,.1); }
.glr-modal-box.glr-modal-dark .glr-modal-img-area { background: #07070f; }
.glr-modal-box.glr-modal-dark .glr-modal-thumbs   { background: rgba(0,0,0,.35); }
.glr-modal-box.glr-modal-dark .glr-modal-info      { background: rgba(12,12,20,.88); border-left-color: rgba(255,255,255,.07); }
.glr-modal-box.glr-modal-dark .glr-mi-sec          { color: #fff; }
.glr-modal-box.glr-modal-dark .glr-mi-row          { color: rgba(255,255,255,.65); border-bottom-color: rgba(255,255,255,.06); }
.glr-modal-box.glr-modal-dark .glr-mi-memo         { color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.glr-modal-box.glr-modal-dark .glr-mi-btn          { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); }
.glr-modal-box.glr-modal-dark .glr-mi-btn:hover    { background: rgba(255,255,255,.13); color: #fff; }
.glr-modal-box.glr-modal-dark .glr-modal-close     { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.18); }
.glr-modal-box.glr-modal-dark .glr-modal-nav       { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.18); }
.glr-modal-box.glr-modal-light { background: rgba(255,255,255,.98); border-color: rgba(0,0,0,.1); }
.glr-modal-box.glr-modal-light .glr-modal-img-area { background: #f5f5f8; }
.glr-modal-box.glr-modal-light .glr-modal-thumbs   { background: rgba(0,0,0,.06); }
.glr-modal-box.glr-modal-light .glr-modal-nav      { background: rgba(255,255,255,.8); border-color: rgba(0,0,0,.15); color: #333; }
.glr-modal-box.glr-modal-light .glr-modal-nav:hover{ background: #fff; }
.glr-modal-box.glr-modal-light .glr-modal-close    { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); color: #333; }
.glr-modal-box.glr-modal-light .glr-modal-close:hover { background: rgba(0,0,0,.15); }
.glr-modal-box.glr-modal-light .glr-modal-info     { background: rgba(248,248,252,.98); border-left-color: rgba(0,0,0,.08); }
.glr-modal-box.glr-modal-light .glr-mi-sec         { color: #222; }
.glr-modal-box.glr-modal-light .glr-mi-row         { color: #444; border-bottom-color: rgba(0,0,0,.07); }
.glr-modal-box.glr-modal-light .glr-mi-row a       { color: var(--primary-color, #9ca3af); }
.glr-modal-box.glr-modal-light .glr-mi-memo        { color: #666; background: rgba(0,0,0,.04); }
.glr-modal-box.glr-modal-light .glr-mi-btn         { border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.04); color: #444; }
.glr-modal-box.glr-modal-light .glr-mi-btn:hover   { background: rgba(0,0,0,.08); color: #222; }
.glr-modal-box.glr-modal-light .glr-modal-thumb    { background: rgba(0,0,0,.06); }

/* 즐겨찾기 필터 칩 */
.glr-chip-like i { font-size: 10px; }
.glr-chip-like.active {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff;
    box-shadow: 0 3px 12px rgba(100,100,100,.4);
}

/* ══════════════════════════════════════════════
   글쓰기 - 대표 이미지 크라운 배지
══════════════════════════════════════════════ */

.glr-thumb-crown {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 11px;
    color: #f59e0b;
    display: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
    pointer-events: none;
}

.glr-img-item.is-thumb .glr-thumb-crown { display: block; }
.glr-img-item { cursor: pointer; }
.glr-img-item:hover { border-color: var(--primary-color, #9ca3af); }

/* 크롭 상태 표시 */
#glrCropStatus {
    align-items: center;
    gap: 8px;
}

/* ══════════════════════════════════════════════
   모달 - 작품 이전/다음 버튼
══════════════════════════════════════════════ */

.glr-modal-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(min(880px, 95vw) + 120px);
}

.glr-work-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-shrink: 0;
}
.glr-work-nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.08); }
.glr-work-prev { left: 0; }
.glr-work-next { right: 0; }

@media (max-width: 800px) {
    .glr-modal-wrap { max-width: 100%; padding: 0 50px; }
    .glr-work-prev { left: 4px; }
    .glr-work-next { right: 4px; }
}

/* 커미션 타입 - 카드 오버레이 */
.glr-ov-comm-type {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 커미션 타입 - 모달 정보 패널 */
.glr-mi-comm-type {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.glr-modal-light .glr-mi-comm-type { color: #111; }

/* ══════════════════════════════════════════════
   날짜별 보기
══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   날짜별 보기 (애플 갤러리 스타일)
══════════════════════════════════════════════ */

#glrDateView { padding: 0; }

.glr-date-year-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 0 0;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}
.glr-date-year-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    font-size: 18px;
    font-weight: 800;
    color: var(--content-font-color, #222);
    background: #fff;
    letter-spacing: -.01em;
    line-height: 1;
    padding: 8px 14px;
    border-radius: 3px;
    gap: 8px;
}
.glr-date-year-label .glr-date-year-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.glr-date-year-count {
    font-size: 11px;
    font-weight: 400;
    color: rgba(0,0,0,.4);
}
.glr-date-year-chevron {
    font-size: 11px;
    color: rgba(0,0,0,.35);
    transition: transform .2s;
}
.glr-date-year-hd.is-collapsed .glr-date-year-chevron {
    transform: rotate(-90deg);
}

.glr-date-month-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0 8px;
    margin-bottom: 2px;
    cursor: pointer;
    user-select: none;
}
.glr-date-month-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--content-font-color, #444);
    white-space: nowrap;
}
.glr-date-month-count {
    font-size: 11px;
    color: var(--text-muted, #bbb);
    white-space: nowrap;
}
.glr-date-month-hd::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #fff;
    opacity: .5;
    border-radius: 1px;
}
.glr-date-month-hd .glr-date-month-chevron {
    font-size: 10px;
    color: var(--text-muted, #bbb);
    transition: transform .2s;
    margin-left: auto;
    flex-shrink: 0;
}
.glr-date-month-hd.is-collapsed .glr-date-month-chevron {
    transform: rotate(-90deg);
}

/* 접기 애니메이션 */
.glr-date-year-body {
    overflow: hidden;
    transition: max-height .3s cubic-bezier(.4,0,.2,1), opacity .2s;
    max-height: 9999px;
    opacity: 1;
    padding-left: 16px;
}
.glr-date-year-hd.is-collapsed + .glr-date-year-body {
    max-height: 0;
    opacity: 0;
}
.glr-date-month-body {
    overflow: hidden;
    transition: max-height .25s cubic-bezier(.4,0,.2,1), opacity .2s;
    max-height: 9999px;
    opacity: 1;
}
.glr-date-month-hd.is-collapsed + .glr-date-month-body {
    max-height: 0;
    opacity: 0;
}
/* ══════════════════════════════════════════
   카테고리 필터 칩 (list)
══════════════════════════════════════════ */
.glr-cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 4px;
}
.glr-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.18);
    background: transparent;
    color: var(--text-muted, #aaa);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    font-family: inherit;
}
.glr-cat-chip:hover {
    border-color: var(--primary-color, #9ca3af);
    color: var(--primary-color, #9ca3af);
}
.glr-cat-chip.active {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
    font-weight: 700;
}

/* ══════════════════════════════════════════
   카테고리 선택 (write)
══════════════════════════════════════════ */
.glr-cat-select-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.glr-cat-label {
    cursor: pointer;
}
.glr-cat-label input[type="radio"] {
    display: none;
}
.glr-cat-btn {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.18);
    background: transparent;
    color: var(--text-muted, #aaa);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    user-select: none;
}
.glr-cat-label input[type="radio"]:checked + .glr-cat-btn {
    background: var(--primary-color, #9ca3af);
    border-color: var(--primary-color, #9ca3af);
    color: #fff;
    font-weight: 700;
}
.glr-cat-btn-none {
    border-style: dashed;
}
.glr-cat-label input[type="radio"]:checked + .glr-cat-btn-none {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.3);
    color: #ccc;
}

/* ══════════════════════════════════════════
   URL 이미지 추가 행 (write 폼)
══════════════════════════════════════════ */
.glr-url-add-row {
    margin-top: 12px;
    background: rgba(255,255,255,.04);
    border: 1.5px dashed rgba(160,160,160,.3);
    border-radius: 12px;
    padding: 12px 14px;
}
.glr-url-add-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.glr-url-add-icon {
    color: var(--primary-color, #9ca3af);
    font-size: 14px;
    flex-shrink: 0;
}
.glr-url-add-input {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 7px 12px;
    color: var(--text-color, #e2e8f0);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.glr-url-add-input:focus {
    border-color: var(--primary-color, #9ca3af);
}
.glr-url-add-input::placeholder {
    color: rgba(255,255,255,.3);
    font-size: 12px;
}
.glr-url-add-chip-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    background: var(--primary-color, #9ca3af);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .15s;
}
.glr-url-add-chip-btn:hover { opacity: .85; }
.glr-url-add-hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: rgba(255,255,255,.35);
}
.glr-url-badge {
    position: absolute;
    bottom: 28px;
    left: 6px;
    background: rgba(120,120,120,.85);
    color: #fff;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 10px;
    pointer-events: none;
}
.glr-img-item-url { border: 2px dashed rgba(160,160,160,.5); }
.glr-img-error { opacity: .4; }

/* ══════════════════════════════════════════
   URL 이미지 추가 패널 (list - FAB)
══════════════════════════════════════════ */
.glr-url-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color, #9ca3af);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .2s;
}
.glr-url-fab:hover { opacity: .9; transform: scale(1.08); }
.glr-url-fab.is-open { background: #64748b; transform: rotate(45deg); }

.glr-url-add-panel {
    position: fixed;
    right: 16px;
    bottom: 88px;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: 80vh;
    z-index: 901;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
    background: var(--card-bg, #1e1e2e);
    border: 1px solid rgba(255,255,255,.1);
}
.glr-url-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    gap: 12px;
    overflow-y: auto;
}
.glr-url-panel-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted, #aaa);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
}
.glr-url-panel-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.glr-url-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #e2e8f0);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.glr-url-panel-desc {
    font-size: 12px;
    color: var(--text-muted, #aaa);
    margin: 0;
}

/* 드롭존 (패널) */
.glr-url-dropzone {
    border: 2px dashed rgba(160,160,160,.35);
    border-radius: 12px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    background: rgba(255,255,255,.03);
}
.glr-url-dropzone:hover, .glr-url-dropzone.drag-over {
    border-color: var(--primary-color, #9ca3af);
    background: rgba(160,160,160,.08);
}
.glr-url-drop-icon { font-size: 24px; color: var(--primary-color, #9ca3af); }
.glr-url-drop-text { font-size: 13px; color: var(--text-color, #e2e8f0); font-weight: 600; }
.glr-url-drop-sub  { font-size: 11px; color: var(--text-muted, #aaa); }

/* 구분선 */
.glr-url-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.25);
    font-size: 11px;
}
.glr-url-divider::before, .glr-url-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
}

/* URL 입력 행 (패널) */
.glr-url-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.glr-url-input {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-color, #e2e8f0);
    font-size: 12px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.glr-url-input:focus { border-color: var(--primary-color, #9ca3af); }
.glr-url-input::placeholder { color: rgba(255,255,255,.3); font-size: 11px; }
.glr-url-add-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background: var(--primary-color, #9ca3af);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}
.glr-url-add-btn:hover { opacity: .85; }

/* 미리보기 목록 */
.glr-url-preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}
.glr-url-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.08);
}
.glr-url-preview-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.glr-url-preview-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.glr-url-preview-label {
    font-size: 11px;
    color: var(--text-muted, #aaa);
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.glr-url-type-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 999px;
    font-weight: 700;
}
.glr-url-type-file { background: rgba(120,120,120,.25); color: #c0c0c0; }
.glr-url-type-url  { background: rgba(160,160,160,.25); color: #d1d5db; }
.glr-url-btn-row {
    display: flex;
    gap: 4px;
}
.glr-url-copy-btn, .glr-url-remove-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    color: var(--text-muted, #aaa);
    padding: 3px 7px;
    font-size: 11px;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.glr-url-copy-btn:hover  { background: rgba(120,120,120,.2);  color: #c0c0c0; }
.glr-url-remove-btn:hover { background: rgba(100,100,100,.2); color: #9ca3af; }

.glr-url-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 10px;
    gap: 8px;
}
.glr-url-foot-hint {
    font-size: 11px;
    color: rgba(255,255,255,.3);
}
.glr-url-go-write {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color, #9ca3af);
    text-decoration: none;
    white-space: nowrap;
}
.glr-url-go-write:hover { text-decoration: underline; }

/* 모바일 */
@media (max-width: 480px) {
    .glr-url-add-panel { right: 8px; bottom: 80px; width: calc(100vw - 16px); }
    .glr-url-fab { right: 16px; bottom: 16px; }
}

/* ── custommenu jquery-ui-scoped.css 충돌 방지 ──────────────────────────────
 * jquery-ui-scoped.css 의 .ui-icon { width:16px; height:16px; display:... }
 * 규칙이 #cm_wrapper 스코프 없이 전역 선언되어 .glr-icon-btn <i> 태그의
 * FA6 아이콘 렌더를 방해합니다. 아래 규칙으로 강제 복원합니다.
 * ─────────────────────────────────────────────────────────────────────────*/
.glr-icon-btn i,
.glr-icon-btn i::before,
.glr-chip i,
.glr-chip i::before,
.glr-section-toggle i,
.glr-section-toggle i::before,
.glr-like-btn i,
.glr-like-btn i::before,
.glr-thumb-crown i,
.glr-thumb-crown i::before {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    position: static !important;
    vertical-align: middle !important;
    background-image: none !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", FontAwesome !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    line-height: 1 !important;
}

/* ── 갤러리 카드 드래그 앤 드랍 (관리자 전용) ─────────────────────────────── */
.glr-card { cursor: grab; }
.glr-card:active { cursor: grabbing; }

/* jQuery UI sortable placeholder */
.glr-card-ghost {
    visibility: visible !important;
    border: 2px dashed var(--primary-color, #a78bfa) !important;
    border-radius: var(--radius-card, 12px);
    background: rgba(167,139,250,.08) !important;
    box-shadow: none !important;
}
.glr-card-ghost * { opacity: 0; }

/* 드래그 중인 카드 */
.ui-sortable-helper {
    opacity: 0.92;
    transform: scale(1.04) rotate(1deg);
    box-shadow: 0 16px 48px rgba(0,0,0,.5) !important;
    z-index: 9999 !important;
    cursor: grabbing !important;
}

/* ── 페이지 네비게이션 (v18 페이징 스타일 이식) ── */
.glr-pagination { margin: 40px 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.glr-page-info { font-size: 13px; color: #888; margin-bottom: 12px; }
.glr-page-nav { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* 화살표 버튼 */
.glr-page-arrow { background: #fff; border: 1px solid #eaeaea; color: #999; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.02); padding: 0; }
.glr-page-arrow:hover:not(:disabled) { border-color: #ccc; color: #333; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.glr-page-arrow:disabled { opacity: 0.3; cursor: default; }

/* 숫자 버튼 그룹 */
.glr-page-btns { display: flex; gap: 6px; }
.glr-page-btn { background: #fff; border: 1px solid #eaeaea; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 500; color: #666; cursor: pointer; transition: all 0.2s; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.02); display: inline-flex; align-items: center; justify-content: center; }
.glr-page-btn:hover:not(.is-current) { border-color: #ccc; color: #111; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }

/* 현재 페이지 버튼 (포인트 컬러) */
.glr-page-btn.is-current { background: #111; border-color: #111; color: #fff; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transform: translateY(-1px); }

/* 로딩 스피너 */
.glr-pbtn-spin { color: inherit; font-size: 14px; }
