*{box-sizing:border-box}body{margin:0;background:#111116;color:#f8f8fa;font:16px Arial,sans-serif}body.light{background:#fff;color:#17171c}header{height:62px;position:sticky;top:0;background:inherit;border-bottom:1px solid #7774;display:flex;align-items:center;justify-content:space-between;padding:0 14px;z-index:2}button,select,input{font:inherit}#brand{font-size:22px;font-weight:900;letter-spacing:.5px;background:none;color:inherit;border:0}header select,header button:not(#brand),#search{background:#292932;color:inherit;border:1px solid #7775;border-radius:9px;padding:9px}body.light header select,body.light header button:not(#brand),body.light #search{background:#f1f1f5;color:#17171c}main{max-width:720px;margin:auto;padding:12px}#search{width:100%;padding:13px;margin-bottom:12px}#cats{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;white-space:nowrap;scrollbar-width:thin}.cat{border:0;border-radius:20px;padding:9px 15px;background:#292932;color:inherit;flex:0 0 auto}.cat.active{background:#fff;color:#111;font-weight:bold}body.light .cat{background:#eee;color:#222}body.light .cat.active{background:#222;color:#fff}#feed{display:flex;flex-direction:column;gap:17px}.photo{border:1px solid #7775;border-radius:12px;overflow:hidden}.photo>a{display:block;line-height:0}.photo img{width:100%;height:auto;max-height:850px;object-fit:contain}.meta{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;color:#aaa;font-size:14px}.meta button{background:none;border:0;color:inherit;padding:5px}.meta .liked{color:#ff4168}.admin{display:flex;gap:8px;padding:0 12px 12px}.admin button,.primary{border:0;border-radius:8px;padding:10px 14px;background:#ff315d;color:#fff;font-weight:bold}.empty{text-align:center;padding:35px;color:#aaa}dialog{border:0;border-radius:15px;padding:0;width:min(430px,calc(100% - 24px));background:#17171e;color:#fff}dialog::backdrop{background:#000a}dialog form{padding:24px;display:flex;flex-direction:column;gap:12px;position:relative}dialog h2{margin:0}dialog label{display:flex;flex-direction:column;gap:6px;font-size:14px}dialog input,dialog select{padding:11px;border:1px solid #7778;border-radius:8px;background:#292932;color:white}.x{position:absolute;right:12px;top:12px;border:0;border-radius:50%;width:30px;height:30px;font-size:20px}.primary{width:100%}dialog p{font-size:13px;color:#ff9bb0;min-height:16px}