:root{font-family:system-ui,Arial,sans-serif;color-scheme:dark;background:#101820;color:#e9f0f5}body{margin:0}header{background:#1b2935;padding:14px max(20px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;align-items:center}.brand{font-size:1.1rem;font-weight:700;color:#e9f0f5;text-decoration:none}main{max-width:1100px;margin:30px auto;padding:0 20px}h1{font-size:1.6rem}a{color:inherit}nav{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.pill{padding:9px 14px;border-radius:30px;background:#263846;text-decoration:none}.pill.active{background:#19756d}.cards,.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.card,.shot{background:#1b2935;border-radius:12px;overflow:hidden;text-decoration:none}.card img,.shot img,.shot video{width:100%;height:220px;object-fit:cover;display:block}.shot img,.shot video{height:auto;min-height:200px;object-fit:contain}.info{padding:12px;display:grid;gap:7px}small{color:#a9b9c6}.shot small{display:block;padding:10px}.placeholder{height:220px;display:grid;place-items:center;font-size:42px}button{border:0;border-radius:7px;padding:10px 18px;background:#187f73;color:white;font-weight:600;cursor:pointer}.secondary{background:#344857}.danger{background:#8c303a;margin-top:24px}.login{max-width:340px;margin:15vh auto}.login form{display:grid;gap:12px}input{padding:12px;background:#1b2935;color:white;border:1px solid #455866;border-radius:6px}.error{color:#f39a9a}
.head-actions{display:flex;gap:18px;align-items:center}.head-actions a{color:#d4f1ed}.card .ack-btn{margin:0 12px 12px}.is-read{opacity:.75}.settings{max-width:670px;display:grid;gap:18px}.settings fieldset{border:1px solid #435764;border-radius:12px;padding:18px;display:grid;gap:12px}.settings legend{font-weight:700}.settings label{display:flex;flex-direction:column;gap:7px}.settings label:has(input[type=checkbox]){flex-direction:row;align-items:center}.settings input[type=checkbox]{width:18px;height:18px}.settings input[type=number]{max-width:210px}.hint{font-size:.9rem;color:#a9b9c6}dialog{background:#1b2935;color:#e9f0f5;border:1px solid #4d6472;border-radius:16px;max-width:min(760px,94vw);width:100%;max-height:90vh;padding:18px;box-sizing:border-box}dialog::backdrop{background:rgba(0,0,0,.78)}.popup-bar,.popup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.popup-actions{margin:14px 0 0}#popup-content img,#popup-content video{display:block;width:100%;max-height:65vh;object-fit:contain;background:#000;border-radius:8px}

/* Custom branding */
.brand{display:inline-flex;align-items:center;gap:9px}.em-brand-logo{width:30px;height:30px;object-fit:contain;vertical-align:middle;flex-shrink:0}
.login .em-login-brand{display:flex;align-items:center;justify-content:center;gap:14px;flex-direction:column;text-align:center;font-size:1.9rem}.login .em-login-brand .em-brand-logo{width:min(220px,65vw);height:150px;object-fit:contain}
@media(max-width:650px){.brand .em-brand-logo{height:26px;width:26px}}
