.gcp-panel { width: 100%; margin: 16px 0; padding: 16px; border: 1px solid rgba(139,92,246,.2); border-radius: 18px; background: rgba(139,92,246,.06); }
.gcp-panel h3 { margin: 0 0 4px; text-align: left; }
.gcp-sub, .gcp-empty { margin: 0; color: rgba(0,0,0,.5); font-size: .82rem; font-weight: 700; }
.gcp-list { display: grid; gap: 7px; margin-top: 10px; }
.gcp-lobby-chip { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.75); }
.gcp-lobby-chip > span { display: grid; min-width: 0; flex: 1; }
.gcp-lobby-chip strong, .gcp-lobby-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcp-lobby-chip small { color: rgba(0,0,0,.48); font-weight: 700; }
.gcp-lobby-chip > button { width: 30px; height: 30px; border: 0; border-radius: 9px; color: #fff; background: #ef4444; font-size: 1.1rem; cursor: pointer; }
.gcp-actions { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.gcp-actions button, .gcp-actions a { flex: 1; min-width: 150px; padding: 10px 12px; border: 0; border-radius: 11px; color: #fff; background: #8b5cf6; font: inherit; font-size: .82rem; font-weight: 900; text-align: center; text-decoration: none; cursor: pointer; }
.gcp-actions a { background: #334155; }
.gcp-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; }
.gcp-modal[hidden] { display: none; }
.gcp-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); backdrop-filter: blur(5px); }
.gcp-dialog { position: relative; display: flex; flex-direction: column; width: min(920px, 100%); max-height: min(860px, 94vh); overflow: hidden; border: 1px solid rgba(0,0,0,.12); border-radius: 22px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.gcp-head { display: flex; gap: 16px; align-items: start; padding: 18px 20px 12px; }
.gcp-head h3 { margin: 0; font-family: 'Lilita One', sans-serif; font-size: 1.5rem; }
.gcp-head p { margin: 4px 0 0; color: rgba(0,0,0,.5); font-size: .82rem; font-weight: 700; }
.gcp-close { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 11px; font-size: 1.5rem; cursor: pointer; }
.gcp-controls { display: grid; grid-template-columns: minmax(150px,1fr) auto auto auto; gap: 8px; padding: 0 20px 12px; }
.gcp-controls input[type="text"], .gcp-controls select { min-width: 0; padding: 10px; border: 1px solid rgba(0,0,0,.14); border-radius: 10px; font: inherit; font-size: .82rem; }
.gcp-mine { display: flex; align-items: center; gap: 5px; padding: 0 8px; font-size: .78rem; font-weight: 800; }
.gcp-selected { margin: 0 20px 10px; padding: 10px; border-radius: 12px; background: rgba(34,197,94,.1); }
.gcp-selected[hidden] { display: none; }
.gcp-selected-head { display: flex; justify-content: space-between; font-size: .76rem; }
.gcp-selected-list { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.gcp-selected-chip { padding: 5px 8px; border: 0; border-radius: 999px; color: #166534; background: rgba(34,197,94,.17); font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.gcp-results-bar { display: flex; justify-content: space-between; padding: 0 20px 8px; color: rgba(0,0,0,.5); font-size: .76rem; font-weight: 800; }
.gcp-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; min-height: 120px; overflow: auto; padding: 0 20px 12px; }
.gcp-card { min-width: 0; padding: 12px; border: 1px solid rgba(0,0,0,.1); border-radius: 14px; background: #fafafa; }
.gcp-card-head { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 9px; align-items: center; }
.gcp-card-head > div { display: grid; min-width: 0; }
.gcp-card-head strong, .gcp-card-head small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcp-card-head small { color: rgba(0,0,0,.5); font-size: .68rem; font-weight: 700; }
.gcp-card-icon { font-size: 1.7rem; text-align: center; }
.gcp-add { padding: 7px 11px; border: 0; border-radius: 9px; color: #fff; background: #22c55e; font: inherit; font-size: .74rem; font-weight: 900; cursor: pointer; }
.gcp-add.is-remove { background: #ef4444; }
.gcp-peek { margin-top: 8px; padding: 2px 0; border: 0; color: #7c3aed; background: none; font: inherit; font-size: .72rem; font-weight: 900; cursor: pointer; }
.gcp-preview { margin-top: 7px; padding: 8px; border-radius: 9px; background: rgba(139,92,246,.07); font-size: .72rem; }
.gcp-preview p { margin: 0 0 5px; font-weight: 900; }
.gcp-preview ul { margin: 0; padding-inline-start: 18px; }
.gcp-status { grid-column: 1 / -1; align-self: center; padding: 28px; color: rgba(0,0,0,.5); font-size: .86rem; font-weight: 800; text-align: center; }
.gcp-status a { color: #7c3aed; }
.gcp-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 20px 16px; border-top: 1px solid rgba(0,0,0,.08); }
.gcp-pagination button { padding: 7px 12px; border: 0; border-radius: 9px; font: inherit; font-size: .76rem; font-weight: 900; cursor: pointer; }
.gcp-pagination span { min-width: 110px; font-size: .76rem; font-weight: 800; text-align: center; }
body.gcp-modal-open { overflow: hidden; }
html[data-theme="dark"] .gcp-panel { background: rgba(139,92,246,.1); }
html[data-theme="dark"] .gcp-sub, html[data-theme="dark"] .gcp-empty, html[data-theme="dark"] .gcp-head p, html[data-theme="dark"] .gcp-results-bar, html[data-theme="dark"] .gcp-status { color: rgba(255,255,255,.55); }
html[data-theme="dark"] .gcp-lobby-chip, html[data-theme="dark"] .gcp-dialog, html[data-theme="dark"] .gcp-card { color: #f8fafc; background: #1e293b; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .gcp-lobby-chip small, html[data-theme="dark"] .gcp-card-head small { color: rgba(255,255,255,.5); }
html[data-theme="dark"] .gcp-controls input, html[data-theme="dark"] .gcp-controls select { color: #f8fafc; background: #0f172a; border-color: rgba(255,255,255,.15); }
@media (max-width: 700px) { .gcp-controls { grid-template-columns: 1fr 1fr; } .gcp-controls > input[type="text"] { grid-column: 1 / -1; } .gcp-results { grid-template-columns: 1fr; } }
