#ccanz-app{border:1px solid #e5e7eb;border-radius:16px;padding:16px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.04);max-width:980px;margin:16px auto;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
#ccanz-app .ccanz-head h3{margin:0 0 6px;font-size:20px}
#ccanz-app .ccanz-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}
#ccanz-app .ccanz-file{display:inline-flex;align-items:center;gap:8px;border:1px dashed #cbd5e1;padding:10px 12px;border-radius:10px;cursor:pointer}
#ccanz-app .ccanz-file input{display:none}
#ccanz-app .ccanz-select{display:flex;flex-direction:column;gap:6px}
#ccanz-app .ccanz-check{display:flex;align-items:center;gap:8px}
#ccanz-app .ccanz-quick{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e5e7eb;padding:6px 10px;border-radius:10px}
#ccanz-app .ccanz-quick input{width:64px;padding:6px;border:1px solid #e5e7eb;border-radius:8px}

#ccanz-app .ccanz-status{margin:8px 0 12px;color:#0f766e;background:#ecfeff;border:1px solid #a5f3fc;padding:8px 10px;border-radius:8px;font-size:14px}
#ccanz-app .ccanz-boardwrap{display:grid;grid-template-columns: 1fr 1fr;gap:16px;align-items:start}
#ccanz-app .ccanz-boardstack{position:relative;width:100%;max-width:520px}
#ccanz-board{width:100%;border-radius:12px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
#ccanz-overlay{position:absolute;left:0;top:0;border-radius:12px}

#ccanz-app .ccanz-fen{display:flex;flex-direction:column;gap:8px}
#ccanz-app .ccanz-fen input{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:10px}
#ccanz-app .ccanz-fen-actions{display:flex;gap:8px;flex-wrap:wrap}
#ccanz-app .ccanz-share{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}

#ccanz-app .ccanz-results{margin-top:10px}
#ccanz-app .ccanz-cols{display:grid;grid-template-columns: 1fr 1fr;gap:16px}
#ccanz-app ol{margin:6px 0 0 18px}
#ccanz-app .ccanz-expl{margin-top:10px;padding:10px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:10px}
#ccanz-app .ccanz-expl h5{margin:0 0 6px}

@media (max-width: 780px){
  #ccanz-app .ccanz-boardwrap{grid-template-columns:1fr}
  #ccanz-app .ccanz-cols{grid-template-columns:1fr}
}