* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #0f172a; color: #f8fafc; }
header { padding: 20px; text-align: center; }
h1 { margin: 0 0 16px; font-size: 2.2rem; }
form { display: flex; gap: 12px; max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
input[type=text], input[type=email], input[type=search], select { font-size: 1.6rem; padding: 16px; border-radius: 14px; border: 3px solid #38bdf8; flex: 1; min-width: 200px; }
button { font-size: 1.5rem; padding: 16px 24px; border: none; border-radius: 14px; background: #38bdf8; color: #0f172a; font-weight: 700; cursor: pointer; }
button:hover { background: #7dd3fc; }
button.secondary { background: #334155; color: #f8fafc; }
button.danger { background: #ef4444; color: white; }
button.mic.listening { background: #f43f5e; color: white; }
#message { text-align: center; font-size: 1.5rem; padding: 12px; min-height: 2rem; }
#people { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0 20px 20px; }
#people button { font-size: 1.3rem; background: #1e293b; color: #f8fafc; border: 2px solid #475569; }
#views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; }
.panel { background: #1e293b; border-radius: 18px; padding: 16px; text-align: center; }
.panel h2 { margin: 0 0 12px; font-size: 1.8rem; }
.panel .imgbox { height: 320px; display: flex; align-items: center; justify-content: center; background: #0b1220; border-radius: 12px; overflow: hidden; }
.panel img { max-width: 100%; max-height: 100%; object-fit: contain; }
.panel .none { font-size: 1.3rem; color: #94a3b8; }
.panel button { margin-top: 12px; font-size: 1.2rem; }
.panel small { display: block; margin-top: 8px; color: #94a3b8; }
.panel small a { color: #7dd3fc; }
@media (max-width: 900px) { #views { grid-template-columns: 1fr; } .panel .imgbox { height: 260px; } }

/* admin */
.wrap { max-width: 900px; margin: 0 auto; padding: 20px; }
.card { background: #1e293b; border-radius: 16px; padding: 18px; margin-bottom: 20px; }
.card h2 { margin-top: 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.row input, .row select { font-size: 1.1rem; padding: 10px; border-width: 2px; min-width: 120px; }
.row button { font-size: 1rem; padding: 10px 16px; }
.person { border-top: 1px solid #334155; padding: 12px 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.thumb { position: relative; width: 110px; text-align: center; font-size: .8rem; }
.thumb img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; }
.thumb button { font-size: .8rem; padding: 4px 8px; margin-top: 4px; }
a { color: #7dd3fc; }
.err { color: #fca5a5; }
