/* 💬 PC 박스 채팅 (chat.js · 서버 145) — 이름은 gc… 로 시작 · 왼쪽 글 목록 + 입력칸 · 오른쪽 규칙 · 신고 목록 */
.gcw { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start }
@media (max-width: 980px) { .gcw { grid-template-columns: 1fr } }
.gcp { position: relative; gap: 10px }
.gclist { height: clamp(380px, calc(100vh - 380px), 760px); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px 10px 2px; scrollbar-width: thin; border-radius: 12px }
.gclist:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px }
.gcempty { text-align: center; padding: 60px 0 }
.gcday { text-align: center; margin: 14px 0 4px } .gcday span { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--raise); color: var(--muted); font-size: 12.5px; font-weight: 700 }
.gcm { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px }
.gcm.cont { margin-top: 3px }
.gcm.me { flex-direction: row-reverse }
.gcm.gcin { animation: gcwin .35s cubic-bezier(.2,.8,.2,1) both } @keyframes gcwin { from { opacity: 0; transform: translateY(10px) } }
.gcm .rav { width: 34px; height: 34px; font-size: 14px }
.gcav0 { width: 34px; flex: none }
.gccol { display: flex; flex-direction: column; gap: 3px; max-width: min(72%, 640px); min-width: 0 }
.gcm.me .gccol { align-items: flex-end }
.gcnm { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted) }
.gcrole { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: rgba(127,209,174,.14); color: var(--good) }
.gcrow { display: flex; align-items: flex-end; gap: 6px } .gcm.me .gcrow { flex-direction: row-reverse }
.gcrow time { flex: none; font-size: 11.5px; color: var(--dim); white-space: nowrap; padding-bottom: 2px }
.gcbb { min-height: 40px; padding: 9px 14px; border: 1px solid transparent; border-radius: 4px 16px 16px 16px; background: var(--raise); color: var(--fg); font: 400 15px/1.55 var(--body); text-align: left; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; cursor: pointer; user-select: text; transition: border-color .2s }
.gcbb:hover { border-color: var(--line2) }
.gcm.me .gcbb { border-radius: 16px 4px 16px 16px; background: #2A2A26; border-color: rgba(242,193,78,.3) }
.gcnew { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); box-shadow: 0 8px 22px rgba(0,0,0,.45) }
.gcerr { margin: 0; color: var(--coral); font-size: 14px; font-weight: 600 } .gcerr:empty { display: none }
.gcform { display: flex; flex-direction: column; gap: 8px }
.gcform textarea { width: 100%; min-height: 64px; max-height: 200px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); font: 400 15.5px/1.5 var(--body) }
.gcform textarea:focus { outline: none; border-color: rgba(242,193,78,.6); box-shadow: 0 0 0 3px rgba(242,193,78,.12) }
.gcfr { display: flex; align-items: center; justify-content: space-between; gap: 10px } .gcfr small { color: var(--dim); font-size: 12.5px } .gcfr .btn { min-width: 140px }
.gcagree { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; background: var(--raise) } .gcagree p { margin: 0; color: var(--muted); font-size: 14.5px } .gcagree b { color: var(--fg) }
.gcside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px }
.gcrule { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; line-height: 1.55 } .gcrule b { color: var(--fg) }
.gcrp { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line2); border-radius: 12px } .gcrp small { color: var(--dim); font-size: 12.5px }
.gcra { display: flex; gap: 6px } .gcra .btn { flex: 1 }
.gcq { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--raise); font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto }
.gcacts { display: grid; gap: 6px } .gcacts .btn { justify-content: flex-start; min-height: 48px }
.gcwhy { flex-direction: column } .gcwhy button { text-align: left }
.gcalso { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px } .gcalso input { width: 20px; height: 20px; accent-color: var(--coral) }
@media (prefers-reduced-motion: reduce) { .gcm.gcin { animation: none } }
/* 📷 사진 (148 · 24시간 뒤 사라져요) */
.gcph { display: block; width: 260px; max-width: 100%; max-height: 340px; padding: 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--raise); color: var(--muted); cursor: zoom-in; animation: gcwin .35s ease both }
.gcph img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover }
.gcph span { display: grid; place-items: center; min-height: 160px; font-size: 13.5px }
.gcph.wait { cursor: default }
.gcm.me .gcph { border-color: rgba(242,193,78,.3) }
.gcphleft { font-size: 12px; color: var(--dim); white-space: nowrap }
.gcphgone { min-height: 44px; padding: 10px 14px; border: 1px dashed var(--line2); border-radius: 14px; background: var(--raise); color: var(--muted); font: 400 14px/1.4 var(--body); text-align: left; cursor: pointer }
.gcfb { display: flex; gap: 8px } .gcfb .btn:first-child { min-width: 0 }
.gcpvd .adc { max-width: min(92vw, 980px) }
.gcpvw { display: grid; place-items: center } .gcpvw img { max-width: 100%; max-height: 70vh; border-radius: 10px; object-fit: contain }
@media (prefers-reduced-motion: reduce) { .gcph { animation: none } }
