@charset "utf-8";

.gb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 2rem; }
.gb-note { border-radius: 10px; padding: 14px 16px; position: relative; min-height: 140px; display: flex; flex-direction: column; }
.gb-note.tilt-1 { transform: rotate(-1.5deg); }
.gb-note.tilt-2 { transform: rotate(1deg); }
.gb-note.tilt-3 { transform: rotate(-0.5deg); }
.gb-note.tilt-4 { transform: rotate(1.5deg); }
.gb-note.tilt-5 { transform: rotate(-1deg); }

.gb-top-row { display: flex; align-items: center; justify-content: space-between; }
.gb-name { font-size: 12px; font-weight: 500; color: #444; }
.gb-date { font-size: 10px; color: #888; margin-bottom: 8px; }
.gb-msg { font-size: 13px; line-height: 1.6; color: #333; flex: 1; white-space: pre-wrap; word-break: break-word; }
.gb-reply { margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(0,0,0,.15); font-size: 11px; color: #666; line-height: 1.5; }
.gb-reply-label { font-weight: 500; color: #555; margin-right: 4px; }
.gb-lock { font-size: 12px; color: #999; }
.gb-ip { font-size: 9px; color: #aaa; margin-top: 6px; }
.gb-note-actions { display: flex; gap: 6px; margin-top: 8px; }
.gb-note-actions button, .gb-note-actions a { font-size: 10px; color: #999; background: none; border: none; cursor: pointer; padding: 0; text-decoration: none; }
.gb-note-actions button:hover, .gb-note-actions a:hover { color: #666; }

.empty-state { text-align: center; padding: 3rem 0; color: #bbb; font-size: 14px; }
.empty-state a { color: #999; display: inline-block; margin-top: .5rem; font-size: 13px; }

.gb-pagination { display: flex; justify-content: center; gap: 6px; margin: 1rem 0 2rem; }
.gb-pagination a, .gb-pagination span { font-size: 12px; padding: 4px 10px; border-radius: var(--radius, 6px); color: #888; text-decoration: none; }
.gb-pagination .on { background: #222; color: #fff; }

.gb-form { border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #fff; }
.gb-form-hd { padding: .85rem 1.1rem; border-bottom: 1px solid #f0f0f0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gb-form-hd input[type=text] { width: 110px; padding: 7px 10px; border: 1px solid #eee; border-radius: var(--radius, 6px); font-size: 13px; outline: none; }
.gb-color-row { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.gb-color-label { font-size: 11px; color: #bbb; margin-right: 2px; }
.gb-color-dot { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 1.5px solid transparent; }
.gb-color-dot.on { border-color: #333; }
.gb-form-body { padding: 1rem 1.1rem; }
.gb-form-body textarea { width: 100%; min-height: 90px; resize: vertical; margin-bottom: 10px; border: 1px solid #eee; border-radius: var(--radius, 6px); padding: 8px 10px; font-size: 13px; line-height: 1.6; font-family: inherit; outline: none; }
.gb-tilt-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; }
.gb-tilt-row input[type=checkbox] { width: 14px; height: 14px; }
.gb-form-ft { padding: .7rem 1.1rem; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.gb-pw { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #bbb; }
.gb-pw input { width: 120px; padding: 6px 10px; border: 1px solid #eee; border-radius: var(--radius, 6px); font-size: 12px; outline: none; }
.gb-submit-btn { padding: 7px 18px; border-radius: 999px; background: #222; color: #fff; border: none; font-size: 13px; cursor: pointer; }

/* 답글 작성 폼 (관리자) */
.gb-reply-form { margin-top: 8px; display: flex; gap: 6px; }
.gb-reply-form input { flex: 1; padding: 6px 8px; border: 1px solid #eee; border-radius: var(--radius, 6px); font-size: 11px; outline: none; }
.gb-reply-form button { font-size: 11px; padding: 6px 10px; border-radius: var(--radius, 6px); border: 1px solid #ddd; background: #fff; cursor: pointer; }

/* 비밀글 인증 */
.pw-box { max-width: 320px; margin: 0 auto 1.5rem; padding: 24px; background: #fff; border: 1px solid #eee; border-radius: 12px; text-align: center; }
.pw-box p { font-size: 13px; color: #999; margin: 0 0 14px; }

/* 공지 */
.gb-notice { background: #f8f8f8; border: 1px solid #eee; border-radius: 8px; padding: 12px 16px; font-size: 12px; line-height: 1.6; color: #777; margin-bottom: 1.25rem; }
