.app-shell { max-width:1180px;margin:auto;padding:24px; }
.app-header,.app-row { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
.app-header { justify-content:space-between;margin-bottom:22px; }
.app-header img { width:52px;height:auto; }
.app-header h1 { margin:0;font-size:32px; }
.app-shell a { color:var(--gold-light); }
.app-shell button,.app-shell input,.app-shell select,.app-shell textarea,.app-auth input { font:inherit; }
.app-shell button,.app-shell input,.app-shell select,.app-shell textarea { border:1px solid var(--line);border-radius:5px;padding:10px 12px;background:#ffffff07;color:var(--ink); }
.app-shell button { cursor:pointer; }
.app-shell button:disabled { opacity:.5;cursor:wait; }
.app-shell button.primary,.app-auth button[type=submit] { background:var(--gold);color:#16130f; }
.app-label { display:grid;gap:7px;font-size:12px;color:var(--muted); }
.app-label input { min-width:0;width:100%;box-sizing:border-box; }
.app-form { display:grid;gap:14px;max-width:520px; }
.app-panel { padding:18px;border:1px solid var(--line);border-radius:8px;margin-bottom:16px;background:#ffffff03; }
.app-panel h2 { font-size:25px;margin:0 0 16px; }
.app-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px; }
.app-card { border:1px solid var(--line);border-radius:7px;padding:16px;display:grid;gap:10px; }
.app-card h2 { font-size:25px;margin:0; }
.app-status,.app-error { font:12px/1.6 Manrope,sans-serif;color:var(--gold-light);overflow-wrap:anywhere; }
.app-status:empty { display:none; }
.app-auth { display:grid;gap:12px;width:min(360px,100%);margin:auto; }
.app-auth input { padding:13px 15px;background:#0c0c0b9c;border:1px solid var(--line);border-radius:4px;color:var(--ink); }
.app-auth button[type=submit] { padding:13px;border:0;border-radius:4px;cursor:pointer; }
.app-auth h2 { font-size:28px;margin:0 0 4px; }
.app-auth .app-label { text-align:left; }
.app-uploads { max-height:300px;overflow:auto;font-size:12px; }
.app-upload { display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line); }
.app-upload span { overflow-wrap:anywhere; }
.app-shell progress { width:100%;accent-color:var(--gold); }
.app-album-content { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
body[data-theme=light] .app-shell input,body[data-theme=light] .app-shell button { color:#24221d; }
.app-shell [hidden],.app-auth [hidden] { display:none; }
@media(max-width:700px) { .app-shell { padding:15px; }.app-album-content { grid-template-columns:1fr; }.app-header h1 { font-size:27px; } }

.app-admin-photos { max-height:520px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));margin-top:14px; }
.app-admin-photos img { width:100%;height:110px;object-fit:cover; }
.app-admin-photos .app-card { padding:9px;gap:6px;font-size:11px; }

