.ect-widget{max-width:900px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.ect-header{text-align:center;margin-bottom:2rem}
.ect-title{color:#111827;font-size:2rem;line-height:1.2;margin:0 0 .5rem;font-weight:800}
.ect-subtitle{color:#6b7280;font-size:1rem;margin:0 auto;max-width:640px}

.ect-card{background:#fff;border-radius:16px;box-shadow:0 10px 25px rgba(0,0,0,.08);padding:1.5rem;margin-bottom:1.5rem}

.ect-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1rem}
.ect-field{}
.ect-field-full{grid-column:1/-1}
.ect-label{display:block;font-weight:600;color:#374151;margin-bottom:.5rem}
.ect-input{width:100%;padding:.75rem;border:2px solid #d1d5db;border-radius:8px;font-size:1rem;transition:border-color .2s}
.ect-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}

.ect-theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}
.ect-theme-btn{padding:.5rem;border:2px solid #d1d5db;border-radius:8px;background:#f9fafb;font-weight:700;color:#374151;cursor:pointer}
.ect-theme-btn.ect-active{border-color:#3b82f6;background:#eff6ff}

.ect-share{margin-top:1rem}
.ect-share-row{display:flex;gap:.5rem}
.ect-button{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:.6rem .9rem;font-weight:700;cursor:pointer}
.ect-button:hover{background:#1d4ed8}

.ect-live{border-radius:16px;overflow:hidden}
.ect-live-card{border-radius:16px;padding:2rem;box-shadow:0 10px 25px rgba(0,0,0,.08);background:#f8fafc}
.ect-live-title{text-align:center;font-weight:800;color:#111827;font-size:1.75rem;margin-bottom:1rem}
.ect-count-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;text-align:center;max-width:960px;margin:0 auto}
.ect-count-value{font-size:3rem;font-weight:800;color:#1d4ed8}
.ect-count-label{text-transform:uppercase;letter-spacing:.08em;color:#475569;font-weight:600}
.ect-target{text-align:center;margin-top:1rem;color:#475569}
.ect-fullscreen{text-align:center;margin-top:1.25rem}

/* Themes (background for live area when going fullscreen styling applied in JS) */
.ect-theme-clean{background:linear-gradient(135deg,#f9fafb,#eff6ff)}
.ect-theme-celebration{background:linear-gradient(135deg,#fdf2f8,#fff7ed)}
.ect-theme-corporate{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}

@media (max-width:768px){
  .ect-grid{grid-template-columns:1fr}
  .ect-widget{padding:0 1rem}
  .ect-count-grid{grid-template-columns:repeat(2,1fr)}
  .ect-count-value{font-size:2.5rem}
}
