.gp-card { padding: 28px; }
.gp-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.gp-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.gp-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.gp-tab-btn { flex: 1; background: #f7f8fa; border: 1px solid #eee; border-radius: 8px; padding: 10px; font-weight: 700; font-size: .9em; color: #6b7280; cursor: pointer; }
.gp-tab-btn.gp-active { background: var(--site-dark); color: #fff; border-color: var(--site-dark); }

.gp-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.gp-controls { display: flex; flex-direction: column; gap: 14px; }
.gp-control { display: flex; flex-direction: column; gap: 4px; }
.gp-control label { font-size: .82em; font-weight: 600; color: #374151; display: flex; justify-content: space-between; }
.gp-control label span { color: var(--site-dark); font-weight: 700; }
.gp-control input[type="range"] { width: 100%; accent-color: var(--site-dark); }
.gp-control input[type="color"] { width: 100%; height: 36px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; padding: 2px; }
.gp-checkbox { display: flex; align-items: center; gap: 8px; font-size: .85em; font-weight: 600; color: #374151; cursor: pointer; user-select: none; }
.gp-checkbox input { accent-color: var(--site-dark); width: 16px; height: 16px; cursor: pointer; }

.gp-preview-wrap { display: flex; align-items: center; justify-content: center; border-radius: 12px; min-height: 320px; padding: 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #f093fb 100%); }
.gp-preview-box { width: 220px; height: 140px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #23272f; font-weight: 700; }

.gp-output { margin-top: 20px; background: #f7f8fa; border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; }
.gp-output-label { display: flex; align-items: center; justify-content: space-between; font-size: .85em; font-weight: 700; color: #374151; margin-bottom: 8px; }
.gp-css-block { font-family: "Courier New", monospace; font-size: .88em; background: #fff; border: 1px solid #e0ece6; border-radius: 8px; padding: 14px 16px; white-space: pre; overflow-x: auto; }

.gp-copy-btn { background: none; border: 1px solid var(--site-light); border-radius: 20px; padding: 5px 14px; font-size: .8em; font-weight: 600; color: var(--site-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.gp-copy-btn:hover { background: #f0fdfa; }
.gp-copy-btn.gp-copied { background: var(--site-success-bg); border-color: #86efac; color: var(--site-success); }

.hide { display: none !important; }

@media (max-width: 800px) {
    .gp-layout { grid-template-columns: 1fr; }
}
